/Linux-v4.19/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 358 struct xdr_buf *arg = &rqstp->rq_arg; in svc_rdma_build_arg_xdr() 498 static int svc_rdma_xdr_decode_req(struct xdr_buf *rq_arg) in svc_rdma_xdr_decode_req() argument 504 if (rq_arg->len <= RPCRDMA_HDRLEN_ERR) in svc_rdma_xdr_decode_req() 507 rdma_argp = rq_arg->head[0].iov_base; in svc_rdma_xdr_decode_req() 527 end = (__be32 *)((unsigned long)rdma_argp + rq_arg->len); in svc_rdma_xdr_decode_req() 540 rq_arg->head[0].iov_base = p; in svc_rdma_xdr_decode_req() 542 rq_arg->head[0].iov_len -= hdr_len; in svc_rdma_xdr_decode_req() 543 rq_arg->len -= hdr_len; in svc_rdma_xdr_decode_req() 548 trace_svcrdma_decode_short(rq_arg->len); in svc_rdma_xdr_decode_req() 583 rqstp->rq_arg.pages = &rqstp->rq_pages[head->rc_hdr_count]; in rdma_read_complete() [all …]
|
D | svc_rdma_rw.c | 833 head->rc_arg.head[0] = rqstp->rq_arg.head[0]; in svc_rdma_recv_read_chunk() 834 head->rc_arg.tail[0] = rqstp->rq_arg.tail[0]; in svc_rdma_recv_read_chunk() 838 head->rc_arg.len = rqstp->rq_arg.len; in svc_rdma_recv_read_chunk() 839 head->rc_arg.buflen = rqstp->rq_arg.buflen; in svc_rdma_recv_read_chunk()
|
/Linux-v4.19/net/sunrpc/ |
D | svcsock.c | 581 rqstp->rq_arg.len = len; in svc_udp_recvfrom() 595 if (csum_partial_copy_to_xdr(&rqstp->rq_arg, skb)) { in svc_udp_recvfrom() 604 rqstp->rq_arg.head[0].iov_base = skb->data; in svc_udp_recvfrom() 605 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom() 611 rqstp->rq_arg.page_base = 0; in svc_udp_recvfrom() 612 if (len <= rqstp->rq_arg.head[0].iov_len) { in svc_udp_recvfrom() 613 rqstp->rq_arg.head[0].iov_len = len; in svc_udp_recvfrom() 614 rqstp->rq_arg.page_len = 0; in svc_udp_recvfrom() 617 rqstp->rq_arg.page_len = len - rqstp->rq_arg.head[0].iov_len; in svc_udp_recvfrom() 619 DIV_ROUND_UP(rqstp->rq_arg.page_len, PAGE_SIZE); in svc_udp_recvfrom() [all …]
|
D | svc.c | 1406 struct kvec *argv = &rqstp->rq_arg.head[0]; in svc_process() 1453 struct kvec *argv = &rqstp->rq_arg.head[0]; in bc_svc_process() 1469 memcpy(&rqstp->rq_arg, &req->rq_rcv_buf, sizeof(rqstp->rq_arg)); in bc_svc_process() 1473 rqstp->rq_arg.len = req->rq_private_buf.len; in bc_svc_process() 1474 if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len) { in bc_svc_process() 1475 rqstp->rq_arg.head[0].iov_len = rqstp->rq_arg.len; in bc_svc_process() 1476 rqstp->rq_arg.page_len = 0; in bc_svc_process() 1477 } else if (rqstp->rq_arg.len <= rqstp->rq_arg.head[0].iov_len + in bc_svc_process() 1478 rqstp->rq_arg.page_len) in bc_svc_process() 1479 rqstp->rq_arg.page_len = rqstp->rq_arg.len - in bc_svc_process() [all …]
|
D | svc_xprt.c | 644 arg = &rqstp->rq_arg; in svc_alloc_arg() 842 rqstp->rq_xid = svc_getu32(&rqstp->rq_arg.head[0]); in svc_recv() 1159 if (rqstp->rq_arg.page_len || !test_bit(RQ_USEDEFERRAL, &rqstp->rq_flags)) in svc_defer() 1168 size = sizeof(struct svc_deferred_req) + rqstp->rq_arg.len; in svc_defer() 1178 dr->argslen = rqstp->rq_arg.len >> 2; in svc_defer() 1182 skip = rqstp->rq_arg.len - rqstp->rq_arg.head[0].iov_len; in svc_defer() 1183 memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, in svc_defer() 1203 rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); in svc_deferred_recv() 1205 rqstp->rq_arg.head[0].iov_len = (dr->argslen<<2) - dr->xprt_hlen; in svc_deferred_recv() 1206 rqstp->rq_arg.page_len = 0; in svc_deferred_recv() [all …]
|
D | svcauth.c | 44 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
|
D | svcauth_unix.c | 728 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_null_accept() 788 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_unix_accept()
|
/Linux-v4.19/fs/nfsd/ |
D | nfsxdr.c | 273 struct kvec *head = rqstp->rq_arg.head; in nfssvc_decode_writeargs() 296 dlen = head->iov_len + rqstp->rq_arg.page_len - hdr; in nfssvc_decode_writeargs() 383 args->first.iov_len = rqstp->rq_arg.head[0].iov_len; in nfssvc_decode_symlinkargs() 391 if (rqstp->rq_arg.page_len) { in nfssvc_decode_symlinkargs() 392 if (args->tlen != rqstp->rq_arg.page_len) in nfssvc_decode_symlinkargs() 394 p = rqstp->rq_arg.tail[0].iov_base; in nfssvc_decode_symlinkargs()
|
D | nfs3acl.c | 144 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()
|
D | nfs2acl.c | 202 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()
|
D | nfscache.c | 297 struct xdr_buf *buf = &rqstp->rq_arg; in nfsd_cache_csum() 337 rqstp->rq_arg.len != rp->c_len || in nfsd_cache_match() 445 rp->c_len = rqstp->rq_arg.len; in nfsd_cache_lookup()
|
D | nfs3xdr.c | 400 struct kvec *head = rqstp->rq_arg.head; in nfs3svc_decode_writeargs() 401 struct kvec *tail = rqstp->rq_arg.tail; in nfs3svc_decode_writeargs() 424 dlen = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len - hdr; in nfs3svc_decode_writeargs() 499 args->first.iov_len = rqstp->rq_arg.head[0].iov_len; in nfs3svc_decode_symlinkargs() 502 dlen = args->first.iov_len + rqstp->rq_arg.page_len + in nfs3svc_decode_symlinkargs() 503 rqstp->rq_arg.tail[0].iov_len; in nfs3svc_decode_symlinkargs()
|
D | nfssvc.c | 787 return rqstp->rq_arg.len > PAGE_SIZE; in nfs_request_too_big() 813 !proc->pc_decode(rqstp, (__be32*)rqstp->rq_arg.head[0].iov_base)) { in nfsd_dispatch()
|
D | nfsproc.c | 221 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd_proc_write() 457 page_address(rqstp->rq_arg.pages[0]), in nfsd_proc_symlink()
|
D | nfs3proc.c | 205 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd3_proc_write() 293 page_address(rqstp->rq_arg.pages[0]), in nfsd3_proc_symlink()
|
D | nfs4xdr.c | 163 struct kvec *vec = &argp->rqstp->rq_arg.tail[0]; in read_buf() 4524 if (rqstp->rq_arg.head[0].iov_len % 4) { in nfs4svc_decode_compoundargs() 4531 args->end = rqstp->rq_arg.head[0].iov_base + rqstp->rq_arg.head[0].iov_len; in nfs4svc_decode_compoundargs() 4532 args->pagelist = rqstp->rq_arg.pages; in nfs4svc_decode_compoundargs() 4533 args->pagelen = rqstp->rq_arg.page_len; in nfs4svc_decode_compoundargs()
|
D | nfs4state.c | 3061 struct xdr_buf *xb = &rqstp->rq_arg; in nfsd4_request_too_big()
|
/Linux-v4.19/include/linux/sunrpc/ |
D | svc.h | 249 struct xdr_buf rq_arg; member 342 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check()
|
/Linux-v4.19/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 667 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_verify_header() 1072 struct kvec *argv = &rqstp->rq_arg.head[0]; in gss_read_proxy_verf() 1081 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) in gss_read_proxy_verf() 1121 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_legacy_init() 1418 struct kvec *argv = &rqstp->rq_arg.head[0]; in svcauth_gss_accept() 1524 if (unwrap_integ_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept() 1533 if (unwrap_priv_data(rqstp, &rqstp->rq_arg, in svcauth_gss_accept()
|
/Linux-v4.19/fs/nfs/ |
D | callback_xdr.c | 946 xdr_init_decode(&xdr_in, &rqstp->rq_arg, rqstp->rq_arg.head[0].iov_base); in nfs4_callback_compound()
|