Lines Matching refs:rcvbuf
235 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readres() local
245 if (rcvbuf->page_len) { in nfs_xdr_readres()
246 u32 end = page_offset(rcvbuf->pages[0]) + rcvbuf->page_base + count; in nfs_xdr_readres()
392 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readdirres() local
393 struct iovec *iov = rcvbuf->head; in nfs_xdr_readdirres()
410 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs_xdr_readdirres()
413 pglen = rcvbuf->page_len; in nfs_xdr_readdirres()
417 page = rcvbuf->pages; in nfs_xdr_readdirres()
556 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readlinkres() local
557 struct iovec *iov = rcvbuf->head; in nfs_xdr_readlinkres()
568 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs_xdr_readlinkres()
571 strlen = (u32*)kmap(rcvbuf->pages[0]); in nfs_xdr_readlinkres()
574 if (len >= rcvbuf->page_len - sizeof(u32) || len > NFS2_MAXPATHLEN) { in nfs_xdr_readlinkres()
576 kunmap(rcvbuf->pages[0]); in nfs_xdr_readlinkres()
583 kunmap(rcvbuf->pages[0]); in nfs_xdr_readlinkres()