Home
last modified time | relevance | path

Searched refs:nrbufs (Results 1 – 3 of 3) sorted by relevance

/fs/
Dpipe.c385 int bufs = pipe->nrbufs; in pipe_read()
440 pipe->nrbufs = --bufs; in pipe_read()
523 if (pipe->nrbufs && chars != 0) { in pipe_write()
524 int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) & in pipe_write()
571 bufs = pipe->nrbufs; in pipe_write()
635 pipe->nrbufs = ++bufs; in pipe_write()
694 int count, buf, nrbufs; in pipe_ioctl() local
702 nrbufs = pipe->nrbufs; in pipe_ioctl()
703 while (--nrbufs >= 0) { in pipe_ioctl()
722 int nrbufs; in pipe_poll() local
[all …]
Dsplice.c204 if (pipe->nrbufs < pipe->buffers) { in splice_to_pipe()
205 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in splice_to_pipe()
216 pipe->nrbufs++; in splice_to_pipe()
225 if (pipe->nrbufs < pipe->buffers) in splice_to_pipe()
700 if (sd->len < sd->total_len && pipe->nrbufs > 1) in pipe_to_sendpage()
797 while (pipe->nrbufs) { in splice_from_pipe_feed()
828 pipe->nrbufs--; in splice_from_pipe_feed()
853 while (!pipe->nrbufs) { in splice_from_pipe_next()
1243 pipe->nrbufs = pipe->curbuf = 0; in splice_direct_to_actor()
1734 if (pipe->nrbufs) in ipipe_prep()
[all …]
/fs/fuse/
Ddev.c1256 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read()
1262 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in fuse_dev_splice_read()
1270 pipe->nrbufs++; in fuse_dev_splice_read()
1839 for (idx = 0; idx < pipe->nrbufs && rem < len; idx++) in fuse_dev_splice_write()
1854 BUG_ON(!pipe->nrbufs); in fuse_dev_splice_write()
1862 pipe->nrbufs--; in fuse_dev_splice_write()