Lines Matching refs:thislen
813 int thislen; in xdr_reserve_space_vec() local
827 thislen = xdr->buf->page_len % PAGE_SIZE; in xdr_reserve_space_vec()
828 thislen = min_t(size_t, nbytes, PAGE_SIZE - thislen); in xdr_reserve_space_vec()
830 p = xdr_reserve_space(xdr, thislen); in xdr_reserve_space_vec()
835 vec[v].iov_len = thislen; in xdr_reserve_space_vec()
837 nbytes -= thislen; in xdr_reserve_space_vec()
1784 unsigned int page_len, thislen, page_offset; in xdr_process_buf() local
1792 thislen = buf->head[0].iov_len - offset; in xdr_process_buf()
1793 if (thislen > len) in xdr_process_buf()
1794 thislen = len; in xdr_process_buf()
1795 sg_set_buf(sg, buf->head[0].iov_base + offset, thislen); in xdr_process_buf()
1800 len -= thislen; in xdr_process_buf()
1814 thislen = PAGE_SIZE - page_offset; in xdr_process_buf()
1816 if (thislen > page_len) in xdr_process_buf()
1817 thislen = page_len; in xdr_process_buf()
1818 sg_set_page(sg, buf->pages[i], thislen, page_offset); in xdr_process_buf()
1822 page_len -= thislen; in xdr_process_buf()
1825 thislen = PAGE_SIZE; in xdr_process_buf()
1832 thislen = buf->tail[0].iov_len - offset; in xdr_process_buf()
1833 if (thislen > len) in xdr_process_buf()
1834 thislen = len; in xdr_process_buf()
1835 sg_set_buf(sg, buf->tail[0].iov_base + offset, thislen); in xdr_process_buf()
1837 len -= thislen; in xdr_process_buf()