Lines Matching defs:total_len
141 static void anon_pipe_prefill_and_lock(struct pipe_inode_info *pipe, size_t total_len)
146 want = min_t(unsigned int, DIV_ROUND_UP(total_len, PAGE_SIZE),
346 size_t total_len = iov_iter_count(to);
353 if (unlikely(total_len == 0))
376 if (total_len < 8) {
391 total_len -= sizeof(n);
402 if (chars > total_len) {
408 chars = total_len;
430 total_len = chars;
438 total_len -= chars;
439 if (!total_len)
513 size_t total_len = iov_iter_count(from);
531 if (unlikely(total_len == 0))
534 anon_pipe_prefill_and_lock(pipe, total_len);
553 chars = total_len & (PAGE_SIZE-1);