Home
last modified time | relevance | path

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

/linux/net/sunrpc/
A Dsvcsock.c482 rqstp->rq_arg.len = len; in svc_udp_recvfrom()
507 rqstp->rq_arg.page_base = 0; 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()
941 rqstp->rq_arg.len = 0; in receive_cb_reply()
1009 rqstp->rq_arg.page_base = 0; in svc_tcp_recvfrom()
1010 if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len) { in svc_tcp_recvfrom()
1011 rqstp->rq_arg.head[0].iov_len = rqstp->rq_arg.len; in svc_tcp_recvfrom()
1012 rqstp->rq_arg.page_len = 0; in svc_tcp_recvfrom()
1014 rqstp->rq_arg.page_len = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_tcp_recvfrom()
[all …]
A Dsvc.c1505 struct kvec *argv = &rqstp->rq_arg.head[0]; in bc_svc_process()
1521 memcpy(&rqstp->rq_arg, &req->rq_rcv_buf, sizeof(rqstp->rq_arg)); in bc_svc_process()
1526 if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len) { in bc_svc_process()
1527 rqstp->rq_arg.head[0].iov_len = rqstp->rq_arg.len; in bc_svc_process()
1528 rqstp->rq_arg.page_len = 0; in bc_svc_process()
1529 } else if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len + in bc_svc_process()
1530 rqstp->rq_arg.page_len) in bc_svc_process()
1531 rqstp->rq_arg.page_len = rqstp->rq_arg.len - in bc_svc_process()
1532 rqstp->rq_arg.head[0].iov_len; in bc_svc_process()
1534 rqstp->rq_arg.len = rqstp->rq_arg.head[0].iov_len + in bc_svc_process()
[all …]
A Dsvc_xprt.c665 struct xdr_buf *arg = &rqstp->rq_arg; in svc_alloc_arg()
883 trace_svc_xdr_recvfrom(&rqstp->rq_arg); in svc_recv()
889 rqstp->rq_xid = svc_getu32(&rqstp->rq_arg.head[0]); in svc_recv()
1205 size = sizeof(struct svc_deferred_req) + rqstp->rq_arg.len; in svc_defer()
1215 dr->argslen = rqstp->rq_arg.len >> 2; in svc_defer()
1219 skip = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_defer()
1220 memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, in svc_defer()
1242 rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); in svc_deferred_recv()
1244 rqstp->rq_arg.head[0].iov_len = (dr->argslen<<2) - dr->xprt_hlen; in svc_deferred_recv()
1245 rqstp->rq_arg.page_len = 0; in svc_deferred_recv()
[all …]
A Dsvcauth.c69 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
A Dsvcauth_unix.c734 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_null_accept()
794 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_unix_accept()
/linux/net/sunrpc/xprtrdma/
A 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()
851 return rqstp->rq_arg.len; in svc_rdma_recvfrom()
A 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()
A Dsvc_rdma_backchannel.c25 struct xdr_buf *rcvbuf = &rqstp->rq_arg; in svc_rdma_handle_bc_reply()
/linux/include/linux/sunrpc/
A Dsvc.h250 struct xdr_buf rq_arg; member
353 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
574 struct kvec *argv = rqstp->rq_arg.head; in svcxdr_init_decode()
576 xdr_init_decode(xdr, &rqstp->rq_arg, argv->iov_base, NULL); in svcxdr_init_decode()
/linux/net/sunrpc/auth_gss/
A 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()
1187 from_offs = rqstp->rq_arg.page_base; in gss_read_proxy_verf()
1198 page_address(rqstp->rq_arg.pages[pgfrom]) + pgfrom_offs, in gss_read_proxy_verf()
1238 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_legacy_init()
1535 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_accept()
1638 if (unwrap_integ_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
1647 if (unwrap_priv_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
/linux/fs/nfsd/
A Dnfscache.c113 rp->c_key.k_len = rqstp->rq_arg.len; in nfsd_reply_cache_alloc()
320 struct xdr_buf *buf = &rqstp->rq_arg; in nfsd_cache_csum()
A Dnfs3xdr.c683 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_symlinkargs()
684 struct kvec *tail = rqstp->rq_arg.tail; in nfs3svc_decode_symlinkargs()
695 remaining = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len; in nfs3svc_decode_symlinkargs()
A Dnfsxdr.c382 struct kvec *head = rqstp->rq_arg.head; in nfssvc_decode_symlinkargs()
A Dnfsproc.c488 page_address(rqstp->rq_arg.pages[0]), in nfsd_proc_symlink()
A Dnfs3proc.c294 page_address(rqstp->rq_arg.pages[0]), in nfsd3_proc_symlink()
A Dnfs4state.c3740 struct xdr_buf *xb = &rqstp->rq_arg; in nfsd4_request_too_big()

Completed in 46 milliseconds