Lines Matching refs:thislen
1036 int thislen; in xdr_reserve_space_vec() local
1050 thislen = xdr->buf->page_len % PAGE_SIZE; in xdr_reserve_space_vec()
1051 thislen = min_t(size_t, nbytes, PAGE_SIZE - thislen); in xdr_reserve_space_vec()
1053 p = xdr_reserve_space(xdr, thislen); in xdr_reserve_space_vec()
1058 vec[v].iov_len = thislen; in xdr_reserve_space_vec()
1060 nbytes -= thislen; in xdr_reserve_space_vec()
2020 unsigned int page_len, thislen, page_offset; in xdr_process_buf() local
2028 thislen = buf->head[0].iov_len - offset; in xdr_process_buf()
2029 if (thislen > len) in xdr_process_buf()
2030 thislen = len; in xdr_process_buf()
2031 sg_set_buf(sg, buf->head[0].iov_base + offset, thislen); in xdr_process_buf()
2036 len -= thislen; in xdr_process_buf()
2050 thislen = PAGE_SIZE - page_offset; in xdr_process_buf()
2052 if (thislen > page_len) in xdr_process_buf()
2053 thislen = page_len; in xdr_process_buf()
2054 sg_set_page(sg, buf->pages[i], thislen, page_offset); in xdr_process_buf()
2058 page_len -= thislen; in xdr_process_buf()
2061 thislen = PAGE_SIZE; in xdr_process_buf()
2068 thislen = buf->tail[0].iov_len - offset; in xdr_process_buf()
2069 if (thislen > len) in xdr_process_buf()
2070 thislen = len; in xdr_process_buf()
2071 sg_set_buf(sg, buf->tail[0].iov_base + offset, thislen); in xdr_process_buf()
2073 len -= thislen; in xdr_process_buf()