Home
last modified time | relevance | path

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

/Linux-v5.4/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c348 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr()
550 static int svc_rdma_xdr_decode_req(struct xdr_buf *rq_arg) in svc_rdma_xdr_decode_req() argument
556 if (rq_arg->len <= RPCRDMA_HDRLEN_ERR) in svc_rdma_xdr_decode_req()
559 rdma_argp = rq_arg->head[0].iov_base; in svc_rdma_xdr_decode_req()
579 end = (__be32 *)((unsigned long)rdma_argp + rq_arg->len); in svc_rdma_xdr_decode_req()
592 rq_arg->head[0].iov_base = p; in svc_rdma_xdr_decode_req()
594 rq_arg->head[0].iov_len -= hdr_len; in svc_rdma_xdr_decode_req()
595 rq_arg->len -= hdr_len; in svc_rdma_xdr_decode_req()
600 trace_svcrdma_decode_short(rq_arg->len); in svc_rdma_xdr_decode_req()
635 rqstp->rq_arg.pages = &rqstp->rq_pages[head->rc_hdr_count]; in rdma_read_complete()
[all …]
Dsvc_rdma_rw.c825 head->rc_arg.head[0] = rqstp->rq_arg.head[0]; in svc_rdma_recv_read_chunk()
826 head->rc_arg.tail[0] = rqstp->rq_arg.tail[0]; in svc_rdma_recv_read_chunk()
830 head->rc_arg.len = rqstp->rq_arg.len; in svc_rdma_recv_read_chunk()
831 head->rc_arg.buflen = rqstp->rq_arg.buflen; in svc_rdma_recv_read_chunk()
/Linux-v5.4/net/sunrpc/
Dsvcsock.c552 rqstp->rq_arg.len = len; in svc_udp_recvfrom()
566 if (csum_partial_copy_to_xdr(&rqstp->rq_arg, skb)) { in svc_udp_recvfrom()
575 rqstp->rq_arg.head[0].iov_base = skb->data; in svc_udp_recvfrom()
576 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom()
582 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom()
583 if (len <= rqstp->rq_arg.head[0].iov_len) { in svc_udp_recvfrom()
584 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom()
585 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom()
588 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom()
590 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom()
[all …]
Dsvc.c1190 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_generic_dispatch()
1502 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_process()
1553 struct kvec *argv = &rqstp->rq_arg.head[0]; in bc_svc_process()
1569 memcpy(&rqstp->rq_arg, &req->rq_rcv_buf, sizeof(rqstp->rq_arg)); in bc_svc_process()
1573 rqstp->rq_arg.len = req->rq_private_buf.len; in bc_svc_process()
1574 if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len) { in bc_svc_process()
1575 rqstp->rq_arg.head[0].iov_len = rqstp->rq_arg.len; in bc_svc_process()
1576 rqstp->rq_arg.page_len = 0; in bc_svc_process()
1577 } else if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len + in bc_svc_process()
1578 rqstp->rq_arg.page_len) in bc_svc_process()
[all …]
Dsvc_xprt.c663 arg = &rqstp->rq_arg; in svc_alloc_arg()
862 rqstp->rq_xid = svc_getu32(&rqstp->rq_arg.head[0]); in svc_recv()
1178 if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) in svc_defer()
1187 size = sizeof(struct svc_deferred_req) + rqstp->rq_arg.len; in svc_defer()
1197 dr->argslen = rqstp->rq_arg.len >> 2; in svc_defer()
1201 skip = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_defer()
1202 memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, in svc_defer()
1222 rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); in svc_deferred_recv()
1224 rqstp->rq_arg.head[0].iov_len = (dr->argslen<<2) - dr->xprt_hlen; in svc_deferred_recv()
1225 rqstp->rq_arg.page_len = 0; in svc_deferred_recv()
[all …]
Dsvcauth.c65 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
Dsvcauth_unix.c737 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_null_accept()
797 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_unix_accept()
/Linux-v5.4/fs/nfsd/
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()
Dnfs3acl.c144 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_setaclargs()
157 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfs3svc_decode_setaclargs()
161 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfs3svc_decode_setaclargs()
Dnfs2acl.c202 struct kvec *head = rqstp->rq_arg.head; in nfsaclsvc_decode_setaclargs()
215 n = nfsacl_decode(&rqstp->rq_arg, base, NULL, in nfsaclsvc_decode_setaclargs()
219 n = nfsacl_decode(&rqstp->rq_arg, base + n, NULL, in nfsaclsvc_decode_setaclargs()
Dnfs3xdr.c402 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_writeargs()
403 struct kvec *tail = rqstp->rq_arg.tail; in nfs3svc_decode_writeargs()
426 dlen = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len - hdr; in nfs3svc_decode_writeargs()
501 args->first.iov_len = rqstp->rq_arg.head[0].iov_len; in nfs3svc_decode_symlinkargs()
504 dlen = args->first.iov_len + rqstp->rq_arg.page_len + in nfs3svc_decode_symlinkargs()
505 rqstp->rq_arg.tail[0].iov_len; in nfs3svc_decode_symlinkargs()
Dnfscache.c112 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.c223 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd_proc_write()
459 page_address(rqstp->rq_arg.pages[0]), in nfsd_proc_symlink()
Dnfssvc.c982 return rqstp->rq_arg.len > PAGE_SIZE; in nfs_request_too_big()
1008 !proc->pc_decode(rqstp, (__be32*)rqstp->rq_arg.head[0].iov_base)) { in nfsd_dispatch()
Dnfs3proc.c200 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd3_proc_write()
288 page_address(rqstp->rq_arg.pages[0]), in nfsd3_proc_symlink()
Dnfs4xdr.c164 struct kvec *vec = &argp->rqstp->rq_arg.tail[0]; in read_buf()
4555 if (rqstp->rq_arg.head[0].iov_len % 4) { in nfs4svc_decode_compoundargs()
4562 args->end = rqstp->rq_arg.head[0].iov_base + rqstp->rq_arg.head[0].iov_len; in nfs4svc_decode_compoundargs()
4563 args->pagelist = rqstp->rq_arg.pages; in nfs4svc_decode_compoundargs()
4564 args->pagelen = rqstp->rq_arg.page_len; in nfs4svc_decode_compoundargs()
Dnfs4state.c3537 struct xdr_buf *xb = &rqstp->rq_arg; in nfsd4_request_too_big()
/Linux-v5.4/include/linux/sunrpc/
Dsvc.h249 struct xdr_buf rq_arg; member
346 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
/Linux-v5.4/net/sunrpc/auth_gss/
Dsvcauth_gss.c688 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_verify_header()
1093 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_read_proxy_verf()
1102 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) in gss_read_proxy_verf()
1142 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_legacy_init()
1439 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_accept()
1545 if (unwrap_integ_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
1554 if (unwrap_priv_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
/Linux-v5.4/fs/nfs/
Dcallback_xdr.c937 xdr_init_decode(&xdr_in, &rqstp->rq_arg, in nfs4_callback_compound()
938 rqstp->rq_arg.head[0].iov_base, NULL); in nfs4_callback_compound()