• Home
  • Raw
  • Download

Lines Matching refs:head

186 	unsigned int head = pipe->head;  in splice_to_pipe()  local
199 while (!pipe_full(head, tail, pipe->max_usage)) { in splice_to_pipe()
200 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in splice_to_pipe()
209 head++; in splice_to_pipe()
210 pipe->head = head; in splice_to_pipe()
231 unsigned int head = pipe->head; in add_to_pipe() local
239 } else if (pipe_full(head, tail, pipe->max_usage)) { in add_to_pipe()
242 pipe->bufs[head & mask] = *buf; in add_to_pipe()
243 pipe->head = head + 1; in add_to_pipe()
357 pipe_occupancy(pipe->head, pipe->tail) > 1) in pipe_to_sendpage()
395 unsigned int head = pipe->head; in splice_from_pipe_feed() local
400 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed()
477 while (pipe_empty(pipe->head, pipe->tail)) { in splice_from_pipe_next()
636 unsigned int head, tail, mask; in iter_file_splice_write() local
655 head = pipe->head; in iter_file_splice_write()
661 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write()
780 p_space = pipe->max_usage - pipe_occupancy(pipe->head, pipe->tail); in do_splice_to()
858 WARN_ON_ONCE(!pipe_empty(pipe->head, pipe->tail)); in splice_direct_to_actor()
902 pipe->tail = pipe->head = 0; in splice_direct_to_actor()
988 if (!pipe_full(pipe->head, pipe->tail, pipe->max_usage)) in wait_for_space()
1366 if (!pipe_empty(pipe->head, pipe->tail)) in ipipe_prep()
1372 while (pipe_empty(pipe->head, pipe->tail)) { in ipipe_prep()
1402 if (!pipe_full(pipe->head, pipe->tail, pipe->max_usage)) in opipe_prep()
1408 while (pipe_full(pipe->head, pipe->tail, pipe->max_usage)) { in opipe_prep()
1462 o_head = opipe->head; in splice_pipe_to_pipe()
1475 i_head = ipipe->head; in splice_pipe_to_pipe()
1520 opipe->head = o_head; in splice_pipe_to_pipe()
1545 opipe->head = o_head; in splice_pipe_to_pipe()
1588 o_head = opipe->head; in link_pipe()
1599 i_head = ipipe->head; in link_pipe()
1638 opipe->head = o_head; in link_pipe()