Searched refs:newbuf (Results 1 – 2 of 2) sorted by relevance
200 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in splice_to_pipe() local201 struct pipe_buffer *buf = pipe->bufs + newbuf; in splice_to_pipe()239 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in add_to_pipe() local240 pipe->bufs[newbuf] = *buf; in add_to_pipe()
436 int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); in pipe_write() local437 struct pipe_buffer *buf = pipe->bufs + newbuf; in pipe_write()