Searched refs:pglen (Results 1 – 2 of 2) sorted by relevance
92 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb() local107 if (unlikely(pglen == 0)) in xdr_partial_copy_from_skb()109 if (unlikely(base >= pglen)) { in xdr_partial_copy_from_skb()110 base -= pglen; in xdr_partial_copy_from_skb()114 pglen -= base; in xdr_partial_copy_from_skb()137 if (pglen < len) in xdr_partial_copy_from_skb()138 len = pglen; in xdr_partial_copy_from_skb()142 if (pglen < len) in xdr_partial_copy_from_skb()143 len = pglen; in xdr_partial_copy_from_skb()152 } while ((pglen -= len) != 0); in xdr_partial_copy_from_skb()
555 unsigned int pglen = 0; in xdr_buf_pages_copy_right() local569 pglen = buf->page_len - to; in xdr_buf_pages_copy_right()570 talen = len - pglen; in xdr_buf_pages_copy_right()574 pglen = len; in xdr_buf_pages_copy_right()577 buf->page_base + base + pglen, talen); in xdr_buf_pages_copy_right()579 buf->page_base + base, pglen); in xdr_buf_pages_copy_right()589 unsigned int pglen = 0, pgto = 0; in xdr_buf_head_copy_right() local601 pglen = len; in xdr_buf_head_copy_right()602 if (pgto + pglen > buf->page_len) { in xdr_buf_head_copy_right()603 talen = pgto + pglen - buf->page_len; in xdr_buf_head_copy_right()[all …]