Home
last modified time | relevance | path

Searched refs:pipe_empty (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/include/linux/
H A Dpipe_fs_i.h194 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-6.15/fs/
H A Dpipe.c236 return !pipe_empty(idx.head, idx.tail) || !writers; in pipe_readable()
322 if (!pipe_empty(head, tail)) { in anon_pipe_read()
367 if (!pipe_empty(head, tail)) /* More to do? */ in anon_pipe_read()
476 was_empty = pipe_empty(head, pipe->tail); in anon_pipe_write()
630 while (!pipe_empty(head, tail)) { in pipe_ioctl()
688 if (!pipe_empty(idx.head, idx.tail)) in pipe_poll()
H A Dsplice.c450 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed()
713 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write()
845 while (!pipe_empty(head, tail)) { in splice_to_socket()
1758 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
1765 if (pipe_empty(i_head, i_tail) || in splice_pipe_to_pipe()
1883 if (pipe_empty(i_head, i_tail) || in link_pipe()
/linux-6.15/fs/fuse/
H A Ddev.c2250 for (idx = tail; !pipe_empty(head, idx) && rem < len; idx++) in fuse_dev_splice_write()
2262 if (WARN_ON(nbuf >= count || pipe_empty(head, tail))) in fuse_dev_splice_write()