Lines Matching refs:nwords
851 return (unsigned int)(XDR_QUADLEN(xdr->buf->len) - xdr->nwords) << 2; in xdr_stream_pos()
859 xdr->nwords = blen > pos ? XDR_QUADLEN(blen) - XDR_QUADLEN(pos) : 0; in xdr_stream_set_pos()
1300 xdr->nwords = XDR_QUADLEN(buf->len); in xdr_init_decode()
1305 xdr->nwords -= p - xdr->p; in xdr_init_decode()
1333 unsigned int nwords = XDR_QUADLEN(nbytes); in __xdr_inline_decode() local
1335 __be32 *q = p + nwords; in __xdr_inline_decode()
1337 if (unlikely(nwords > xdr->nwords || q > xdr->end || q < p)) in __xdr_inline_decode()
1340 xdr->nwords -= nwords; in __xdr_inline_decode()
1416 unsigned int nwords = XDR_QUADLEN(len); in xdr_align_pages() local
1419 if (xdr->nwords == 0) in xdr_align_pages()
1423 if (nwords > xdr->nwords) { in xdr_align_pages()
1424 nwords = xdr->nwords; in xdr_align_pages()
1425 len = nwords << 2; in xdr_align_pages()
1429 else if (nwords < xdr->nwords) { in xdr_align_pages()
1451 unsigned int nwords = XDR_QUADLEN(len); in xdr_read_pages() local
1454 pglen = xdr_align_pages(xdr, nwords << 2); in xdr_read_pages()
1458 base = (nwords << 2) - pglen; in xdr_read_pages()