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.c288 int bufs = pipe->nrbufs; in pipe_read()
326 pipe->nrbufs = --bufs; in pipe_read()
402 if (pipe->nrbufs && chars != 0) { in pipe_write()
403 int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) & in pipe_write()
434 bufs = pipe->nrbufs; in pipe_write()
473 pipe->nrbufs = ++bufs; in pipe_write()
518 int count, buf, nrbufs; in pipe_ioctl() local
525 nrbufs = pipe->nrbufs; in pipe_ioctl()
526 while (--nrbufs >= 0) { in pipe_ioctl()
544 int nrbufs; in pipe_poll() local
[all …]
/fs/fuse/
Ddev.c1358 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read()
1954 bufs = kvmalloc_array(pipe->nrbufs, sizeof(struct pipe_buffer), in fuse_dev_splice_write()
1963 for (idx = 0; idx < pipe->nrbufs && rem < len; idx++) in fuse_dev_splice_write()
1976 BUG_ON(!pipe->nrbufs); in fuse_dev_splice_write()
1984 pipe->nrbufs--; in fuse_dev_splice_write()