Home
last modified time | relevance | path

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

/linux-6.1.9/net/sunrpc/
Dsvcsock.c471 rqstp->rq_arg.len = len; in svc_udp_recvfrom()
483 if (csum_partial_copy_to_xdr(&rqstp->rq_arg, skb)) in svc_udp_recvfrom()
489 rqstp->rq_arg.head[0].iov_base = skb->data; in svc_udp_recvfrom()
490 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom()
496 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
497 if (len <= rqstp->rq_arg.head[0].iov_len) { in svc_udp_recvfrom()
498 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom()
499 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom()
502 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom()
504 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom()
[all …]
Dsvc.c1435 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_process()
1486 struct kvec *argv = &rqstp->rq_arg.head[0]; in bc_svc_process()
1502 memcpy(&rqstp->rq_arg, &req->rq_rcv_buf, sizeof(rqstp->rq_arg)); in bc_svc_process()
1506 rqstp->rq_arg.len = req->rq_private_buf.len; in bc_svc_process()
1507 if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len) { in bc_svc_process()
1508 rqstp->rq_arg.head[0].iov_len = rqstp->rq_arg.len; in bc_svc_process()
1509 rqstp->rq_arg.page_len = 0; in bc_svc_process()
1510 } else if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len + in bc_svc_process()
1511 rqstp->rq_arg.page_len) in bc_svc_process()
1512 rqstp->rq_arg.page_len = rqstp->rq_arg.len - in bc_svc_process()
[all …]
Dsvc_xprt.c669 struct xdr_buf *arg = &rqstp->rq_arg; in svc_alloc_arg()
887 trace_svc_xdr_recvfrom(&rqstp->rq_arg); in svc_recv()
893 rqstp->rq_xid = svc_getu32(&rqstp->rq_arg.head[0]); in svc_recv()
1210 if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) in svc_defer()
1219 size = sizeof(struct svc_deferred_req) + rqstp->rq_arg.len; in svc_defer()
1229 dr->argslen = rqstp->rq_arg.len >> 2; in svc_defer()
1234 skip = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_defer()
1235 memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, in svc_defer()
1257 rqstp->rq_arg.head[0].iov_base = dr->args; in svc_deferred_recv()
1259 rqstp->rq_arg.head[0].iov_len = dr->argslen << 2; in svc_deferred_recv()
[all …]
Dsvcauth.c71 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
Dsvcauth_unix.c735 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_null_accept()
796 struct kvec *argv = rqstp->rq_arg.head; in svcauth_tls_accept()
854 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_unix_accept()
/linux-6.1.9/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c390 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr()
652 static int svc_rdma_xdr_decode_req(struct xdr_buf *rq_arg, in svc_rdma_xdr_decode_req() argument
658 rdma_argp = rq_arg->head[0].iov_base; in svc_rdma_xdr_decode_req()
659 xdr_init_decode(&rctxt->rc_stream, rq_arg, rdma_argp, NULL); in svc_rdma_xdr_decode_req()
690 rq_arg->head[0].iov_base = rctxt->rc_stream.p; in svc_rdma_xdr_decode_req()
692 rq_arg->head[0].iov_len -= hdr_len; in svc_rdma_xdr_decode_req()
693 rq_arg->len -= hdr_len; in svc_rdma_xdr_decode_req()
698 trace_svcrdma_decode_short_err(rctxt, rq_arg->len); in svc_rdma_xdr_decode_req()
829 ret = svc_rdma_xdr_decode_req(&rqstp->rq_arg, ctxt); in svc_rdma_recvfrom()
850 return rqstp->rq_arg.len; in svc_rdma_recvfrom()
Dsvc_rdma_rw.c854 struct xdr_buf *buf = &info->ri_rqst->rq_arg; in svc_rdma_read_multiple_chunks()
918 struct xdr_buf *buf = &info->ri_rqst->rq_arg; in svc_rdma_read_data_item()
1074 struct xdr_buf *buf = &info->ri_rqst->rq_arg; in svc_rdma_read_special()
Dsvc_rdma_backchannel.c25 struct xdr_buf *rcvbuf = &rqstp->rq_arg; in svc_rdma_handle_bc_reply()
/linux-6.1.9/include/linux/sunrpc/
Dsvc.h260 struct xdr_buf rq_arg; member
363 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
558 struct xdr_buf *buf = &rqstp->rq_arg; in svcxdr_init_decode()
/linux-6.1.9/net/sunrpc/auth_gss/
Dsvcauth_gss.c722 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_verify_header()
1155 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_read_proxy_verf()
1165 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) { in gss_read_proxy_verf()
1192 from_offs = rqstp->rq_arg.page_base; in gss_read_proxy_verf()
1203 page_address(rqstp->rq_arg.pages[pgfrom]) + pgfrom_offs, in gss_read_proxy_verf()
1243 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_legacy_init()
1540 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_accept()
1643 if (unwrap_integ_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
1652 if (unwrap_priv_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
/linux-6.1.9/fs/nfsd/
Dnfscache.c107 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc()
323 struct xdr_buf *buf = &rqstp->rq_arg; in nfsd_cache_csum()
Dnfsxdr.c380 struct kvec *head = rqstp->rq_arg.head; in nfssvc_decode_symlinkargs()
Dnfsproc.c491 page_address(rqstp->rq_arg.pages[0]), in nfsd_proc_symlink()
Dnfs3proc.c416 page_address(rqstp->rq_arg.pages[0]), in nfsd3_proc_symlink()
Dnfs3xdr.c616 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_symlinkargs()
Dnfs4state.c3869 struct xdr_buf *xb = &rqstp->rq_arg; in nfsd4_request_too_big()