Home
last modified time | relevance | path

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

/linux-2.6.39/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()
517 return rqstp->rq_res.len; in send_reply_chunks()
591 dma_map_xdr(rdma, &rqstp->rq_res, xdr_off, in send_reply()
695 ret = map_xdr(rdma, &rqstp->rq_res, vec); in svc_rdma_sendto()
698 inline_bytes = rqstp->rq_res.len; in svc_rdma_sendto()
/linux-2.6.39/net/sunrpc/
Dsvc.c1214 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_process()
1225 rqstp->rq_res.pages = rqstp->rq_respages + 1; in svc_process()
1226 rqstp->rq_res.len = 0; in svc_process()
1227 rqstp->rq_res.page_base = 0; in svc_process()
1228 rqstp->rq_res.page_len = 0; in svc_process()
1229 rqstp->rq_res.buflen = PAGE_SIZE; in svc_process()
1230 rqstp->rq_res.tail[0].iov_base = NULL; in svc_process()
1231 rqstp->rq_res.tail[0].iov_len = 0; in svc_process()
1263 struct kvec *resv = &rqstp->rq_res.head[0]; in bc_svc_process()
1274 memcpy(&rqstp->rq_res, &req->rq_snd_buf, sizeof(rqstp->rq_res)); in bc_svc_process()
[all …]
Dsvc_xprt.c440 space += rqstp->rq_res.head[0].iov_len; in svc_reserve()
462 rqstp->rq_res.page_len = 0; in svc_xprt_release()
463 rqstp->rq_res.page_base = 0; in svc_xprt_release()
470 if ((rqstp->rq_res.len) > rqstp->rq_reserved) in svc_xprt_release()
473 rqstp->rq_res.len); in svc_xprt_release()
475 rqstp->rq_res.head[0].iov_len = 0; in svc_xprt_release()
767 rqstp->rq_res.len = 0; in svc_recv()
800 xb = &rqstp->rq_res; in svc_send()
Dsvcsock.c635 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
638 error = svc_sendto(rqstp, &rqstp->rq_res); in svc_udp_sendto()
1144 struct xdr_buf *xbufp = &rqstp->rq_res; in svc_tcp_sendto()
1155 sent = svc_sendto(rqstp, &rqstp->rq_res); in svc_tcp_sendto()
1175 struct kvec *resv = &rqstp->rq_res.head[0]; in svc_tcp_prep_reply_hdr()
Dsvcauth_unix.c794 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_null_accept()
857 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_unix_accept()
/linux-2.6.39/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.c224 svc_putu32(&rqstp->rq_res.head[0], rp->c_replstat); in nfsd_cache_lookup()
260 struct kvec *resv = &rqstp->rq_res.head[0], *cachv; in nfsd_cache_update()
312 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.c604 nfserrp = rqstp->rq_res.head[0].iov_base in nfsd_dispatch()
605 + rqstp->rq_res.head[0].iov_len; in nfsd_dispatch()
606 rqstp->rq_res.head[0].iov_len += sizeof(__be32); in nfsd_dispatch()
Dnfs4proc.c1048 resp->xbuf = &rqstp->rq_res; in nfsd4_proc_compound()
1049 resp->p = rqstp->rq_res.head[0].iov_base + in nfsd4_proc_compound()
1050 rqstp->rq_res.head[0].iov_len; in nfsd4_proc_compound()
1054 resp->end = rqstp->rq_res.head[0].iov_base + PAGE_SIZE; in nfsd4_proc_compound()
Dvfs.c850 if (rqstp->rq_res.page_len == 0) { in nfsd_splice_actor()
855 rqstp->rq_res.page_base = buf->offset; in nfsd_splice_actor()
856 rqstp->rq_res.page_len = size; in nfsd_splice_actor()
863 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
865 rqstp->rq_res.page_len += size; in nfsd_splice_actor()
Dnfs4xdr.c3235 struct xdr_buf *xb = &resp->rqstp->rq_res; in nfsd4_check_drc_limit()
3378 if (rqstp->rq_res.page_len) in nfs4svc_encode_compoundres()
3379 iov = &rqstp->rq_res.tail[0]; in nfs4svc_encode_compoundres()
3381 iov = &rqstp->rq_res.head[0]; in nfs4svc_encode_compoundres()
/linux-2.6.39/net/sunrpc/auth_gss/
Dsvcauth_gss.c704 svc_putnl(rqstp->rq_res.head, RPC_AUTH_NULL); in gss_write_null_verf()
705 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_null_verf()
723 svc_putnl(rqstp->rq_res.head, RPC_AUTH_GSS); in gss_write_verf()
729 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_verf()
999 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_handle_init()
1074 struct kvec *resv = &rqstp->rq_res.head[0]; in svcauth_gss_accept()
1248 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_wrap_resp_integ()
1298 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_wrap_resp_priv()
1363 struct xdr_buf *resbuf = &rqstp->rq_res; in svcauth_gss_release()
/linux-2.6.39/include/linux/sunrpc/
Dsvc.h243 struct xdr_buf rq_res; member
317 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check()
/linux-2.6.39/fs/nfs/
Dcallback_xdr.c788 p = (__be32*)((char *)rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len); in nfs4_callback_compound()
789 xdr_init_encode(&xdr_out, &rqstp->rq_res, p); in nfs4_callback_compound()