Lines Matching refs:nr_sects
831 sector_t nr_sects = 0; in gfs2_rgrp_send_discards() local
854 if (nr_sects == 0) in gfs2_rgrp_send_discards()
856 if ((start + nr_sects) != blk) { in gfs2_rgrp_send_discards()
857 if (nr_sects >= minlen) { in gfs2_rgrp_send_discards()
859 start, nr_sects, in gfs2_rgrp_send_discards()
863 trimmed += nr_sects; in gfs2_rgrp_send_discards()
865 nr_sects = 0; in gfs2_rgrp_send_discards()
869 nr_sects += sects_per_blk; in gfs2_rgrp_send_discards()
875 if (nr_sects >= minlen) { in gfs2_rgrp_send_discards()
876 rv = blkdev_issue_discard(bdev, start, nr_sects, GFP_NOFS, 0); in gfs2_rgrp_send_discards()
879 trimmed += nr_sects; in gfs2_rgrp_send_discards()