Home
last modified time | relevance | path

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

/linux-3.4.99/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c331 dma_map_xdr(xprt, &rqstp->rq_res, xdr_off, in send_write()
383 u32 xfer_len = rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
405 for (xdr_off = rqstp->rq_res.head[0].iov_len, chunk_no = 0; in send_write_chunks()
445 return rqstp->rq_res.page_len + rqstp->rq_res.tail[0].iov_len; in send_write_chunks()
454 u32 xfer_len = rqstp->rq_res.len; in send_reply_chunks()
519 return rqstp->rq_res.len; in send_reply_chunks()
593 dma_map_xdr(rdma, &rqstp->rq_res, xdr_off, in send_reply()
697 ret = map_xdr(rdma, &rqstp->rq_res, vec); in svc_rdma_sendto()
700 inline_bytes = rqstp->rq_res.len; in svc_rdma_sendto()
/linux-3.4.99/fs/nfsd/
Dnfs3acl.c173 struct kvec *head = rqstp->rq_res.head; in nfs3svc_encode_getaclres()
183 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres()
192 n = nfsacl_encode(&rqstp->rq_res, base, inode, in nfs3svc_encode_getaclres()
196 n = nfsacl_encode(&rqstp->rq_res, base + n, inode, in nfs3svc_encode_getaclres()
Dnfsxdr.c436 rqstp->rq_res.page_len = resp->len; in nfssvc_encode_readlinkres()
439 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readlinkres()
441 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfssvc_encode_readlinkres()
455 rqstp->rq_res.page_len = resp->count; in nfssvc_encode_readres()
458 rqstp->rq_res.tail[0].iov_base = p; in nfssvc_encode_readres()
460 rqstp->rq_res.tail[0].iov_len = 4 - (resp->count&3); in nfssvc_encode_readres()
473 rqstp->rq_res.page_len = (((unsigned long)p-1) & ~PAGE_MASK)+1; in nfssvc_encode_readdirres()
Dnfs2acl.c233 struct kvec *head = rqstp->rq_res.head; in nfsaclsvc_encode_getaclres()
253 rqstp->rq_res.page_len = w = nfsacl_size( in nfsaclsvc_encode_getaclres()
262 n = nfsacl_encode(&rqstp->rq_res, base, inode, in nfsaclsvc_encode_getaclres()
266 n = nfsacl_encode(&rqstp->rq_res, base + n, inode, in nfsaclsvc_encode_getaclres()
Dnfscache.c225 svc_putu32(&rqstp->rq_res.head[0], rp->c_replstat); in nfsd_cache_lookup()
261 struct kvec *resv = &rqstp->rq_res.head[0], *cachv; in nfsd_cache_update()
313 struct kvec *vec = &rqstp->rq_res.head[0]; in nfsd_cache_append()
Dnfs3xdr.c682 rqstp->rq_res.page_len = resp->len; in nfs3svc_encode_readlinkres()
685 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readlinkres()
687 rqstp->rq_res.tail[0].iov_len = 4 - (resp->len&3); in nfs3svc_encode_readlinkres()
706 rqstp->rq_res.page_len = resp->count; in nfs3svc_encode_readres()
709 rqstp->rq_res.tail[0].iov_base = p; in nfs3svc_encode_readres()
711 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()
Dnfssvc.c619 nfserrp = rqstp->rq_res.head[0].iov_base in nfsd_dispatch()
620 + rqstp->rq_res.head[0].iov_len; in nfsd_dispatch()
621 rqstp->rq_res.head[0].iov_len += sizeof(__be32); in nfsd_dispatch()
Dvfs.c922 if (rqstp->rq_res.page_len == 0) { in nfsd_splice_actor()
927 rqstp->rq_res.page_base = buf->offset; in nfsd_splice_actor()
928 rqstp->rq_res.page_len = size; in nfsd_splice_actor()
935 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
937 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
Dnfs4proc.c1160 resp->xbuf = &rqstp->rq_res; in nfsd4_proc_compound()
1161 resp->p = rqstp->rq_res.head[0].iov_base + in nfsd4_proc_compound()
1162 rqstp->rq_res.head[0].iov_len; in nfsd4_proc_compound()
1166 resp->end = rqstp->rq_res.head[0].iov_base + PAGE_SIZE; in nfsd4_proc_compound()
Dnfs4xdr.c3524 struct xdr_buf *xb = &resp->rqstp->rq_res; in nfsd4_check_resp_size()
3665 if (rqstp->rq_res.page_len) in nfs4svc_encode_compoundres()
3666 iov = &rqstp->rq_res.tail[0]; in nfs4svc_encode_compoundres()
3668 iov = &rqstp->rq_res.head[0]; in nfs4svc_encode_compoundres()
/linux-3.4.99/net/sunrpc/
Dsvc.c1296 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_process()
1307 rqstp->rq_res.pages = rqstp->rq_respages + 1; in svc_process()
1308 rqstp->rq_res.len = 0; in svc_process()
1309 rqstp->rq_res.page_base = 0; in svc_process()
1310 rqstp->rq_res.page_len = 0; in svc_process()
1311 rqstp->rq_res.buflen = PAGE_SIZE; in svc_process()
1312 rqstp->rq_res.tail[0].iov_base = NULL; in svc_process()
1313 rqstp->rq_res.tail[0].iov_len = 0; in svc_process()
1345 struct kvec *resv = &rqstp->rq_res.head[0]; in bc_svc_process()
1356 memcpy(&rqstp->rq_res, &req->rq_snd_buf, sizeof(rqstp->rq_res)); in bc_svc_process()
[all …]
Dsvc_xprt.c430 space += rqstp->rq_res.head[0].iov_len; in svc_reserve()
452 rqstp->rq_res.page_len = 0; in svc_xprt_release()
453 rqstp->rq_res.page_base = 0; in svc_xprt_release()
460 if ((rqstp->rq_res.len) > rqstp->rq_reserved) in svc_xprt_release()
463 rqstp->rq_res.len); in svc_xprt_release()
465 rqstp->rq_res.head[0].iov_len = 0; in svc_xprt_release()
757 rqstp->rq_res.len = 0; in svc_recv()
790 xb = &rqstp->rq_res; in svc_send()
Dsvcsock.c675 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
678 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
1199 struct xdr_buf *xbufp = &rqstp->rq_res; in svc_tcp_sendto()
1210 sent = svc_sendto(rqstp, &rqstp->rq_res); in svc_tcp_sendto()
1230 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_tcp_prep_reply_hdr()
Dsvcauth_unix.c744 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_null_accept()
807 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_unix_accept()
/linux-3.4.99/net/sunrpc/auth_gss/
Dsvcauth_gss.c700 svc_putnl(rqstp->rq_res.head, RPC_AUTH_NULL); in gss_write_null_verf()
701 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_null_verf()
719 svc_putnl(rqstp->rq_res.head, RPC_AUTH_GSS); in gss_write_verf()
725 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_verf()
995 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_handle_init()
1071 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_accept()
1246 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_wrap_resp_integ()
1296 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_wrap_resp_priv()
1361 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_release()
/linux-3.4.99/include/linux/sunrpc/
Dsvc.h243 struct xdr_buf rq_res; member
330 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
/linux-3.4.99/fs/nfs/
Dcallback_xdr.c874 p = (__be32*)((char *)rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len); in nfs4_callback_compound()
875 xdr_init_encode(&xdr_out, &rqstp->rq_res, p); in nfs4_callback_compound()