Searched refs:pipe_empty (Results 1 – 4 of 4) sorted by relevance
/linux/include/linux/ |
H A D | pipe_fs_i.h | 194 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() function 226 return pipe_empty(pipe->head, pipe->tail); in pipe_is_empty()
|
/linux/fs/ |
H A D | pipe.c | 216 return !pipe_empty(idx.head, idx.tail) || !writers; in pipe_readable() 303 if (!pipe_empty(head, tail)) { in pipe_read() 348 if (!pipe_empty(head, tail)) /* More to do? */ in pipe_read() 471 was_empty = pipe_empty(head, pipe->tail); in pipe_write() 626 while (!pipe_empty(head, tail)) { in pipe_ioctl() 684 if (!pipe_empty(idx.head, idx.tail)) in pipe_poll()
|
H A D | splice.c | 453 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed() 718 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write() 851 while (!pipe_empty(head, tail)) { in splice_to_socket() 1767 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe() 1774 if (pipe_empty(i_head, i_tail) || in splice_pipe_to_pipe() 1895 if (pipe_empty(i_head, i_tail) || in link_pipe()
|
/linux/fs/fuse/ |
H A D | dev.c | 2137 for (idx = tail; !pipe_empty(head, idx) && rem < len; idx++) in fuse_dev_splice_write() 2149 if (WARN_ON(nbuf >= count || pipe_empty(head, tail))) in fuse_dev_splice_write()
|