/linux/include/linux/sunrpc/ |
A D | svc.h | 188 vp = iov->iov_base; in svc_getnl() 190 iov->iov_base = (void*)vp; in svc_getnl() 197 __be32 *vp = iov->iov_base + iov->iov_len; in svc_putnl() 205 vp = iov->iov_base; in svc_getu32() 207 iov->iov_base = (void*)vp; in svc_getu32() 214 __be32 *vp = (__be32 *)iov->iov_base; in svc_ungetu32() 215 iov->iov_base = (void *)(vp - 1); in svc_ungetu32() 221 __be32 *vp = iov->iov_base + iov->iov_len; in svc_putu32() 354 return cp >= (char*)vec->iov_base in xdr_argsize_check() 364 vec->iov_len = cp - (char*)vec->iov_base; in xdr_ressize_check() [all …]
|
/linux/fs/cifs/ |
A D | smb2transport.c | 334 label.iov_base, label.iov_len); in generate_key() 348 context.iov_base, context.iov_len); in generate_key() 480 d->label.iov_base = "SMB2AESCMAC"; in generate_smb30signingkey() 482 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 486 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 488 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() 492 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey() 494 d->context.iov_base = "ServerOut"; in generate_smb30signingkey() 508 d->label.iov_base = "SMBSigningKey"; in generate_smb311signingkey() 514 d->label.iov_base = "SMBC2SCipherKey"; in generate_smb311signingkey() [all …]
|
A D | smb2pdu.c | 807 if (iov[num].iov_base == NULL) in add_posix_context() 915 iov[0].iov_base = (char *)req; in SMB2_negotiate() 1725 iov[0].iov_base = (char *)req; in SMB2_logoff() 1808 iov[0].iov_base = (char *)req; in SMB2_tcon() 1816 iov[1].iov_base = unc_path; in SMB2_tcon() 1932 iov[0].iov_base = (char *)req; in SMB2_tdis() 2641 iov[1].iov_base = utf16_path; in smb311_posix_mkdir() 2779 iov[1].iov_base = path; in SMB2_open_init() 4128 rdata->iov[0].iov_base = buf; in smb2_async_readv() 4238 *buf = rsp_iov.iov_base; in SMB2_read() [all …]
|
A D | sess.c | 953 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer() 962 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer() 974 kfree(sess_data->iov[2].iov_base); in sess_free_buffer() 1049 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_ntlmv2() 1090 (long) sess_data->iov[2].iov_base; in sess_auth_ntlmv2() 1161 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_kerberos() 1215 (long) sess_data->iov[2].iov_base; in sess_auth_kerberos() 1303 bcc_ptr = sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req() 1312 (long) sess_data->iov[2].iov_base; in _sess_auth_rawntlmssp_assemble_req() 1360 sess_data->iov[1].iov_base = ntlmsspblob; in sess_auth_rawntlmssp_negotiate() [all …]
|
A D | transport.c | 353 .iov_base = &rfc1002_marker, in __smb_send_rqst() 477 iov.iov_base = tr_hdr; in smb_send_rqst() 502 iov[0].iov_base = smb_buffer; in smb_send() 779 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_setup_async_request() 899 iov[0].iov_base = in_buf; in SendReceiveNoRsp() 968 iov[0].iov_base = mid->resp_buf; in cifs_check_receive() 993 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_setup_request() 1238 resp_iov[i].iov_base = buf; in compound_send_recv() 1261 .iov_base = resp_iov[0].iov_base, in compound_send_recv() 1317 new_iov[0].iov_base = new_iov[1].iov_base; in SendReceive2() [all …]
|
A D | cifsencrypt.c | 51 if (iov[i].iov_base == NULL) { in __cifs_calc_signature() 57 iov[i].iov_base, iov[i].iov_len); in __cifs_calc_signature() 135 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_sign_rqst() 138 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_sign_rqst() 184 iov[0].iov_base = cifs_pdu; in cifs_sign_smb() 186 iov[1].iov_base = (char *)cifs_pdu + 4; in cifs_sign_smb() 200 struct smb_hdr *cifs_pdu = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_verify_signature() 203 rqst->rq_iov[0].iov_base + 4 != rqst->rq_iov[1].iov_base) in cifs_verify_signature()
|
A D | smb2ops.c | 2616 rqst->rq_iov[i].iov_base, in smb2_set_next_command() 3131 create_rsp = rsp_iov[0].iov_base; in smb2_query_symlink() 3134 ioctl_rsp = rsp_iov[1].iov_base; in smb2_query_symlink() 3160 if (!rc || !err_iov.iov_base) { in smb2_query_symlink() 3165 err_buf = err_iov.iov_base; in smb2_query_symlink() 3312 ioctl_rsp = rsp_iov[1].iov_base; in smb2_query_reparse_tag() 3649 iov[1].iov_base = buf; in smb3_simple_fallocate_write_range() 4701 iov[0].iov_base = buf; in decrypt_raw_data() 4820 rdata->iov[0].iov_base = buf; in handle_read_data() 4822 rdata->iov[1].iov_base = buf; in handle_read_data() [all …]
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
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 = (u64 *) regs; in write_ckpt_gpr() [all …]
|
/linux/net/sunrpc/ |
A D | xdr.c | 192 tail->iov_base = buf + offset; in xdr_inline_pages() 546 memmove(tail->iov_base + to, tail->iov_base + base, len); in xdr_buf_tail_copy_right() 618 memcpy(tail->iov_base + tato, head->iov_base + base, talen); in xdr_buf_head_copy_right() 626 memmove(head->iov_base + to, head->iov_base + base, len); in xdr_buf_head_copy_right() 696 memcpy(head->iov_base + hdto, tail->iov_base + base, hdlen); in xdr_buf_tail_copy_left() 716 memmove(tail->iov_base + base - shift, tail->iov_base + base, len); in xdr_buf_tail_copy_left() 1057 vec[v].iov_base = p; in xdr_reserve_space_vec() 1584 subbuf->head[0].iov_base = buf->head[0].iov_base + base; in xdr_buf_subsegment() 1591 subbuf->head[0].iov_base = buf->head[0].iov_base; in xdr_buf_subsegment() 1610 subbuf->tail[0].iov_base = buf->tail[0].iov_base + base; in xdr_buf_subsegment() [all …]
|
/linux/fs/ksmbd/ |
A D | auth.c | 561 iov[i].iov_base, in ksmbd_sign_smb2_pdu() 612 iov[i].iov_base, in ksmbd_sign_smb3_pdu() 674 label.iov_base, in generate_key() 688 context.iov_base, in generate_key() 758 d.label.iov_base = "SMB2AESCMAC"; in ksmbd_gen_smb30_signingkey() 760 d.context.iov_base = "SmbSign"; in ksmbd_gen_smb30_signingkey() 838 d->label.iov_base = "SMB2AESCCM"; in ksmbd_gen_smb30_encryptionkey() 840 d->context.iov_base = "ServerOut"; in ksmbd_gen_smb30_encryptionkey() 844 d->label.iov_base = "SMB2AESCCM"; in ksmbd_gen_smb30_encryptionkey() 846 d->context.iov_base = "ServerIn "; in ksmbd_gen_smb30_encryptionkey() [all …]
|
/linux/net/ceph/ |
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()
|
A D | mon_client.c | 273 monc->m_auth->front.iov_base, in __open_session() 335 void *p = msg->front.iov_base; in __send_subscribe() 376 msg->front.iov_len = p - msg->front.iov_base; in __send_subscribe() 386 struct ceph_mon_subscribe_ack *h = msg->front.iov_base; in handle_subscribe_ack() 549 p = msg->front.iov_base; in ceph_monc_handle_map() 799 h = req->request->front.iov_base; in ceph_monc_do_statfs() 821 void *p = msg->front.iov_base; in handle_get_version_reply() 879 void *p = req->request->front.iov_base; in __ceph_monc_get_version() 943 void *p = msg->front.iov_base; in handle_command_ack() 996 h = req->request->front.iov_base; in do_mon_command_vargs() [all …]
|
/linux/net/sunrpc/auth_gss/ |
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 + offset; in gss_unwrap_kerberos_v2()
|
A D | svcauth_gss.c | 686 o->data = argv->iov_base; in svc_safe_getnetobj() 687 argv->iov_base += l; in svc_safe_getnetobj() 726 iov.iov_base = rpcstart; in gss_verify_header() 787 iov.iov_base = xdr_seq; in gss_write_verf() 1559 rpcstart = argv->iov_base; in svcauth_gss_accept() 1740 resbuf->tail[0].iov_base = resbuf->head[0].iov_base in svcauth_gss_wrap_resp_integ() 1790 if (resbuf->tail[0].iov_base) { in svcauth_gss_wrap_resp_priv() 1791 if (resbuf->tail[0].iov_base >= in svcauth_gss_wrap_resp_priv() 1794 if (resbuf->tail[0].iov_base < resbuf->head[0].iov_base) in svcauth_gss_wrap_resp_priv() 1800 resbuf->tail[0].iov_base, in svcauth_gss_wrap_resp_priv() [all …]
|
A D | gss_krb5_crypto.c | 532 p = buf->head[0].iov_base + base; in xdr_extend_head() 631 gss_krb5_make_confounder(buf->head[0].iov_base + offset, kctx->gk5e->conflen); in gss_krb5_aes_encrypt() 634 if (buf->tail[0].iov_base != NULL) { in gss_krb5_aes_encrypt() 635 ecptr = buf->tail[0].iov_base + buf->tail[0].iov_len; in gss_krb5_aes_encrypt() 637 buf->tail[0].iov_base = buf->head[0].iov_base in gss_krb5_aes_encrypt() 640 ecptr = buf->tail[0].iov_base; in gss_krb5_aes_encrypt() 644 memcpy(ecptr, buf->head[0].iov_base + offset, GSS_KRB5_TOK_HDR_LEN); in gss_krb5_aes_encrypt() 650 hmac.data = buf->tail[0].iov_base + buf->tail[0].iov_len; in gss_krb5_aes_encrypt()
|
/linux/drivers/usb/usbip/ |
A 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()
|
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()
|
A 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()
|
/linux/fs/nfsd/ |
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() 321 const unsigned char *p = buf->head[0].iov_base; in nfsd_cache_csum() 542 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update() 560 cachv->iov_base = kmalloc(bufsize, GFP_KERNEL); in nfsd_cache_update() 561 if (!cachv->iov_base) { in nfsd_cache_update() 566 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update() 597 memcpy((char*)vec->iov_base + vec->iov_len, data->iov_base, data->iov_len); in nfsd_cache_append()
|
/linux/net/smc/ |
A D | smc_clc.c | 733 vec.iov_base = &tmp; in smc_clc_wait_msg() 794 vec.iov_base = &dclc; in smc_clc_send_decline() 933 vec[i].iov_base = pclc_base; in smc_clc_send_proposal() 935 vec[i].iov_base = pclc_smcd; in smc_clc_send_proposal() 938 vec[i].iov_base = pclc_prfx; in smc_clc_send_proposal() 947 vec[i].iov_base = v2_ext; in smc_clc_send_proposal() 960 vec[i].iov_base = trl; in smc_clc_send_proposal() 1076 vec[i].iov_base = clc_v2; in smc_clc_send_confirm_accept() 1088 vec[i].iov_base = &fce; in smc_clc_send_confirm_accept() 1092 vec[i].iov_base = &gle; in smc_clc_send_confirm_accept() [all …]
|
/linux/arch/x86/um/os-Linux/ |
A 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()
|
/linux/net/rxrpc/ |
A D | output.c | 227 iov[0].iov_base = pkt; in rxrpc_send_ack_packet() 229 iov[1].iov_base = &pkt->ackinfo; in rxrpc_send_ack_packet() 324 iov[0].iov_base = &pkt; in rxrpc_send_abort_packet() 385 iov[0].iov_base = &whdr; in rxrpc_send_data_packet() 387 iov[1].iov_base = skb->head; in rxrpc_send_data_packet() 565 iov[0].iov_base = &whdr; in rxrpc_reject_packets() 567 iov[1].iov_base = &code; in rxrpc_reject_packets() 656 iov[0].iov_base = &whdr; in rxrpc_send_keepalive() 658 iov[1].iov_base = (char *)rxrpc_keepalive_string; in rxrpc_send_keepalive()
|
/linux/arch/um/drivers/ |
A D | vector_kern.c | 310 iov[iov_index].iov_base = skb->data; in prep_msg() 509 (iov->iov_base != NULL)) in destroy_queue() 510 kfree(iov->iov_base); in destroy_queue() 583 if (iov->iov_base == NULL) in create_queue() 589 iov->iov_base = NULL; in create_queue() 643 iov[iov_index].iov_base = NULL; in prep_skb() 654 iov[iov_index].iov_base = result->data; in prep_skb() 662 if (iov[iov_index].iov_base != NULL) in prep_skb() 857 iov[0].iov_base = vp->header_rxbuffer; in vector_legacy_rx() 867 iov[iovpos].iov_base = drop_buffer; in vector_legacy_rx() [all …]
|
/linux/net/sunrpc/xprtrdma/ |
A D | rpc_rdma.c | 216 seg->mr_page = virt_to_page(vec->iov_base); in rpcrdma_convert_kvec() 217 seg->mr_offset = offset_in_page(vec->iov_base); in rpcrdma_convert_kvec() 672 dst = (unsigned char *)xdr->head[0].iov_base; in rpcrdma_pullup_tail_iov() 688 dst = (unsigned char *)xdr->head[0].iov_base; in rpcrdma_pullup_pagelist() 743 offset_in_page(tail->iov_base), in rpcrdma_prepare_noch_mapped() 772 page_base = offset_in_page(xdr->tail[0].iov_base); in rpcrdma_prepare_readch() 1055 rqst->rq_rcv_buf.head[0].iov_base = srcp; in rpcrdma_inline_fixup() 1056 rqst->rq_private_buf.head[0].iov_base = srcp; in rpcrdma_inline_fixup() 1110 rqst->rq_rcv_buf.tail[0].iov_base = srcp; in rpcrdma_inline_fixup() 1111 rqst->rq_private_buf.tail[0].iov_base = srcp; in rpcrdma_inline_fixup() [all …]
|
/linux/drivers/xen/xenbus/ |
A D | xenbus_xs.c | 287 vec->iov_base = msg + 1; in xenbus_dev_request_and_reply() 362 iovec.iov_base = (void *)string; in xs_single() 490 iovec[0].iov_base = (void *)path; in xenbus_write() 492 iovec[1].iov_base = (void *)string; in xenbus_write() 662 iov[0].iov_base = (void *)path; in xs_watch() 664 iov[1].iov_base = (void *)token; in xs_watch() 675 iov[0].iov_base = (char *)path; in xs_unwatch() 677 iov[1].iov_base = (char *)token; in xs_unwatch()
|