Home
last modified time | relevance | path

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

/Linux-v6.6/fs/
Dsplice.c452 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed()
529 while (pipe_empty(pipe->head, pipe->tail)) { in splice_from_pipe_next()
713 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write()
815 while (pipe_empty(pipe->head, pipe->tail)) { in splice_to_socket()
843 while (!pipe_empty(head, tail)) { in splice_to_socket()
1063 WARN_ON_ONCE(!pipe_empty(pipe->head, pipe->tail)); in splice_direct_to_actor()
1607 if (!pipe_empty(pipe->head, pipe->tail)) in ipipe_prep()
1613 while (pipe_empty(pipe->head, pipe->tail)) { in ipipe_prep()
1719 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
1726 if (pipe_empty(i_head, i_tail) || in splice_pipe_to_pipe()
[all …]
Dpipe.c227 return !pipe_empty(head, tail) || !writers; in pipe_readable()
285 if (!pipe_empty(head, tail)) { in pipe_read()
337 if (!pipe_empty(head, tail)) /* More to do? */ in pipe_read()
386 if (pipe_empty(pipe->head, pipe->tail)) in pipe_read()
456 was_empty = pipe_empty(head, pipe->tail); in pipe_write()
574 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
680 if (!pipe_empty(head, tail)) in pipe_poll()
/Linux-v6.6/include/linux/
Dpipe_fs_i.h132 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() function
/Linux-v6.6/drivers/char/
Dvirtio_console.c929 if (pipe_empty(pipe->head, pipe->tail)) in port_fops_splice_write()