Lines Matching refs:nr_segs
649 unsigned long nr_segs; member
705 BUG_ON(!cs->nr_segs); in fuse_copy_fill()
711 cs->nr_segs--; in fuse_copy_fill()
713 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill()
729 cs->nr_segs++; in fuse_copy_fill()
805 BUG_ON(!cs->nr_segs); in fuse_try_move_page()
809 cs->nr_segs--; in fuse_try_move_page()
897 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page()
915 cs->nr_segs++; in fuse_ref_page()
1392 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read()
1397 for (ret = total = 0; page_nr < cs.nr_segs; total += ret) { in fuse_dev_splice_read()
1411 for (; page_nr < cs.nr_segs; page_nr++) in fuse_dev_splice_read()
2032 cs.nr_segs = nbuf; in fuse_dev_splice_write()