Home
last modified time | relevance | path

Searched refs:rq_res (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c261 dma_map_xdr(xprt, &rqstp->rq_res, xdr_off, in send_write()
311 u32 xfer_len = rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
329 for (xdr_off = rqstp->rq_res.head[0].iov_len, chunk_no = 0; in send_write_chunks()
367 return rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
376 u32 xfer_len = rqstp->rq_res.len; in send_reply_chunks()
432 return rqstp->rq_res.len; in send_reply_chunks()
500 dma_map_xdr(rdma, &rqstp->rq_res, xdr_off, in send_reply()
595 ret = map_xdr(rdma, &rqstp->rq_res, vec); in svc_rdma_sendto()
598 inline_bytes = rqstp->rq_res.len; in svc_rdma_sendto()
/linux-4.4.14/fs/nfsd/
Dnfs3acl.c179 struct kvec *head = rqstp->rq_res.head; in nfs3svc_encode_getaclres()
189 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres()
198 n = nfsacl_encode(&rqstp->rq_res, base, inode, in nfs3svc_encode_getaclres()
202 n = nfsacl_encode(&rqstp->rq_res, base + n, inode, in nfs3svc_encode_getaclres()
Dnfsxdr.c440 rqstp->rq_res.page_len = resp->len; in nfssvc_encode_readlinkres()
443 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readlinkres()
445 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfssvc_encode_readlinkres()
459 rqstp->rq_res.page_len = resp->count; in nfssvc_encode_readres()
462 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readres()
464 rqstp->rq_res.tail[0].iov_len = 4 - (resp->count&3); in nfssvc_encode_readres()
477 rqstp->rq_res.page_len = (((unsigned long)p-1) & ~PAGE_MASK)+1; in nfssvc_encode_readdirres()
Dnfs2acl.c259 struct kvec *head = rqstp->rq_res.head; in nfsaclsvc_encode_getaclres()
279 rqstp->rq_res.page_len = w = nfsacl_size( in nfsaclsvc_encode_getaclres()
288 n = nfsacl_encode(&rqstp->rq_res, base, inode, in nfsaclsvc_encode_getaclres()
292 n = nfsacl_encode(&rqstp->rq_res, base + n, inode, in nfsaclsvc_encode_getaclres()
Dnfs3xdr.c680 rqstp->rq_res.page_len = resp->len; in nfs3svc_encode_readlinkres()
683 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readlinkres()
685 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfs3svc_encode_readlinkres()
704 rqstp->rq_res.page_len = resp->count; in nfs3svc_encode_readres()
707 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readres()
709 rqstp->rq_res.tail[0].iov_len = 4 - (resp->count & 3); in nfs3svc_encode_readres()
778 if (rqstp->rq_res.head[0].iov_len + (2<<2) > PAGE_SIZE) in nfs3svc_encode_readdirres()
780 rqstp->rq_res.page_len = (resp->count) << 2; in nfs3svc_encode_readdirres()
783 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readdirres()
786 rqstp->rq_res.tail[0].iov_len = 2<<2; in nfs3svc_encode_readdirres()
Dnfscache.c477 svc_putu32(&rqstp->rq_res.head[0], rp->c_replstat); in nfsd_cache_lookup()
513 struct kvec *resv = &rqstp->rq_res.head[0], *cachv; in nfsd_cache_update()
573 struct kvec *vec = &rqstp->rq_res.head[0]; in nfsd_cache_append()
Dnfssvc.c698 nfserrp = rqstp->rq_res.head[0].iov_base in nfsd_dispatch()
699 + rqstp->rq_res.head[0].iov_len; in nfsd_dispatch()
700 rqstp->rq_res.head[0].iov_len += sizeof(__be32); in nfsd_dispatch()
Dvfs.c798 if (rqstp->rq_res.page_len == 0) { in nfsd_splice_actor()
802 rqstp->rq_res.page_base = buf->offset; in nfsd_splice_actor()
803 rqstp->rq_res.page_len = size; in nfsd_splice_actor()
809 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
811 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
Dnfs4proc.c1578 struct xdr_buf *buf = &rqstp->rq_res; in svcxdr_init_encode()
Dnfs4xdr.c4315 struct xdr_buf *buf = &resp->rqstp->rq_res; in nfsd4_check_resp_size()
/linux-4.4.14/net/sunrpc/
Dsvc.c1298 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_process()
1309 rqstp->rq_res.pages = rqstp->rq_respages + 1; in svc_process()
1310 rqstp->rq_res.len = 0; in svc_process()
1311 rqstp->rq_res.page_base = 0; in svc_process()
1312 rqstp->rq_res.page_len = 0; in svc_process()
1313 rqstp->rq_res.buflen = PAGE_SIZE; in svc_process()
1314 rqstp->rq_res.tail[0].iov_base = NULL; in svc_process()
1315 rqstp->rq_res.tail[0].iov_len = 0; in svc_process()
1349 struct kvec *resv = &rqstp->rq_res.head[0]; in bc_svc_process()
1365 memcpy(&rqstp->rq_res, &req->rq_snd_buf, sizeof(rqstp->rq_res)); in bc_svc_process()
[all …]
Dsvc_xprt.c457 space += rqstp->rq_res.head[0].iov_len; in svc_reserve()
481 rqstp->rq_res.page_len = 0; in svc_xprt_release()
482 rqstp->rq_res.page_base = 0; in svc_xprt_release()
489 if ((rqstp->rq_res.len) > rqstp->rq_reserved) in svc_xprt_release()
492 rqstp->rq_res.len); in svc_xprt_release()
494 rqstp->rq_res.head[0].iov_len = 0; in svc_xprt_release()
842 rqstp->rq_res.len = 0; in svc_recv()
877 xb = &rqstp->rq_res; in svc_send()
Dsvcsock.c679 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
682 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
1214 struct xdr_buf *xbufp = &rqstp->rq_res; in svc_tcp_sendto()
1225 sent = svc_sendto(rqstp, &rqstp->rq_res); in svc_tcp_sendto()
1245 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_tcp_prep_reply_hdr()
Dsvcauth_unix.c728 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_null_accept()
792 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_unix_accept()
/linux-4.4.14/net/sunrpc/auth_gss/
Dsvcauth_gss.c709 svc_putnl(rqstp->rq_res.head, RPC_AUTH_NULL); in gss_write_null_verf()
710 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_null_verf()
728 svc_putnl(rqstp->rq_res.head, RPC_AUTH_GSS); in gss_write_verf()
734 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_verf()
1104 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_legacy_init()
1212 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_proxy_init()
1400 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_accept()
1582 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_wrap_resp_integ()
1629 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_wrap_resp_priv()
1694 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_release()
/linux-4.4.14/include/linux/sunrpc/
Dsvc.h248 struct xdr_buf rq_res; member
345 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
/linux-4.4.14/fs/nfs/
Dcallback_xdr.c905 p = (__be32*)((char *)rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len); in nfs4_callback_compound()
906 xdr_init_encode(&xdr_out, &rqstp->rq_res, p); in nfs4_callback_compound()