Searched refs:newbuflen (Results 1 - 1 of 1) sorted by relevance

/net/sunrpc/
H A Dxdr.c656 * @newbuflen: new maximum number of bytes available
660 * If the available space is already smaller than newbuflen, returns 0
661 * and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen
662 * and ensures xdr->end is set at most offset newbuflen from the start
665 int xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen) argument
671 if (newbuflen < 0 || newbuflen < buf->len)
673 if (newbuflen > buf->buflen)
675 if (newbuflen < end_offset)
676 xdr->end = (void *)xdr->end + newbuflen
[all...]

Completed in 119 milliseconds