Lines Matching refs:nr_segs
661 unsigned long nr_segs; member
721 BUG_ON(!cs->nr_segs); in fuse_copy_fill()
727 cs->nr_segs--; in fuse_copy_fill()
729 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill()
745 cs->nr_segs++; in fuse_copy_fill()
821 BUG_ON(!cs->nr_segs); in fuse_try_move_page()
825 cs->nr_segs--; in fuse_try_move_page()
917 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page()
935 cs->nr_segs++; in fuse_ref_page()
1412 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read()
1417 for (ret = total = 0; page_nr < cs.nr_segs; total += ret) { in fuse_dev_splice_read()
1431 for (; page_nr < cs.nr_segs; page_nr++) in fuse_dev_splice_read()
2060 cs.nr_segs = nbuf; in fuse_dev_splice_write()