Searched refs:pipe_empty (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/ |
D | splice.c | 404 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed() 481 while (pipe_empty(pipe->head, pipe->tail)) { in splice_from_pipe_next() 665 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++, n++) { in iter_file_splice_write() 856 WARN_ON_ONCE(!pipe_empty(pipe->head, pipe->tail)); in splice_direct_to_actor() 1364 if (!pipe_empty(pipe->head, pipe->tail)) in ipipe_prep() 1370 while (pipe_empty(pipe->head, pipe->tail)) { in ipipe_prep() 1476 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe() 1483 if (pipe_empty(i_head, i_tail) || in splice_pipe_to_pipe() 1604 if (pipe_empty(i_head, i_tail) || in link_pipe()
|
D | pipe.c | 226 return !pipe_empty(head, tail) || !writers; in pipe_readable() 284 if (!pipe_empty(head, tail)) { in pipe_read() 336 if (!pipe_empty(head, tail)) /* More to do? */ in pipe_read() 384 if (pipe_empty(pipe->head, pipe->tail)) in pipe_read() 454 was_empty = pipe_empty(head, pipe->tail); in pipe_write() 572 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write() 678 if (!pipe_empty(head, tail)) in pipe_poll()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pipe_fs_i.h | 132 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() function
|
/kernel/linux/linux-5.10/drivers/char/ |
D | virtio_console.c | 935 if (pipe_empty(pipe->head, pipe->tail)) in port_fops_splice_write()
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 1016 if (!pipe_empty(p_head, p_tail)) { in pipe_truncate()
|