Lines Matching refs:curbuf
200 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in splice_to_pipe()
239 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in add_to_pipe()
487 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in splice_from_pipe_feed()
514 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in splice_from_pipe_feed()
722 for (n = 0, idx = pipe->curbuf; left && n < pipe->nrbufs; n++, idx++) { in iter_file_splice_write()
756 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in iter_file_splice_write()
761 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in iter_file_splice_write()
993 pipe->nrbufs = pipe->curbuf = 0; in splice_direct_to_actor()
1586 ibuf = ipipe->bufs + ipipe->curbuf; in splice_pipe_to_pipe()
1587 nbuf = (opipe->curbuf + opipe->nrbufs) & (opipe->buffers - 1); in splice_pipe_to_pipe()
1597 ipipe->curbuf = (ipipe->curbuf + 1) & (ipipe->buffers - 1); in splice_pipe_to_pipe()
1676 ibuf = ipipe->bufs + ((ipipe->curbuf + i) & (ipipe->buffers-1)); in link_pipe()
1677 nbuf = (opipe->curbuf + opipe->nrbufs) & (opipe->buffers - 1); in link_pipe()