Home
last modified time | relevance | path

Searched refs:rq_arg (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c376 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 …]
Dsvc_rdma_rw.c853 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()
Dsvc_rdma_backchannel.c25 struct xdr_buf *rcvbuf = &rqstp->rq_arg; in svc_rdma_handle_bc_reply()
/Linux-v5.10/net/sunrpc/
Dsvcsock.c482 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 …]
Dsvc.c1179 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 …]
Dsvc_xprt.c674 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 …]
Dsvcauth.c69 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
Dsvcauth_unix.c739 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/
Dnfs3acl.c143 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()
Dnfsxdr.c274 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()
Dnfs2acl.c209 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()
Dnfs3xdr.c404 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()
Dnfscache.c113 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()
Dnfsproc.c230 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()
Dnfssvc.c991 return rqstp->rq_arg.len > PAGE_SIZE; in nfs_request_too_big()
1008 struct kvec *argv = &rqstp->rq_arg.head[0]; in nfsd_dispatch()
Dnfs3proc.c188 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()
Dnfs4xdr.c167 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()
Dnfs4state.c3666 struct xdr_buf *xb = &rqstp->rq_arg; in nfsd4_request_too_big()
/Linux-v5.10/net/sunrpc/auth_gss/
Dsvcauth_gss.c720 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/
Dsvc.h249 struct xdr_buf rq_arg; member
348 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
/Linux-v5.10/fs/nfs/
Dcallback_xdr.c938 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()