/Linux-v5.10/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 376 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr() 627 static int svc_rdma_xdr_decode_req(struct xdr_buf *rq_arg, in svc_rdma_xdr_decode_req() argument 633 rdma_argp = rq_arg->head[0].iov_base; in svc_rdma_xdr_decode_req() 634 xdr_init_decode(&rctxt->rc_stream, rq_arg, rdma_argp, NULL); in svc_rdma_xdr_decode_req() 664 rq_arg->head[0].iov_base = rctxt->rc_stream.p; in svc_rdma_xdr_decode_req() 666 rq_arg->head[0].iov_len -= hdr_len; in svc_rdma_xdr_decode_req() 667 rq_arg->len -= hdr_len; in svc_rdma_xdr_decode_req() 672 trace_svcrdma_decode_short_err(rctxt, rq_arg->len); in svc_rdma_xdr_decode_req() 707 rqstp->rq_arg.pages = &rqstp->rq_pages[head->rc_hdr_count]; in rdma_read_complete() 708 rqstp->rq_arg.page_len = head->rc_arg.page_len; in rdma_read_complete() [all …]
|
D | svc_rdma_rw.c | 853 head->rc_arg.head[0] = rqstp->rq_arg.head[0]; in svc_rdma_recv_read_chunk() 854 head->rc_arg.tail[0] = rqstp->rq_arg.tail[0]; in svc_rdma_recv_read_chunk() 858 head->rc_arg.len = rqstp->rq_arg.len; in svc_rdma_recv_read_chunk() 859 head->rc_arg.buflen = rqstp->rq_arg.buflen; in svc_rdma_recv_read_chunk()
|
D | svc_rdma_backchannel.c | 25 struct xdr_buf *rcvbuf = &rqstp->rq_arg; in svc_rdma_handle_bc_reply()
|
/Linux-v5.10/net/sunrpc/ |
D | svcsock.c | 482 rqstp->rq_arg.len = len; in svc_udp_recvfrom() 494 if (csum_partial_copy_to_xdr(&rqstp->rq_arg, skb)) in svc_udp_recvfrom() 500 rqstp->rq_arg.head[0].iov_base = skb->data; in svc_udp_recvfrom() 501 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom() 507 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom() 508 if (len <= rqstp->rq_arg.head[0].iov_len) { in svc_udp_recvfrom() 509 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom() 510 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom() 513 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom() 515 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom() [all …]
|
D | svc.c | 1179 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_generic_dispatch() 1493 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_process() 1540 struct kvec *argv = &rqstp->rq_arg.head[0]; in bc_svc_process() 1556 memcpy(&rqstp->rq_arg, &req->rq_rcv_buf, sizeof(rqstp->rq_arg)); in bc_svc_process() 1560 rqstp->rq_arg.len = req->rq_private_buf.len; in bc_svc_process() 1561 if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len) { in bc_svc_process() 1562 rqstp->rq_arg.head[0].iov_len = rqstp->rq_arg.len; in bc_svc_process() 1563 rqstp->rq_arg.page_len = 0; in bc_svc_process() 1564 } else if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len + in bc_svc_process() 1565 rqstp->rq_arg.page_len) in bc_svc_process() [all …]
|
D | svc_xprt.c | 674 arg = &rqstp->rq_arg; in svc_alloc_arg() 817 trace_svc_xdr_recvfrom(rqstp, &rqstp->rq_arg); in svc_handle_xprt() 867 rqstp->rq_xid = svc_getu32(&rqstp->rq_arg.head[0]); in svc_recv() 1175 if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) in svc_defer() 1184 size = sizeof(struct svc_deferred_req) + rqstp->rq_arg.len; in svc_defer() 1194 dr->argslen = rqstp->rq_arg.len >> 2; in svc_defer() 1198 skip = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_defer() 1199 memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, in svc_defer() 1221 rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); in svc_deferred_recv() 1223 rqstp->rq_arg.head[0].iov_len = (dr->argslen<<2) - dr->xprt_hlen; in svc_deferred_recv() [all …]
|
D | svcauth.c | 69 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
|
D | svcauth_unix.c | 739 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_null_accept() 799 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_unix_accept()
|
/Linux-v5.10/fs/nfsd/ |
D | nfs3acl.c | 143 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_setaclargs() 156 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfs3svc_decode_setaclargs() 160 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfs3svc_decode_setaclargs()
|
D | nfsxdr.c | 274 struct kvec *head = rqstp->rq_arg.head; in nfssvc_decode_writeargs() 297 dlen = head->iov_len + rqstp->rq_arg.page_len - hdr; in nfssvc_decode_writeargs() 384 args->first.iov_len = rqstp->rq_arg.head[0].iov_len; in nfssvc_decode_symlinkargs() 392 if (rqstp->rq_arg.page_len) { in nfssvc_decode_symlinkargs() 393 if (args->tlen != rqstp->rq_arg.page_len) in nfssvc_decode_symlinkargs() 395 p = rqstp->rq_arg.tail[0].iov_base; in nfssvc_decode_symlinkargs()
|
D | nfs2acl.c | 209 struct kvec *head = rqstp->rq_arg.head; in nfsaclsvc_decode_setaclargs() 222 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfsaclsvc_decode_setaclargs() 226 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfsaclsvc_decode_setaclargs()
|
D | nfs3xdr.c | 404 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_writeargs() 405 struct kvec *tail = rqstp->rq_arg.tail; in nfs3svc_decode_writeargs() 428 dlen = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len - hdr; in nfs3svc_decode_writeargs() 503 args->first.iov_len = rqstp->rq_arg.head[0].iov_len; in nfs3svc_decode_symlinkargs() 506 dlen = args->first.iov_len + rqstp->rq_arg.page_len + in nfs3svc_decode_symlinkargs() 507 rqstp->rq_arg.tail[0].iov_len; in nfs3svc_decode_symlinkargs()
|
D | nfscache.c | 113 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc() 297 struct xdr_buf *buf = &rqstp->rq_arg; in nfsd_cache_csum()
|
D | nfsproc.c | 230 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd_proc_write() 482 page_address(rqstp->rq_arg.pages[0]), in nfsd_proc_symlink()
|
D | nfssvc.c | 991 return rqstp->rq_arg.len > PAGE_SIZE; in nfs_request_too_big() 1008 struct kvec *argv = &rqstp->rq_arg.head[0]; in nfsd_dispatch()
|
D | nfs3proc.c | 188 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd3_proc_write() 279 page_address(rqstp->rq_arg.pages[0]), in nfsd3_proc_symlink()
|
D | nfs4xdr.c | 167 struct kvec *vec = &argp->rqstp->rq_arg.tail[0]; in read_buf() 5291 if (rqstp->rq_arg.head[0].iov_len % 4) { in nfs4svc_decode_compoundargs() 5298 args->end = rqstp->rq_arg.head[0].iov_base + rqstp->rq_arg.head[0].iov_len; in nfs4svc_decode_compoundargs() 5299 args->pagelist = rqstp->rq_arg.pages; in nfs4svc_decode_compoundargs() 5300 args->pagelen = rqstp->rq_arg.page_len; in nfs4svc_decode_compoundargs()
|
D | nfs4state.c | 3666 struct xdr_buf *xb = &rqstp->rq_arg; in nfsd4_request_too_big()
|
/Linux-v5.10/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 720 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_verify_header() 1149 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_read_proxy_verf() 1159 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) in gss_read_proxy_verf() 1181 from_offs = rqstp->rq_arg.page_base; in gss_read_proxy_verf() 1192 page_address(rqstp->rq_arg.pages[pgfrom]) + pgfrom_offs, in gss_read_proxy_verf() 1232 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_legacy_init() 1530 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_accept() 1633 if (unwrap_integ_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept() 1642 if (unwrap_priv_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
|
/Linux-v5.10/include/linux/sunrpc/ |
D | svc.h | 249 struct xdr_buf rq_arg; member 348 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
|
/Linux-v5.10/fs/nfs/ |
D | callback_xdr.c | 938 xdr_init_decode(&xdr_in, &rqstp->rq_arg, in nfs4_callback_compound() 939 rqstp->rq_arg.head[0].iov_base, NULL); in nfs4_callback_compound()
|