/kernel/linux/linux-5.10/fs/cifs/ |
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() 484 d->label.iov_base = "SMB2AESCMAC"; in generate_smb30signingkey() 486 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 490 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 492 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() 496 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 498 d->context.iov_base = "ServerOut"; in generate_smb30signingkey() [all …]
|
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 …]
|
D | smb2pdu.c | 749 struct smb2_create_req *req = iov[0].iov_base; in add_posix_context() 752 iov[num].iov_base = create_posix_buf(mode); in add_posix_context() 755 if (iov[num].iov_base == NULL) in add_posix_context() 860 iov[0].iov_base = (char *)req; in SMB2_negotiate() 870 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base; in SMB2_negotiate() 1230 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer() 1245 free_rsp_buf(sess_data->buf0_type, sess_data->iov[0].iov_base); in SMB2_sess_free_buffer() 1254 struct smb2_sess_setup_req *req = sess_data->iov[0].iov_base; in SMB2_sess_sendreceive() 1272 cifs_small_buf_release(sess_data->iov[0].iov_base); in SMB2_sess_sendreceive() 1361 sess_data->iov[1].iov_base = msg->data + msg->sesskey_len; in SMB2_auth_kerberos() [all …]
|
D | transport.c | 362 .iov_base = &rfc1002_marker, in __smb_send_rqst() 382 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst() 484 iov.iov_base = tr_hdr; in smb_send_rqst() 509 iov[0].iov_base = smb_buffer; in smb_send() 511 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send() 742 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_async_request() 746 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_setup_async_request() 866 iov[0].iov_base = in_buf; in SendReceiveNoRsp() 935 iov[0].iov_base = mid->resp_buf; in cifs_check_receive() 937 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive() [all …]
|
D | cifsencrypt.c | 64 if (iov[i].iov_base == NULL) { in __cifs_calc_signature() 70 iov[i].iov_base, iov[i].iov_len); in __cifs_calc_signature() 148 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_sign_rqst() 151 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_sign_rqst() 197 iov[0].iov_base = cifs_pdu; in cifs_sign_smb() 199 iov[1].iov_base = (char *)cifs_pdu + 4; in cifs_sign_smb() 213 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_verify_signature() 216 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_verify_signature()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
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, copy); in xdr_shrink_bufhead() [all …]
|
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
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 + vec->iov_len; in xdr_argsize_check() [all …]
|
/kernel/linux/linux-5.10/lib/ |
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() 226 buf = iov->iov_base; in copy_page_to_iter_iovec() 266 buf = iov->iov_base + skip; in copy_page_from_iter_iovec() 282 buf = iov->iov_base; in copy_page_from_iter_iovec() 310 buf = iov->iov_base; in copy_page_from_iter_iovec() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
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 = (u64 *) regs; in write_ckpt_gpr() [all …]
|
/kernel/linux/linux-5.10/net/ceph/ |
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-5.10/net/sunrpc/auth_gss/ |
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 + offset; in gss_unwrap_kerberos_v2()
|
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 + resv->iov_len; in svcauth_gss_accept() [all …]
|
/kernel/liteos_m/components/net/test/ |
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()
|
D | net_socket_test_002.c | 96 iov[0].iov_base = g_buf; in UdpTestTask() 98 iov[1].iov_base = g_buf; in UdpTestTask() 110 iov[0].iov_base = g_buf; in UdpTestTask()
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
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()
|
D | stub_tx.c | 217 iov[iovnum].iov_base = &pdu_header; in stub_send_ret_submit() 230 iov[iovnum].iov_base = in stub_send_ret_submit() 253 iov[iovnum].iov_base = sg_virt(sg); in stub_send_ret_submit() 260 iov[iovnum].iov_base = urb->transfer_buffer; in stub_send_ret_submit() 278 iov[iovnum].iov_base = urb->transfer_buffer + in stub_send_ret_submit() 310 iov[iovnum].iov_base = iso_buffer; in stub_send_ret_submit() 387 iov[0].iov_base = &pdu_header; in stub_send_ret_unlink()
|
D | vudc_tx.c | 56 iov[0].iov_base = &pdu_header; in v_send_ret_unlink() 114 iov[iovnum].iov_base = &pdu_header; in v_send_ret_submit() 122 iov[iovnum].iov_base = urb->transfer_buffer; in v_send_ret_submit() 132 iov[iovnum].iov_base = urb->transfer_buffer + in v_send_ret_submit() 160 iov[iovnum].iov_base = iso_buffer; in v_send_ret_submit()
|
/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/ |
D | fileops.c | 19 unsigned int count_pages(unsigned long iov_base, size_t iov_len) in count_pages() argument 21 unsigned long first = (iov_base & PAGE_MASK) >> PAGE_SHIFT; in count_pages() 22 unsigned long last = ((iov_base + iov_len - 1) & PAGE_MASK) >> PAGE_SHIFT; in count_pages() 35 unsigned long iov_base, size_t iov_len) in kpc_dma_transfer() argument 66 acd->page_count = count_pages(iov_base, iov_len); in kpc_dma_transfer() 79 rv = pin_user_pages(iov_base, acd->page_count, FOLL_TOUCH | FOLL_WRITE, acd->user_pages, NULL); in kpc_dma_transfer() 92 …rv = sg_alloc_table_from_pages(&acd->sgt, acd->user_pages, acd->page_count, iov_base & (PAGE_SIZE … in kpc_dma_transfer()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
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/arch/x86/um/os-Linux/ |
D | registers.c | 34 iov.iov_base = fp_regs; in save_fp_registers() 56 iov.iov_base = fp_regs; in restore_fp_registers() 135 iov.iov_base = fp_regs; in arch_init_registers()
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_clc.c | 419 vec.iov_base = &tmp; in smc_clc_wait_msg() 470 vec.iov_base = &dclc; in smc_clc_send_decline() 596 vec[i].iov_base = pclc_base; in smc_clc_send_proposal() 598 vec[i].iov_base = pclc_smcd; in smc_clc_send_proposal() 601 vec[i].iov_base = pclc_prfx; in smc_clc_send_proposal() 604 vec[i].iov_base = ipv6_prfx; in smc_clc_send_proposal() 610 vec[i].iov_base = v2_ext; in smc_clc_send_proposal() 612 vec[i].iov_base = smcd_v2_ext; in smc_clc_send_proposal() 615 vec[i].iov_base = gidchids; in smc_clc_send_proposal() 620 vec[i].iov_base = trl; in smc_clc_send_proposal() [all …]
|
/kernel/liteos_a/syscall/ |
D | net_syscall.c | 414 CHECK_ARRAY_FIELD_ASPACE(message, msg_iov, message->msg_iovlen, iov_base, iov_len, in SysSendMsg() 421 DUP_ARRAY_FIELD_FROM_USER(message, msg_iov, message->msg_iovlen, iov_base, iov_len, in SysSendMsg() 432 FREE_DUP_ARRAY_FIELD(message, msg_iov, message->msg_iovlen, iov_base); in SysSendMsg() 462 CHECK_ARRAY_FIELD_ASPACE(message, msg_iov, message->msg_iovlen, iov_base, iov_len, in SysRecvMsg() 469 DUP_ARRAY_FIELD_FROM_USER_NOCOPY(message, msg_iov, message->msg_iovlen, iov_base, iov_len, in SysRecvMsg() 488 …DUP_ARRAY_FIELD_TO_USER(message, msg_iov, message->msg_iovlen, iov_base, iov_len, ret = -1; goto O… in SysRecvMsg() 490 FREE_DUP_ARRAY_FIELD(message, msg_iov, message->msg_iovlen, iov_base); in SysRecvMsg()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_003.cpp | 120 iov[0].iov_base = gBuf; in SampleTcpServer() 122 iov[1].iov_base = gBuf; in SampleTcpServer() 140 iov[0].iov_base = gBuf; in SampleTcpServer() 235 iov[0].iov_base = gBuf; in SampleTcpClient() 237 iov[1].iov_base = gBuf; in SampleTcpClient() 255 iov[0].iov_base = gBuf; in SampleTcpClient()
|
D | net_socket_test_002.cpp | 101 iov[0].iov_base = g_buf; in UdpTest() 103 iov[1].iov_base = g_buf; in UdpTest() 117 iov[0].iov_base = g_buf; in UdpTest()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | mte.c | 217 void __user *buf = kiov->iov_base; in __access_remote_tags() 276 kiov->iov_len = buf - kiov->iov_base; in __access_remote_tags() 326 if (get_user(kiov.iov_base, &uiov->iov_base) || in mte_ptrace_copy_tags()
|