Home
last modified time | relevance | path

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

/fs/
Dsplice.c199 while (pipe->nrbufs < pipe->buffers) { in splice_to_pipe()
200 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in splice_to_pipe()
210 pipe->nrbufs++; in splice_to_pipe()
236 } else if (pipe->nrbufs == pipe->buffers) { in add_to_pipe()
239 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in add_to_pipe()
241 pipe->nrbufs++; in add_to_pipe()
377 if (pipe->nrbufs == pipe->buffers) in default_file_splice_read()
446 if (sd->len < sd->total_len && pipe->nrbufs > 1) in pipe_to_sendpage()
486 while (pipe->nrbufs) { in splice_from_pipe_feed()
515 pipe->nrbufs--; in splice_from_pipe_feed()
[all …]
Dpipe.c303 int bufs = pipe->nrbufs; in pipe_read()
341 pipe->nrbufs = --bufs; in pipe_read()
417 if (pipe->nrbufs && chars != 0) { in pipe_write()
418 int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) & in pipe_write()
449 bufs = pipe->nrbufs; in pipe_write()
488 pipe->nrbufs = ++bufs; in pipe_write()
533 int count, buf, nrbufs; in pipe_ioctl() local
540 nrbufs = pipe->nrbufs; in pipe_ioctl()
541 while (--nrbufs >= 0) { in pipe_ioctl()
559 int nrbufs; in pipe_poll() local
[all …]
/fs/fuse/
Ddev.c1393 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read()
1995 bufs = kvmalloc_array(pipe->nrbufs, sizeof(struct pipe_buffer), in fuse_dev_splice_write()
2004 for (idx = 0; idx < pipe->nrbufs && rem < len; idx++) in fuse_dev_splice_write()
2017 BUG_ON(!pipe->nrbufs); in fuse_dev_splice_write()
2025 pipe->nrbufs--; in fuse_dev_splice_write()