Lines Matching refs:nwords
894 return (unsigned int)(XDR_QUADLEN(xdr->buf->len) - xdr->nwords) << 2; in xdr_stream_pos()
902 xdr->nwords = blen > pos ? XDR_QUADLEN(blen) - XDR_QUADLEN(pos) : 0; in xdr_stream_set_pos()
1222 xdr->nwords -= XDR_QUADLEN(nbytes); in xdr_truncate_decode()
1409 xdr->nwords = XDR_QUADLEN(buf->len); in xdr_init_decode()
1414 xdr->nwords -= p - xdr->p; in xdr_init_decode()
1452 unsigned int nwords = XDR_QUADLEN(nbytes); in __xdr_inline_decode() local
1454 __be32 *q = p + nwords; in __xdr_inline_decode()
1456 if (unlikely(nwords > xdr->nwords || q > xdr->end || q < p)) in __xdr_inline_decode()
1459 xdr->nwords -= nwords; in __xdr_inline_decode()
1535 unsigned int nwords = XDR_QUADLEN(len); in xdr_align_pages() local
1538 if (xdr->nwords == 0) in xdr_align_pages()
1542 if (nwords > xdr->nwords) { in xdr_align_pages()
1543 nwords = xdr->nwords; in xdr_align_pages()
1544 len = nwords << 2; in xdr_align_pages()
1548 else if (nwords < xdr->nwords) { in xdr_align_pages()
1570 unsigned int nwords = XDR_QUADLEN(len); in xdr_read_pages() local
1573 pglen = xdr_align_pages(xdr, nwords << 2); in xdr_read_pages()
1577 base = (nwords << 2) - pglen; in xdr_read_pages()