Lines Matching refs:left
46 unsigned left; \
52 left = (STEP); \
54 len -= left; \
62 if (left) \
82 unsigned left; \
95 left = (STEP); \
97 len -= left; \
100 if (left || n == 0) \
176 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
199 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
200 copy -= left; in copy_page_to_iter_iovec()
205 while (unlikely(!left && bytes)) { in copy_page_to_iter_iovec()
209 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
210 copy -= left; in copy_page_to_iter_iovec()
228 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
229 copy -= left; in copy_page_to_iter_iovec()
233 while (unlikely(!left && bytes)) { in copy_page_to_iter_iovec()
237 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
238 copy -= left; in copy_page_to_iter_iovec()
260 size_t skip, copy, left, wanted; in copy_page_from_iter_iovec() local
283 left = copyin(to, buf, copy); in copy_page_from_iter_iovec()
284 copy -= left; in copy_page_from_iter_iovec()
289 while (unlikely(!left && bytes)) { in copy_page_from_iter_iovec()
293 left = copyin(to, buf, copy); in copy_page_from_iter_iovec()
294 copy -= left; in copy_page_from_iter_iovec()
312 left = copyin(to, buf, copy); in copy_page_from_iter_iovec()
313 copy -= left; in copy_page_from_iter_iovec()
317 while (unlikely(!left && bytes)) { in copy_page_from_iter_iovec()
321 left = copyin(to, buf, copy); in copy_page_from_iter_iovec()
322 copy -= left; in copy_page_from_iter_iovec()
556 ssize_t left; in push_pipe() local
563 left = size; in push_pipe()
568 left -= PAGE_SIZE - off; in push_pipe()
569 if (left <= 0) { in push_pipe()
586 buf->len = min_t(ssize_t, left, PAGE_SIZE); in push_pipe()
587 left -= buf->len; in push_pipe()
591 if (left == 0) in push_pipe()
594 return size - left; in push_pipe()
1020 size_t off = i->iov_offset, left = size; in pipe_advance() local
1023 left += off - pipe->bufs[i_head & p_mask].offset; in pipe_advance()
1026 if (left <= buf->len) in pipe_advance()
1028 left -= buf->len; in pipe_advance()
1032 i->iov_offset = buf->offset + left; in pipe_advance()