Lines Matching refs:nr_segs
657 unsigned long nr_segs; member
713 BUG_ON(!cs->nr_segs); in fuse_copy_fill()
719 cs->nr_segs--; in fuse_copy_fill()
721 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill()
737 cs->nr_segs++; in fuse_copy_fill()
813 BUG_ON(!cs->nr_segs); in fuse_try_move_page()
817 cs->nr_segs--; in fuse_try_move_page()
905 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page()
923 cs->nr_segs++; in fuse_ref_page()
1390 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read()
1395 for (ret = total = 0; page_nr < cs.nr_segs; total += ret) { in fuse_dev_splice_read()
1409 for (; page_nr < cs.nr_segs; page_nr++) in fuse_dev_splice_read()
2030 cs.nr_segs = nbuf; in fuse_dev_splice_write()