Searched refs:pipe_empty (Results 1 – 5 of 5) sorted by relevance
/linux/fs/ |
A 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++) { in iter_file_splice_write() 864 WARN_ON_ONCE(!pipe_empty(pipe->head, pipe->tail)); in splice_direct_to_actor() 1371 if (!pipe_empty(pipe->head, pipe->tail)) in ipipe_prep() 1377 while (pipe_empty(pipe->head, pipe->tail)) { in ipipe_prep() 1483 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe() 1490 if (pipe_empty(i_head, i_tail) || in splice_pipe_to_pipe() 1611 if (pipe_empty(i_head, i_tail) || in link_pipe()
|
A D | pipe.c | 226 return !pipe_empty(head, tail) || !writers; in pipe_readable() 283 if (!pipe_empty(head, tail)) { in pipe_read() 335 if (!pipe_empty(head, tail)) /* More to do? */ in pipe_read() 383 if (pipe_empty(pipe->head, pipe->tail)) in pipe_read() 453 was_empty = pipe_empty(head, pipe->tail); in pipe_write() 571 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write() 677 if (!pipe_empty(head, tail)) in pipe_poll()
|
/linux/include/linux/ |
A D | pipe_fs_i.h | 132 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() function
|
/linux/drivers/char/ |
A D | virtio_console.c | 936 if (pipe_empty(pipe->head, pipe->tail)) in port_fops_splice_write()
|
/linux/lib/ |
A D | iov_iter.c | 985 if (!pipe_empty(p_head, p_tail)) { in pipe_truncate()
|
Completed in 17 milliseconds