Searched refs:nrbufs (Results 1 – 3 of 3) sorted by relevance
396 int bufs = pipe->nrbufs; in pipe_read()451 pipe->nrbufs = --bufs; in pipe_read()532 if (pipe->nrbufs && chars != 0) { in pipe_write()533 int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) & in pipe_write()580 bufs = pipe->nrbufs; in pipe_write()644 pipe->nrbufs = ++bufs; in pipe_write()689 int count, buf, nrbufs; in pipe_ioctl() local696 nrbufs = pipe->nrbufs; in pipe_ioctl()697 while (--nrbufs >= 0) { in pipe_ioctl()715 int nrbufs; in pipe_poll() local[all …]
206 if (pipe->nrbufs < pipe->buffers) { in splice_to_pipe()207 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in splice_to_pipe()218 pipe->nrbufs++; in splice_to_pipe()227 if (pipe->nrbufs < pipe->buffers) in splice_to_pipe()703 if (sd->len < sd->total_len && pipe->nrbufs > 1) in pipe_to_sendpage()800 while (pipe->nrbufs) { in splice_from_pipe_feed()831 pipe->nrbufs--; in splice_from_pipe_feed()856 while (!pipe->nrbufs) { in splice_from_pipe_next()1247 pipe->nrbufs = pipe->curbuf = 0; in splice_direct_to_actor()1761 if (pipe->nrbufs) in ipipe_prep()[all …]
1354 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read()1360 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in fuse_dev_splice_read()1368 pipe->nrbufs++; in fuse_dev_splice_read()1947 for (idx = 0; idx < pipe->nrbufs && rem < len; idx++) in fuse_dev_splice_write()1962 BUG_ON(!pipe->nrbufs); in fuse_dev_splice_write()1970 pipe->nrbufs--; in fuse_dev_splice_write()