Lines Matching refs:tail
201 unsigned int tail = pipe->tail; in splice_to_pipe() local
215 while (!pipe_full(head, tail, pipe->max_usage)) { in splice_to_pipe()
248 unsigned int tail = pipe->tail; in add_to_pipe() local
254 } else if (pipe_full(head, tail, pipe->max_usage)) { in add_to_pipe()
447 unsigned int tail = pipe->tail; in splice_from_pipe_feed() local
450 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed()
451 struct pipe_buffer *buf = pipe_buf(pipe, tail); in splice_from_pipe_feed()
478 tail++; in splice_from_pipe_feed()
479 pipe->tail = tail; in splice_from_pipe_feed()
494 unsigned int tail = pipe->tail; in eat_empty_buffer() local
495 struct pipe_buffer *buf = pipe_buf(pipe, tail); in eat_empty_buffer()
499 pipe->tail = tail+1; in eat_empty_buffer()
689 unsigned int head, tail; in iter_file_splice_write() local
709 tail = pipe->tail; in iter_file_splice_write()
713 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write()
714 struct pipe_buffer *buf = pipe_buf(pipe, tail); in iter_file_splice_write()
751 tail = pipe->tail; in iter_file_splice_write()
753 struct pipe_buffer *buf = pipe_buf(pipe, tail); in iter_file_splice_write()
758 tail++; in iter_file_splice_write()
759 pipe->tail = tail; in iter_file_splice_write()
810 unsigned int head, tail, bc = 0; in splice_to_socket() local
846 tail = pipe->tail; in splice_to_socket()
848 while (!pipe_empty(head, tail)) { in splice_to_socket()
849 struct pipe_buffer *buf = pipe_buf(pipe, tail); in splice_to_socket()
853 tail++; in splice_to_socket()
870 tail++; in splice_to_socket()
879 if (remain && pipe_occupancy(pipe->head, tail) > 0) in splice_to_socket()
892 tail = pipe->tail; in splice_to_socket()
894 struct pipe_buffer *buf = pipe_buf(pipe, tail); in splice_to_socket()
903 tail++; in splice_to_socket()
907 if (tail != pipe->tail) { in splice_to_socket()
908 pipe->tail = tail; in splice_to_socket()
1122 pipe->tail = pipe->head = 0; in splice_direct_to_actor()
1745 i_tail = ipipe->tail; in splice_pipe_to_pipe()
1759 o_tail = opipe->tail; in splice_pipe_to_pipe()
1799 ipipe->tail = i_tail; in splice_pipe_to_pipe()
1868 i_tail = ipipe->tail; in link_pipe()
1880 o_tail = opipe->tail; in link_pipe()