Home
last modified time | relevance | path

Searched refs:rcvbuf (Results 1 – 3 of 3) sorted by relevance

/fs/nfs/
Dnfs2xdr.c425 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readdirres() local
426 struct kvec *iov = rcvbuf->head; in nfs_xdr_readdirres()
444 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs_xdr_readdirres()
447 pglen = rcvbuf->page_len; in nfs_xdr_readdirres()
448 recvd = rcvbuf->len - hdrlen; in nfs_xdr_readdirres()
451 page = rcvbuf->pages; in nfs_xdr_readdirres()
599 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readlinkres() local
600 struct kvec *iov = rcvbuf->head; in nfs_xdr_readlinkres()
610 if (len >= rcvbuf->page_len) { in nfs_xdr_readlinkres()
621 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs_xdr_readlinkres()
[all …]
Dnfs3xdr.c508 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs3_xdr_readdirres() local
509 struct kvec *iov = rcvbuf->head; in nfs3_xdr_readdirres()
536 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs3_xdr_readdirres()
539 pglen = rcvbuf->page_len; in nfs3_xdr_readdirres()
540 recvd = rcvbuf->len - hdrlen; in nfs3_xdr_readdirres()
543 page = rcvbuf->pages; in nfs3_xdr_readdirres()
827 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs3_xdr_readlinkres() local
828 struct kvec *iov = rcvbuf->head; in nfs3_xdr_readlinkres()
842 if (len >= rcvbuf->page_len) { in nfs3_xdr_readlinkres()
855 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs3_xdr_readlinkres()
[all …]
Dnfs4xdr.c3354 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in decode_readdir() local
3355 struct page *page = *rcvbuf->pages; in decode_readdir()
3356 struct kvec *iov = rcvbuf->head; in decode_readdir()
3358 u32 recvd, pglen = rcvbuf->page_len; in decode_readdir()
3375 recvd = rcvbuf->len - hdrlen; in decode_readdir()
3449 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in decode_readlink() local
3450 struct kvec *iov = rcvbuf->head; in decode_readlink()
3464 if (len >= rcvbuf->page_len || len <= 0) { in decode_readlink()
3483 kaddr = (char *)kmap_atomic(rcvbuf->pages[0], KM_USER0); in decode_readlink()
3484 kaddr[len+rcvbuf->page_base] = '\0'; in decode_readlink()