Lines Matching refs:nr_segs
651 unsigned long nr_segs; member
707 BUG_ON(!cs->nr_segs); in fuse_copy_fill()
713 cs->nr_segs--; in fuse_copy_fill()
715 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill()
731 cs->nr_segs++; in fuse_copy_fill()
807 BUG_ON(!cs->nr_segs); in fuse_try_move_page()
811 cs->nr_segs--; in fuse_try_move_page()
900 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page()
918 cs->nr_segs++; in fuse_ref_page()
1395 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read()
1400 for (ret = total = 0; page_nr < cs.nr_segs; total += ret) { in fuse_dev_splice_read()
1414 for (; page_nr < cs.nr_segs; page_nr++) in fuse_dev_splice_read()
2035 cs.nr_segs = nbuf; in fuse_dev_splice_write()