Searched refs:pipe_empty (Results 1 – 2 of 2) sorted by relevance
185 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() function217 return pipe_empty(pipe->head, pipe->tail); in pipe_is_empty()
449 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed()711 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write()846 while (!pipe_empty(head, tail)) { in splice_to_socket()1759 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()1766 if (pipe_empty(i_head, i_tail) || in splice_pipe_to_pipe()1884 if (pipe_empty(i_head, i_tail) || in link_pipe()