Lines Matching refs:hdrlen
237 int status, count, recvd, hdrlen; in nfs_xdr_readres() local
250 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readres()
251 if (iov->iov_len < hdrlen) { in nfs_xdr_readres()
253 "length %d > %Zu\n", hdrlen, iov->iov_len); in nfs_xdr_readres()
255 } else if (iov->iov_len != hdrlen) { in nfs_xdr_readres()
257 xdr_shift_buf(&req->rq_rcv_buf, iov->iov_len - hdrlen); in nfs_xdr_readres()
260 recvd = req->rq_received - hdrlen; in nfs_xdr_readres()
395 int hdrlen, recvd; in nfs_xdr_readdirres() local
403 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readdirres()
404 if (iov->iov_len < hdrlen) { in nfs_xdr_readdirres()
406 "length %d > %Zu\n", hdrlen, iov->iov_len); in nfs_xdr_readdirres()
408 } else if (iov->iov_len != hdrlen) { in nfs_xdr_readdirres()
410 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs_xdr_readdirres()
414 recvd = req->rq_received - hdrlen; in nfs_xdr_readdirres()
558 unsigned int hdrlen; in nfs_xdr_readlinkres() local
565 hdrlen = (u8 *) p - (u8 *) iov->iov_base; in nfs_xdr_readlinkres()
566 if (iov->iov_len > hdrlen) { in nfs_xdr_readlinkres()
568 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs_xdr_readlinkres()