Home
last modified time | relevance | path

Searched refs:curbuf (Results 1 – 2 of 2) sorted by relevance

/fs/
Dpipe.c305 int curbuf = pipe->curbuf; in pipe_read() local
306 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read()
345 curbuf = (curbuf + 1) & (PIPE_BUFFERS-1); in pipe_read()
346 pipe->curbuf = curbuf; in pipe_read()
426 int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) & in pipe_write()
474 int newbuf = (pipe->curbuf + bufs) & (PIPE_BUFFERS-1); in pipe_write()
591 buf = pipe->curbuf; in pipe_ioctl()
Dsplice.c196 int newbuf = (pipe->curbuf + pipe->nrbufs) & (PIPE_BUFFERS - 1); in splice_to_pipe()
626 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in __splice_from_pipe()
654 pipe->curbuf = (pipe->curbuf + 1) & (PIPE_BUFFERS - 1); in __splice_from_pipe()
1031 pipe->nrbufs = pipe->curbuf = 0; in splice_direct_to_actor()
1606 ibuf = ipipe->bufs + ((ipipe->curbuf + i) & (PIPE_BUFFERS - 1)); in link_pipe()
1607 nbuf = (opipe->curbuf + opipe->nrbufs) & (PIPE_BUFFERS - 1); in link_pipe()