Lines Matching refs:hdrlen
506 int hdrlen, recvd; in nfs3_xdr_readdirres() local
524 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs3_xdr_readdirres()
525 if (iov->iov_len < hdrlen) { in nfs3_xdr_readdirres()
527 "length %d > %Zu\n", hdrlen, iov->iov_len); in nfs3_xdr_readdirres()
529 } else if (iov->iov_len != hdrlen) { in nfs3_xdr_readdirres()
531 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs3_xdr_readdirres()
535 recvd = req->rq_received - hdrlen; in nfs3_xdr_readdirres()
742 unsigned int hdrlen; in nfs3_xdr_readlinkres() local
753 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs3_xdr_readlinkres()
754 if (iov->iov_len > hdrlen) { in nfs3_xdr_readlinkres()
756 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs3_xdr_readlinkres()
782 int status, count, ocount, recvd, hdrlen; in nfs3_xdr_readres() local
802 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs3_xdr_readres()
803 if (iov->iov_len < hdrlen) { in nfs3_xdr_readres()
805 "length %d > %Zu\n", hdrlen, iov->iov_len); in nfs3_xdr_readres()
807 } else if (iov->iov_len != hdrlen) { in nfs3_xdr_readres()
809 xdr_shift_buf(&req->rq_rcv_buf, iov->iov_len - hdrlen); in nfs3_xdr_readres()
812 recvd = req->rq_received - hdrlen; in nfs3_xdr_readres()