Home
last modified time | relevance | path

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

/linux-4.1.27/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c188 dma_map_xdr(xprt, &rqstp->rq_res, xdr_off, in send_write()
238 u32 xfer_len = rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
254 for (xdr_off = rqstp->rq_res.head[0].iov_len, chunk_no = 0; in send_write_chunks()
292 return rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
301 u32 xfer_len = rqstp->rq_res.len; in send_reply_chunks()
357 return rqstp->rq_res.len; in send_reply_chunks()
425 dma_map_xdr(rdma, &rqstp->rq_res, xdr_off, in send_reply()
520 ret = map_xdr(rdma, &rqstp->rq_res, vec); in svc_rdma_sendto()
523 inline_bytes = rqstp->rq_res.len; in svc_rdma_sendto()
/linux-4.1.27/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.c505 svc_putu32(&rqstp->rq_res.head[0], rp->c_replstat); in nfsd_cache_lookup()
541 struct kvec *resv = &rqstp->rq_res.head[0], *cachv; in nfsd_cache_update()
601 struct kvec *vec = &rqstp->rq_res.head[0]; in nfsd_cache_append()
Dnfssvc.c689 nfserrp = rqstp->rq_res.head[0].iov_base in nfsd_dispatch()
690 + rqstp->rq_res.head[0].iov_len; in nfsd_dispatch()
691 rqstp->rq_res.head[0].iov_len += sizeof(__be32); in nfsd_dispatch()
Dvfs.c836 if (rqstp->rq_res.page_len == 0) { in nfsd_splice_actor()
840 rqstp->rq_res.page_base = buf->offset; in nfsd_splice_actor()
841 rqstp->rq_res.page_len = size; in nfsd_splice_actor()
847 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
849 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
Dnfs4proc.c1589 struct xdr_buf *buf = &rqstp->rq_res; in svcxdr_init_encode()
Dnfs4xdr.c4295 struct xdr_buf *buf = &resp->rqstp->rq_res; in nfsd4_check_resp_size()
/linux-4.1.27/net/sunrpc/
Dsvc.c1302 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_process()
1313 rqstp->rq_res.pages = rqstp->rq_respages + 1; in svc_process()
1314 rqstp->rq_res.len = 0; in svc_process()
1315 rqstp->rq_res.page_base = 0; in svc_process()
1316 rqstp->rq_res.page_len = 0; in svc_process()
1317 rqstp->rq_res.buflen = PAGE_SIZE; in svc_process()
1318 rqstp->rq_res.tail[0].iov_base = NULL; in svc_process()
1319 rqstp->rq_res.tail[0].iov_len = 0; in svc_process()
1352 struct kvec *resv = &rqstp->rq_res.head[0]; in bc_svc_process()
1363 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.c654 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
657 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
1189 struct xdr_buf *xbufp = &rqstp->rq_res; in svc_tcp_sendto()
1200 sent = svc_sendto(rqstp, &rqstp->rq_res); in svc_tcp_sendto()
1220 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.1.27/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.1.27/include/linux/sunrpc/
Dsvc.h243 struct xdr_buf rq_res; member
340 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
/linux-4.1.27/fs/nfs/
Dcallback_xdr.c908 p = (__be32*)((char *)rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len); in nfs4_callback_compound()
909 xdr_init_encode(&xdr_out, &rqstp->rq_res, p); in nfs4_callback_compound()