Home
last modified time | relevance | path

Searched refs:rq_vec (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/fs/nfsd/
Dnfsxdr.c266 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfssvc_decode_readargs()
267 rqstp->rq_vec[v].iov_len = len < PAGE_SIZE?len:PAGE_SIZE; in nfssvc_decode_readargs()
268 len -= rqstp->rq_vec[v].iov_len; in nfssvc_decode_readargs()
314 rqstp->rq_vec[0].iov_base = (void*)p; in nfssvc_decode_writeargs()
315 rqstp->rq_vec[0].iov_len = rqstp->rq_arg.head[0].iov_len - hdr; in nfssvc_decode_writeargs()
317 while (len > rqstp->rq_vec[v].iov_len) { in nfssvc_decode_writeargs()
318 len -= rqstp->rq_vec[v].iov_len; in nfssvc_decode_writeargs()
320 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_pages[v]); in nfssvc_decode_writeargs()
321 rqstp->rq_vec[v].iov_len = PAGE_SIZE; in nfssvc_decode_writeargs()
323 rqstp->rq_vec[v].iov_len = len; in nfssvc_decode_writeargs()
Dnfs3xdr.c342 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfs3svc_decode_readargs()
343 rqstp->rq_vec[v].iov_len = len < PAGE_SIZE? len : PAGE_SIZE; in nfs3svc_decode_readargs()
344 len -= rqstp->rq_vec[v].iov_len; in nfs3svc_decode_readargs()
393 rqstp->rq_vec[0].iov_base = (void*)p; in nfs3svc_decode_writeargs()
394 rqstp->rq_vec[0].iov_len = rqstp->rq_arg.head[0].iov_len - hdr; in nfs3svc_decode_writeargs()
396 while (len > rqstp->rq_vec[v].iov_len) { in nfs3svc_decode_writeargs()
397 len -= rqstp->rq_vec[v].iov_len; in nfs3svc_decode_writeargs()
399 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_pages[v]); in nfs3svc_decode_writeargs()
400 rqstp->rq_vec[v].iov_len = PAGE_SIZE; in nfs3svc_decode_writeargs()
402 rqstp->rq_vec[v].iov_len = len; in nfs3svc_decode_writeargs()
Dnfs4xdr.c990 argp->rqstp->rq_vec[0].iov_base = p; in nfsd4_decode_write()
991 argp->rqstp->rq_vec[0].iov_len = avail; in nfsd4_decode_write()
994 while (len > argp->rqstp->rq_vec[v].iov_len) { in nfsd4_decode_write()
995 len -= argp->rqstp->rq_vec[v].iov_len; in nfsd4_decode_write()
997 argp->rqstp->rq_vec[v].iov_base = page_address(argp->pagelist[0]); in nfsd4_decode_write()
1000 argp->rqstp->rq_vec[v].iov_len = PAGE_SIZE; in nfsd4_decode_write()
1003 argp->rqstp->rq_vec[v].iov_len = argp->pagelen; in nfsd4_decode_write()
1007 argp->end = (__be32*) (argp->rqstp->rq_vec[v].iov_base + argp->rqstp->rq_vec[v].iov_len); in nfsd4_decode_write()
1008 argp->p = (__be32*) (argp->rqstp->rq_vec[v].iov_base + (XDR_QUADLEN(len) << 2)); in nfsd4_decode_write()
1009 argp->rqstp->rq_vec[v].iov_len = len; in nfsd4_decode_write()
[all …]
Dnfsproc.c149 rqstp->rq_vec, argp->vlen, in nfsd_proc_read()
176 rqstp->rq_vec, argp->vlen, in nfsd_proc_write()
Dnfs3proc.c173 rqstp->rq_vec, argp->vlen, in nfsd3_proc_read()
204 rqstp->rq_vec, argp->vlen, in nfsd3_proc_write()
Dnfs4proc.c876 write->wr_offset, rqstp->rq_vec, write->wr_vlen, in nfsd4_write()
/linux-2.6.39/include/linux/sunrpc/
Dsvc.h248 struct kvec rq_vec[RPCSVC_MAXPAGES]; /* generally useful.. */ member
/linux-2.6.39/net/sunrpc/
Dsvcsock.c1056 vec = rqstp->rq_vec; in svc_tcp_recvfrom()