Home
last modified time | relevance | path

Searched refs:iov_base (Results 1 – 25 of 217) sorted by relevance

123456789

/Linux-v5.15/include/linux/sunrpc/
Dsvc.h188 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()
355 && cp <= (char*)vec->iov_base + vec->iov_len; in xdr_argsize_check()
[all …]
/Linux-v5.15/fs/cifs/
Dsmb2transport.c216 struct smb2_sync_hdr *shdr = (struct smb2_sync_hdr *)iov[0].iov_base; in smb2_calc_signature()
269 rc = crypto_shash_update(shash, iov[0].iov_base, in smb2_calc_signature()
335 label.iov_base, label.iov_len); in generate_key()
349 context.iov_base, context.iov_len); in generate_key()
481 d->label.iov_base = "SMB2AESCMAC"; in generate_smb30signingkey()
483 d->context.iov_base = "SmbSign"; in generate_smb30signingkey()
487 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey()
489 d->context.iov_base = "ServerIn "; in generate_smb30signingkey()
493 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey()
495 d->context.iov_base = "ServerOut"; in generate_smb30signingkey()
[all …]
Dsmb2pdu.c798 struct smb2_create_req *req = iov[0].iov_base; in add_posix_context()
801 iov[num].iov_base = create_posix_buf(mode); in add_posix_context()
804 if (iov[num].iov_base == NULL) in add_posix_context()
912 iov[0].iov_base = (char *)req; in SMB2_negotiate()
922 rsp = (struct smb2_negotiate_rsp *)rsp_iov.iov_base; in SMB2_negotiate()
1287 sess_data->iov[0].iov_base = (char *)req; in SMB2_sess_alloc_buffer()
1302 free_rsp_buf(sess_data->buf0_type, sess_data->iov[0].iov_base); in SMB2_sess_free_buffer()
1311 struct smb2_sess_setup_req *req = sess_data->iov[0].iov_base; in SMB2_sess_sendreceive()
1329 cifs_small_buf_release(sess_data->iov[0].iov_base); in SMB2_sess_sendreceive()
1418 sess_data->iov[1].iov_base = msg->data + msg->sesskey_len; in SMB2_auth_kerberos()
[all …]
Dsess.c847 sess_data->iov[0].iov_base = (char *)smb_buf; in sess_alloc_buffer()
856 sess_data->iov[2].iov_base = kmalloc(2000, GFP_KERNEL); in sess_alloc_buffer()
857 if (!sess_data->iov[2].iov_base) { in sess_alloc_buffer()
866 sess_data->iov[0].iov_base = NULL; in sess_alloc_buffer()
876 free_rsp_buf(sess_data->buf0_type, sess_data->iov[0].iov_base); in sess_free_buffer()
878 kfree(sess_data->iov[2].iov_base); in sess_free_buffer()
917 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive()
929 cifs_small_buf_release(sess_data->iov[0].iov_base); in sess_sendreceive()
952 pSMB = (SESSION_SETUP_ANDX *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2()
953 bcc_ptr = sess_data->iov[2].iov_base; in sess_auth_ntlmv2()
[all …]
Dtransport.c353 .iov_base = &rfc1002_marker, in __smb_send_rqst()
373 dump_smb(iov[i].iov_base, iov[i].iov_len); in __smb_send_rqst()
477 iov.iov_base = tr_hdr; in smb_send_rqst()
502 iov[0].iov_base = smb_buffer; in smb_send()
504 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send()
775 struct smb_hdr *hdr = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in cifs_setup_async_request()
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()
970 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive()
[all …]
Dcifsencrypt.c51 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()
Dsmb2ops.c887 o_rsp = (struct smb2_create_rsp *)rsp_iov[0].iov_base; in open_cached_dir()
915 qi_rsp = (struct smb2_query_info_rsp *)rsp_iov[1].iov_base; in open_cached_dir()
932 free_rsp_buf(resp_buftype[0], rsp_iov[0].iov_base); in open_cached_dir()
933 free_rsp_buf(resp_buftype[1], rsp_iov[1].iov_base); in open_cached_dir()
1212 rsp = (struct smb2_query_info_rsp *)rsp_iov.iov_base; in smb2_query_eas()
1227 free_rsp_buf(buftype, rsp_iov.iov_base); in smb2_query_eas()
1295 rsp = (struct smb2_query_info_rsp *)rsp_iov[1].iov_base; in smb2_set_ea()
1298 free_rsp_buf(resp_buftype[1], rsp_iov[1].iov_base); in smb2_set_ea()
1383 free_rsp_buf(resp_buftype[0], rsp_iov[0].iov_base); in smb2_set_ea()
1384 free_rsp_buf(resp_buftype[1], rsp_iov[1].iov_base); in smb2_set_ea()
[all …]
/Linux-v5.15/tools/testing/selftests/powerpc/ptrace/
Dptrace.h109 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-v5.15/net/ceph/
Dbuffer.c20 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()
/Linux-v5.15/net/sunrpc/
Dxdr.c183 char *buf = (char *)head->iov_base; in xdr_inline_pages()
192 tail->iov_base = buf + offset; in xdr_inline_pages()
432 memset(iov->iov_base + base, 0, len); in xdr_buf_iov_zero()
546 memmove(tail->iov_base + to, tail->iov_base + base, len); in xdr_buf_tail_copy_right()
576 _copy_from_pages(tail->iov_base + tato, buf->pages, in xdr_buf_pages_copy_right()
618 memcpy(tail->iov_base + tato, head->iov_base + base, talen); in xdr_buf_head_copy_right()
622 _copy_to_pages(buf->pages, buf->page_base + pgto, head->iov_base + base, 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()
710 tail->iov_base + base, pglen); in xdr_buf_tail_copy_left()
[all …]
/Linux-v5.15/fs/ksmbd/
Dauth.c561 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()
772 d.label.iov_base = "SMBSigningKey"; in ksmbd_gen_smb311_signingkey()
780 d.context.iov_base = preauth_sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey()
782 d.context.iov_base = sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey()
838 d->label.iov_base = "SMB2AESCCM"; in ksmbd_gen_smb30_encryptionkey()
[all …]
/Linux-v5.15/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c59 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()
Dsvcauth_gss.c686 o->data = argv->iov_base; in svc_safe_getnetobj()
687 argv->iov_base += l; in svc_safe_getnetobj()
700 p = resv->iov_base + resv->iov_len; in svc_safe_putnetobj()
726 iov.iov_base = rpcstart; in gss_verify_header()
727 iov.iov_len = (u8 *)argv->iov_base - (u8 *)rpcstart; in gss_verify_header()
762 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_null_verf()
787 iov.iov_base = xdr_seq; in gss_write_verf()
790 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_verf()
1183 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 …]
Dgss_krb5_crypto.c532 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-v5.15/drivers/usb/usbip/
Dvhci_tx.c99 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()
Dstub_tx.c217 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()
Dvudc_tx.c56 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-v5.15/arch/x86/um/os-Linux/
Dregisters.c34 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-v5.15/fs/nfsd/
Dnfscache.c123 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()
315 const unsigned char *p = buf->head[0].iov_base; in nfsd_cache_csum()
537 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
555 cachv->iov_base = kmalloc(bufsize, GFP_KERNEL); in nfsd_cache_update()
556 if (!cachv->iov_base) { in nfsd_cache_update()
561 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
592 memcpy((char*)vec->iov_base + vec->iov_len, data->iov_base, data->iov_len); in nfsd_cache_append()
/Linux-v5.15/net/smc/
Dsmc_clc.c419 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 …]
/Linux-v5.15/net/sunrpc/xprtrdma/
Drpc_rdma.c216 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()
642 struct page *page = virt_to_page(xdr->tail[0].iov_base); in rpcrdma_prepare_tail_iov()
667 dst = (unsigned char *)xdr->head[0].iov_base; in rpcrdma_pullup_tail_iov()
669 memmove(dst, xdr->tail[0].iov_base, xdr->tail[0].iov_len); in rpcrdma_pullup_tail_iov()
683 dst = (unsigned char *)xdr->head[0].iov_base; in rpcrdma_pullup_pagelist()
738 offset_in_page(tail->iov_base), in rpcrdma_prepare_noch_mapped()
767 page_base = offset_in_page(xdr->tail[0].iov_base); in rpcrdma_prepare_readch()
1050 rqst->rq_rcv_buf.head[0].iov_base = srcp; in rpcrdma_inline_fixup()
1051 rqst->rq_private_buf.head[0].iov_base = srcp; in rpcrdma_inline_fixup()
[all …]
/Linux-v5.15/net/rxrpc/
Doutput.c227 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-v5.15/drivers/xen/xenbus/
Dxenbus_xs.c287 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()
/Linux-v5.15/arch/um/drivers/
Dvector_kern.c307 vp->form_header(iov[iov_index].iov_base, skb, vp); in prep_msg()
310 iov[iov_index].iov_base = skb->data; in prep_msg()
319 iov[iov_index].iov_base = skb_frag_address_safe(skb_frag); in prep_msg()
509 (iov->iov_base != NULL)) in destroy_queue()
510 kfree(iov->iov_base); in destroy_queue()
582 iov->iov_base = kmalloc(header_size, GFP_KERNEL); in create_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()
[all …]
/Linux-v5.15/arch/arm64/kernel/
Dmte.c281 void __user *buf = kiov->iov_base; in __access_remote_tags()
340 kiov->iov_len = buf - kiov->iov_base; in __access_remote_tags()
390 if (get_user(kiov.iov_base, &uiov->iov_base) || in mte_ptrace_copy_tags()

123456789