Lines Matching refs:nr_sects
41 sector_t nr_sects, gfp_t gfp_mask, unsigned long flags) in blkdev_issue_discard() argument
81 while (nr_sects) { in blkdev_issue_discard()
93 if (nr_sects > max_discard_sectors) { in blkdev_issue_discard()
95 nr_sects -= max_discard_sectors; in blkdev_issue_discard()
98 bio->bi_size = nr_sects << 9; in blkdev_issue_discard()
99 nr_sects = 0; in blkdev_issue_discard()
137 sector_t nr_sects, gfp_t gfp_mask) in blkdev_issue_zeroout() argument
150 while (nr_sects != 0) { in blkdev_issue_zeroout()
152 min(nr_sects, (sector_t)BIO_MAX_PAGES)); in blkdev_issue_zeroout()
163 while (nr_sects != 0) { in blkdev_issue_zeroout()
164 sz = min((sector_t) PAGE_SIZE >> 9 , nr_sects); in blkdev_issue_zeroout()
166 nr_sects -= ret >> 9; in blkdev_issue_zeroout()