/kernel/linux/linux-5.10/lib/ |
H A D | iov_iter.c | 24 __v.iov_base = __p->iov_base + skip; \ 37 __v.iov_base = __p->iov_base; \ 51 __v.iov_base = __p->iov_base + skip; \ 61 __v.iov_base = __p->iov_base; \ 182 buf = iov->iov_base + skip; in copy_page_to_iter_iovec() 198 buf = iov->iov_base; in copy_page_to_iter_iovec() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | xdr.c | 185 char *buf = (char *)head->iov_base; in xdr_inline_pages() 194 tail->iov_base = buf + offset; in xdr_inline_pages() 279 (char *)tail->iov_base, in _shift_data_left_tail() 284 memmove((char *)tail->iov_base, in _shift_data_left_tail() 285 tail->iov_base + len, in _shift_data_left_tail() 377 char *p = (char *)tail->iov_base + len; in _shift_data_right_tail() 378 memmove(p, tail->iov_base, tail->iov_len - free_space); in _shift_data_right_tail() 384 _copy_from_pages((char *)tail->iov_base, in _shift_data_right_tail() 539 memmove((char *)tail->iov_base + len, in xdr_shrink_bufhead() 540 tail->iov_base, cop in xdr_shrink_bufhead() [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smb2transport.c | 221 struct smb2_sync_hdr *shdr = (struct smb2_sync_hdr *)iov[0].iov_base; in smb2_calc_signature() 274 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature() 338 label.iov_base, label.iov_len); in generate_key() 352 context.iov_base, context.iov_len); in generate_key() 483 d->label.iov_base = "SMB2AESCMAC"; in generate_smb30signingkey() 485 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 489 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 491 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() 495 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 497 d->context.iov_base in generate_smb30signingkey() [all...] |
H A D | smb2pdu.c | 754 struct smb2_create_req *req = iov[0].iov_base; in add_posix_context() 757 iov[num].iov_base = create_posix_buf(mode); in add_posix_context() 760 if (iov[num].iov_base == NULL) in add_posix_context() 865 iov[0].iov_base = (char *)req; in SMB2_negotiate() 875 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base; in SMB2_negotiate() 1235 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer() 1250 free_rsp_buf(sess_data->buf0_type, sess_data->iov[0].iov_base); in SMB2_sess_free_buffer() 1259 struct smb2_sess_setup_req *req = sess_data->iov[0].iov_base; in SMB2_sess_sendreceive() 1277 cifs_small_buf_release(sess_data->iov[0].iov_base); in SMB2_sess_sendreceive() 1366 sess_data->iov[1].iov_base in SMB2_auth_kerberos() [all...] |
H A D | sess.c | 874 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer() 883 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer() 884 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer() 893 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer() 903 free_rsp_buf(sess_data->buf0_type, sess_data->iov[0].iov_base); in sess_free_buffer() 905 kfree(sess_data->iov[2].iov_base); in sess_free_buffer() 944 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive() 956 cifs_small_buf_release(sess_data->iov[0].iov_base); in sess_sendreceive() 987 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_lanman() 988 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_lanman() [all...] |
H A D | transport.c | 366 .iov_base = &rfc1002_marker, in __smb_send_rqst() 386 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst() 489 iov.iov_base = tr_hdr; in smb_send_rqst() 514 iov[0].iov_base = smb_buffer; in smb_send() 516 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send() 747 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_async_request() 751 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_setup_async_request() 869 iov[0].iov_base = in_buf; in SendReceiveNoRsp() 938 iov[0].iov_base in cifs_check_receive() [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smb2transport.c | 236 struct smb2_hdr *shdr = (struct smb2_hdr *)iov[0].iov_base; in smb2_calc_signature() 285 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature() 349 rc = crypto_shash_update(server->secmech.hmacsha256, label.iov_base, label.iov_len); in generate_key() 361 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len); in generate_key() 509 d->label.iov_base = "SMB2AESCMAC"; in generate_smb30signingkey() 511 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 515 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 517 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() 521 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 523 d->context.iov_base in generate_smb30signingkey() [all...] |
H A D | smb2pdu.c | 992 iov[num].iov_base = create_posix_buf(mode); in add_posix_context() 995 if (iov[num].iov_base == NULL) in add_posix_context() 1099 iov[0].iov_base = (char *)req; in SMB2_negotiate() 1109 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base; in SMB2_negotiate() 1490 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer() 1508 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in SMB2_sess_free_buffer() 1509 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in SMB2_sess_free_buffer() 1511 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in SMB2_sess_free_buffer() 1520 struct smb2_sess_setup_req *req = sess_data->iov[0].iov_base; in SMB2_sess_sendreceive() 1538 cifs_small_buf_release(sess_data->iov[0].iov_base); in SMB2_sess_sendreceive() [all...] |
H A D | sess.c | 1362 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer() 1371 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer() 1372 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer() 1381 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer() 1396 if (sess_data->buf0_type != CIFS_NO_BUFFER && iov[0].iov_base) in sess_free_buffer() 1397 memzero_explicit(iov[0].iov_base, iov[0].iov_len); in sess_free_buffer() 1399 free_rsp_buf(sess_data->buf0_type, iov[0].iov_base); in sess_free_buffer() 1401 kfree_sensitive(iov[2].iov_base); in sess_free_buffer() 1436 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive() 1448 cifs_small_buf_release(sess_data->iov[0].iov_base); in sess_sendreceive() [all...] |
H A D | smb2inode.c | 417 rsp_iov[1].iov_base; in smb2_compound_op() 443 rsp_iov[1].iov_base; in smb2_compound_op() 454 char *base = (char *)rsp_iov[1].iov_base + in smb2_compound_op() 536 free_rsp_buf(resp_buftype[0], rsp_iov[0].iov_base); in smb2_compound_op() 537 free_rsp_buf(resp_buftype[1], rsp_iov[1].iov_base); in smb2_compound_op() 538 free_rsp_buf(resp_buftype[2], rsp_iov[2].iov_base); in smb2_compound_op() 548 struct smb2_create_rsp *rsp = iov->iov_base; in parse_create_response() 612 hdr = out_iov[0].iov_base; in smb2_query_path_info() 652 free_rsp_buf(out_buftype[0], out_iov[0].iov_base); in smb2_query_path_info() 653 free_rsp_buf(out_buftype[1], out_iov[1].iov_base); in smb2_query_path_info() [all...] |
/kernel/linux/linux-5.10/net/ceph/ |
H A D | buffer.c | 20 b->vec.iov_base = ceph_kvmalloc(len, gfp); in ceph_buffer_new() 21 if (!b->vec.iov_base) { in ceph_buffer_new() 39 kvfree(b->vec.iov_base); in ceph_buffer_release() 55 ceph_decode_copy(p, (*b)->vec.iov_base, len); in ceph_decode_buffer()
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | buffer.c | 20 b->vec.iov_base = kvmalloc(len, gfp); in ceph_buffer_new() 21 if (!b->vec.iov_base) { in ceph_buffer_new() 39 kvfree(b->vec.iov_base); in ceph_buffer_release() 55 ceph_decode_copy(p, (*b)->vec.iov_base, len); in ceph_decode_buffer()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 109 iov.iov_base = regs; in ptrace_read_regs() 129 iov.iov_base = regs; in ptrace_write_regs() 151 iov.iov_base = (u64 *) reg; in show_tar_registers() 198 iov.iov_base = (u64 *) reg; in write_tar_registers() 241 iov.iov_base = (u64 *) reg; in show_tm_checkpointed_state() 289 iov.iov_base = (u64 *) reg; in write_ckpt_tar_registers() 370 iov.iov_base = regs; in show_ckpt_fpr() 394 iov.iov_base = regs; in write_ckpt_fpr() 480 iov.iov_base = (u64 *) regs; in show_ckpt_gpr() 508 iov.iov_base in write_ckpt_gpr() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 113 iov.iov_base = regs; in ptrace_read_regs() 133 iov.iov_base = regs; in ptrace_write_regs() 155 iov.iov_base = (u64 *) reg; in show_tar_registers() 202 iov.iov_base = (u64 *) reg; in write_tar_registers() 245 iov.iov_base = (u64 *) reg; in show_tm_checkpointed_state() 293 iov.iov_base = (u64 *) reg; in write_ckpt_tar_registers() 374 iov.iov_base = regs; in show_ckpt_fpr() 398 iov.iov_base = regs; in write_ckpt_fpr() 548 iov.iov_base = (u64 *) regs; in show_ckpt_gpr() 576 iov.iov_base in write_ckpt_gpr() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | xdr.c | 183 bvec_set_virt(bvec++, head->iov_base, head->iov_len); in xdr_buf_to_bvec() 205 bvec_set_virt(bvec, tail->iov_base, tail->iov_len); in xdr_buf_to_bvec() 232 char *buf = (char *)head->iov_base; in xdr_inline_pages() 241 tail->iov_base = buf + offset; in xdr_inline_pages() 481 memset(iov->iov_base + base, 0, len); in xdr_buf_iov_zero() 595 memmove(tail->iov_base + to, tail->iov_base + base, len); in xdr_buf_tail_copy_right() 625 _copy_from_pages(tail->iov_base + tato, buf->pages, in xdr_buf_pages_copy_right() 667 memcpy(tail->iov_base + tato, head->iov_base in xdr_buf_head_copy_right() [all...] |
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | svc.h | 187 vp = iov->iov_base; in svc_getnl() 189 iov->iov_base = (void*)vp; in svc_getnl() 196 __be32 *vp = iov->iov_base + iov->iov_len; in svc_putnl() 204 vp = iov->iov_base; in svc_getu32() 206 iov->iov_base = (void*)vp; in svc_getu32() 213 __be32 *vp = (__be32 *)iov->iov_base; in svc_ungetu32() 214 iov->iov_base = (void *)(vp - 1); in svc_ungetu32() 220 __be32 *vp = iov->iov_base + iov->iov_len; in svc_putu32() 349 return cp >= (char*)vec->iov_base in xdr_argsize_check() 350 && cp <= (char*)vec->iov_base in xdr_argsize_check() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/user_events/ |
H A D | ftrace_test.c | 313 io[0].iov_base = ®.write_index; in TEST_F() 315 io[1].iov_base = &field1; in TEST_F() 317 io[2].iov_base = &field2; in TEST_F() 326 io[0].iov_base = &field2; in TEST_F() 330 io[0].iov_base = ®.write_index; in TEST_F() 367 io[0].iov_base = ®.write_index; in TEST_F() 404 io[0].iov_base = ®.write_index; in TEST_F() 406 io[1].iov_base = anon; in TEST_F() 444 io[0].iov_base = ®.write_index; in TEST_F() 446 io[1].iov_base in TEST_F() [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | ksmbd_work.c | 104 work->iov[++work->iov_idx].iov_base = ib; in __ksmbd_iov_pin() 139 work->iov[work->iov_idx].iov_base = work->response_buf; in __ksmbd_iov_pin_rsp() 140 *(__be32 *)work->iov[0].iov_base = 0; in __ksmbd_iov_pin_rsp() 146 inc_rfc1001_len(work->iov[0].iov_base, len); in __ksmbd_iov_pin_rsp() 150 inc_rfc1001_len(work->iov[0].iov_base, aux_size); in __ksmbd_iov_pin_rsp()
|
H A D | auth.c | 601 iov[i].iov_base, in ksmbd_sign_smb2_pdu() 652 iov[i].iov_base, in ksmbd_sign_smb3_pdu() 715 label.iov_base, in generate_key() 729 context.iov_base, in generate_key() 800 d.label.iov_base = "SMB2AESCMAC"; in ksmbd_gen_smb30_signingkey() 802 d.context.iov_base = "SmbSign"; in ksmbd_gen_smb30_signingkey() 814 d.label.iov_base = "SMBSigningKey"; in ksmbd_gen_smb311_signingkey() 822 d.context.iov_base = preauth_sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey() 824 d.context.iov_base = sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey() 882 d->label.iov_base in ksmbd_gen_smb30_encryptionkey() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
H A D | gss_krb5_wrap.c | 59 p = iov->iov_base + iov->iov_len; in gss_krb5_add_padding() 73 pad = *(u8 *)(buf->head[0].iov_base + len - 1); in gss_krb5_remove_padding() 92 pad = *(u8 *)(buf->tail[0].iov_base + len - 1); in gss_krb5_remove_padding() 186 ptr = buf->head[0].iov_base + offset; in gss_wrap_kerberos_v1() 271 ptr = (u8 *)buf->head[0].iov_base + offset; in gss_unwrap_kerberos_v1() 300 (unsigned char *)buf->head[0].iov_base; in gss_unwrap_kerberos_v1() 342 orig_start = buf->head[0].iov_base + offset; in gss_unwrap_kerberos_v1() 343 data_len = (buf->head[0].iov_base + buf->head[0].iov_len) - data_start; in gss_unwrap_kerberos_v1() 429 ptr = plainhdr = buf->head[0].iov_base + offset; in gss_wrap_kerberos_v2() 479 ptr = buf->head[0].iov_base in gss_unwrap_kerberos_v2() [all...] |
H A D | svcauth_gss.c | 684 o->data = argv->iov_base; in svc_safe_getnetobj() 685 argv->iov_base += l; in svc_safe_getnetobj() 698 p = resv->iov_base + resv->iov_len; in svc_safe_putnetobj() 724 iov.iov_base = rpcstart; in gss_verify_header() 725 iov.iov_len = (u8 *)argv->iov_base - (u8 *)rpcstart; in gss_verify_header() 760 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_null_verf() 785 iov.iov_base = xdr_seq; in gss_write_verf() 788 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_verf() 1182 memcpy(page_address(in_token->pages[0]), argv->iov_base, length); in gss_read_proxy_verf() 1542 __be32 *reject_stat = resv->iov_base in svcauth_gss_accept() [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfscache.c | 123 if (rp->c_type == RC_REPLBUFF && rp->c_replvec.iov_base) { in nfsd_reply_cache_free_locked() 125 kfree(rp->c_replvec.iov_base); in nfsd_reply_cache_free_locked() 298 const unsigned char *p = buf->head[0].iov_base; in nfsd_cache_csum() 520 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update() 538 cachv->iov_base = kmalloc(bufsize, GFP_KERNEL); in nfsd_cache_update() 539 if (!cachv->iov_base) { in nfsd_cache_update() 544 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update() 575 memcpy((char*)vec->iov_base + vec->iov_len, data->iov_base, data->iov_len); in nfsd_cache_append()
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
H A D | vhci_tx.c | 99 iov[iovnum].iov_base = &pdu_header; in vhci_send_cmd_submit() 109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit() 114 iov[iovnum].iov_base = urb->transfer_buffer; in vhci_send_cmd_submit() 133 iov[iovnum].iov_base = iso_buffer; in vhci_send_cmd_submit() 215 iov.iov_base = &pdu_header; in vhci_send_cmd_unlink()
|
/kernel/linux/linux-6.6/drivers/usb/usbip/ |
H A D | vhci_tx.c | 99 iov[iovnum].iov_base = &pdu_header; in vhci_send_cmd_submit() 109 iov[iovnum].iov_base = sg_virt(sg); in vhci_send_cmd_submit() 114 iov[iovnum].iov_base = urb->transfer_buffer; in vhci_send_cmd_submit() 133 iov[iovnum].iov_base = iso_buffer; in vhci_send_cmd_submit() 215 iov.iov_base = &pdu_header; in vhci_send_cmd_unlink()
|
/kernel/liteos_m/components/net/test/ |
H A D | net_socket_test_003.c | 98 iov[0].iov_base = g_buf;
in SampleTcpServer() 100 iov[1].iov_base = g_buf;
in SampleTcpServer() 113 iov[0].iov_base = g_buf;
in SampleTcpServer() 197 iov[0].iov_base = g_buf;
in SampleTcpClient() 199 iov[1].iov_base = g_buf;
in SampleTcpClient() 212 iov[0].iov_base = g_buf;
in SampleTcpClient()
|