nrbufs            937 drivers/char/virtio_console.c 	if (!pipe->nrbufs) {
nrbufs            946 drivers/char/virtio_console.c 	buf = alloc_buf(port->portdev->vdev, 0, pipe->nrbufs);
nrbufs            954 drivers/char/virtio_console.c 	sgl.size = pipe->nrbufs;
nrbufs           1358 fs/fuse/dev.c  	if (pipe->nrbufs + cs.nr_segs > pipe->buffers) {
nrbufs           1954 fs/fuse/dev.c  	bufs = kvmalloc_array(pipe->nrbufs, sizeof(struct pipe_buffer),
nrbufs           1963 fs/fuse/dev.c  	for (idx = 0; idx < pipe->nrbufs && rem < len; idx++)
nrbufs           1976 fs/fuse/dev.c  		BUG_ON(!pipe->nrbufs);
nrbufs           1984 fs/fuse/dev.c  			pipe->nrbufs--;
nrbufs            288 fs/pipe.c      		int bufs = pipe->nrbufs;
nrbufs            326 fs/pipe.c      				pipe->nrbufs = --bufs;
nrbufs            402 fs/pipe.c      	if (pipe->nrbufs && chars != 0) {
nrbufs            403 fs/pipe.c      		int lastbuf = (pipe->curbuf + pipe->nrbufs - 1) &
nrbufs            434 fs/pipe.c      		bufs = pipe->nrbufs;
nrbufs            473 fs/pipe.c      			pipe->nrbufs = ++bufs;
nrbufs            518 fs/pipe.c      	int count, buf, nrbufs;
nrbufs            525 fs/pipe.c      			nrbufs = pipe->nrbufs;
nrbufs            526 fs/pipe.c      			while (--nrbufs >= 0) {
nrbufs            544 fs/pipe.c      	int nrbufs;
nrbufs            549 fs/pipe.c      	nrbufs = pipe->nrbufs;
nrbufs            552 fs/pipe.c      		mask = (nrbufs > 0) ? EPOLLIN | EPOLLRDNORM : 0;
nrbufs            558 fs/pipe.c      		mask |= (nrbufs < pipe->buffers) ? EPOLLOUT | EPOLLWRNORM : 0;
nrbufs           1094 fs/pipe.c      	if (nr_pages < pipe->nrbufs) {
nrbufs           1110 fs/pipe.c      	if (pipe->nrbufs) {
nrbufs           1114 fs/pipe.c      		tail = pipe->curbuf + pipe->nrbufs;
nrbufs           1120 fs/pipe.c      		head = pipe->nrbufs - tail;
nrbufs            199 fs/splice.c    	while (pipe->nrbufs < pipe->buffers) {
nrbufs            200 fs/splice.c    		int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1);
nrbufs            210 fs/splice.c    		pipe->nrbufs++;
nrbufs            236 fs/splice.c    	} else if (pipe->nrbufs == pipe->buffers) {
nrbufs            239 fs/splice.c    		int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1);
nrbufs            241 fs/splice.c    		pipe->nrbufs++;
nrbufs            377 fs/splice.c    	if (pipe->nrbufs == pipe->buffers)
nrbufs            446 fs/splice.c    	if (sd->len < sd->total_len && pipe->nrbufs > 1)
nrbufs            486 fs/splice.c    	while (pipe->nrbufs) {
nrbufs            515 fs/splice.c    			pipe->nrbufs--;
nrbufs            546 fs/splice.c    	while (!pipe->nrbufs) {
nrbufs            722 fs/splice.c    		for (n = 0, idx = pipe->curbuf; left && n < pipe->nrbufs; n++, idx++) {
nrbufs            762 fs/splice.c    				pipe->nrbufs--;
nrbufs            945 fs/splice.c    	WARN_ON_ONCE(pipe->nrbufs != 0);
nrbufs            953 fs/splice.c    		pipe_pages = pipe->buffers - pipe->nrbufs;
nrbufs            993 fs/splice.c    	pipe->nrbufs = pipe->curbuf = 0;
nrbufs           1079 fs/splice.c    		if (pipe->nrbufs != pipe->buffers)
nrbufs           1188 fs/splice.c    			pipe_pages = opipe->buffers - opipe->nrbufs;
nrbufs           1456 fs/splice.c    	if (pipe->nrbufs)
nrbufs           1462 fs/splice.c    	while (!pipe->nrbufs) {
nrbufs           1494 fs/splice.c    	if (pipe->nrbufs < pipe->buffers)
nrbufs           1500 fs/splice.c    	while (pipe->nrbufs >= pipe->buffers) {
nrbufs           1559 fs/splice.c    		if (!ipipe->nrbufs && !ipipe->writers)
nrbufs           1566 fs/splice.c    		if (!ipipe->nrbufs || opipe->nrbufs >= opipe->buffers) {
nrbufs           1587 fs/splice.c    		nbuf = (opipe->curbuf + opipe->nrbufs) & (opipe->buffers - 1);
nrbufs           1596 fs/splice.c    			opipe->nrbufs++;
nrbufs           1598 fs/splice.c    			ipipe->nrbufs--;
nrbufs           1621 fs/splice.c    			opipe->nrbufs++;
nrbufs           1673 fs/splice.c    		if (i >= ipipe->nrbufs || opipe->nrbufs >= opipe->buffers)
nrbufs           1677 fs/splice.c    		nbuf = (opipe->curbuf + opipe->nrbufs) & (opipe->buffers - 1);
nrbufs           1703 fs/splice.c    		opipe->nrbufs++;
nrbufs             51 include/linux/pipe_fs_i.h 	unsigned int nrbufs, curbuf, buffers;
nrbufs            329 lib/iov_iter.c 	int next = pipe->curbuf + pipe->nrbufs;
nrbufs            332 lib/iov_iter.c 		if (unlikely(!pipe->nrbufs))
nrbufs            348 lib/iov_iter.c 			pipe->curbuf, pipe->nrbufs, pipe->buffers);
nrbufs            397 lib/iov_iter.c 	if (idx == pipe->curbuf && pipe->nrbufs)
nrbufs            399 lib/iov_iter.c 	pipe->nrbufs++;
nrbufs            521 lib/iov_iter.c 	while (idx != pipe->curbuf || !pipe->nrbufs) {
nrbufs            525 lib/iov_iter.c 		pipe->nrbufs++;
nrbufs            990 lib/iov_iter.c 	if (pipe->nrbufs) {
nrbufs            993 lib/iov_iter.c 		int nrbufs = (idx - pipe->curbuf) & (pipe->buffers - 1);
nrbufs            997 lib/iov_iter.c 			nrbufs++;
nrbufs            999 lib/iov_iter.c 		while (pipe->nrbufs > nrbufs) {
nrbufs           1002 lib/iov_iter.c 			pipe->nrbufs--;
nrbufs           1162 lib/iov_iter.c 	WARN_ON(pipe->nrbufs == pipe->buffers);
nrbufs           1165 lib/iov_iter.c 	i->idx = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1);