Home
last modified time | relevance | path

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

/linux-6.1.9/fs/
Dsplice.c401 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed()
478 while (pipe_empty(pipe->head, pipe->tail)) { in splice_from_pipe_next()
662 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write()
859 WARN_ON_ONCE(!pipe_empty(pipe->head, pipe->tail)); in splice_direct_to_actor()
1367 if (!pipe_empty(pipe->head, pipe->tail)) in ipipe_prep()
1373 while (pipe_empty(pipe->head, pipe->tail)) { in ipipe_prep()
1479 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
1486 if (pipe_empty(i_head, i_tail) || in splice_pipe_to_pipe()
1607 if (pipe_empty(i_head, i_tail) || in link_pipe()
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()
385 if (pipe_empty(pipe->head, pipe->tail)) in pipe_read()
455 was_empty = pipe_empty(head, pipe->tail); in pipe_write()
573 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
679 if (!pipe_empty(head, tail)) in pipe_poll()
/linux-6.1.9/include/linux/
Dpipe_fs_i.h132 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() function
/linux-6.1.9/drivers/char/
Dvirtio_console.c936 if (pipe_empty(pipe->head, pipe->tail)) in port_fops_splice_write()