/* Check if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.  */
__be32* xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes)
/* Check if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.  */
__be32* xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes)
{
	__be32 *p = xdr->p;
	__be32 *q = p + XDR_QUADLEN(nbytes);
	if (unlikely(q > xdr->end || q < p))
		return NULL;
	xdr->p = q;
	return p;
}