Lines Matching refs:buflen
183 unsigned int buflen = head->iov_len; in xdr_inline_pages() local
192 tail->iov_len = buflen - offset; in xdr_inline_pages()
196 xdr->buflen += len; in xdr_inline_pages()
430 buf->buflen -= len; in xdr_shrink_bufhead()
432 if (buf->len > buf->buflen) in xdr_shrink_bufhead()
433 buf->len = buf->buflen; in xdr_shrink_bufhead()
459 tailbuf_len = buf->buflen - buf->head->iov_len - buf->page_len; in xdr_shrink_pagelen()
483 buf->buflen -= len; in xdr_shrink_pagelen()
485 if (buf->len > buf->buflen) in xdr_shrink_pagelen()
486 buf->len = buf->buflen; in xdr_shrink_pagelen()
526 int scratch_len = buf->buflen - buf->page_len - buf->tail[0].iov_len; in xdr_init_encode()
585 if (xdr->buf->len + nbytes > xdr->buf->buflen) in xdr_get_next_encode_buffer()
610 space_left = xdr->buf->buflen - xdr->buf->len; in xdr_get_next_encode_buffer()
744 if (newbuflen > buf->buflen) in xdr_restrict_buflen()
748 buf->buflen = newbuflen; in xdr_restrict_buflen()
783 buf->buflen += len; in xdr_write_pages()
895 buf->buflen = len; in xdr_init_decode_pages()
925 void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen) in xdr_set_scratch_buffer() argument
928 xdr->scratch.iov_len = buflen; in xdr_set_scratch_buffer()
1094 buf->buflen = buf->len = iov->iov_len; in xdr_buf_from_iov()
1116 subbuf->buflen = subbuf->len = len; in xdr_buf_subsegment()
1331 if (mic->len > buf->buflen - buf->len) in xdr_buf_read_mic()