Searched refs:max_write_zeroes_sectors (Results 1 – 5 of 5) sorted by relevance
251 unsigned int max_write_zeroes_sectors; in __blkdev_issue_write_zeroes() local261 max_write_zeroes_sectors = bdev_write_zeroes_sectors(bdev); in __blkdev_issue_write_zeroes()263 if (max_write_zeroes_sectors == 0) in __blkdev_issue_write_zeroes()274 if (nr_sects > max_write_zeroes_sectors) { in __blkdev_issue_write_zeroes()275 bio->bi_iter.bi_size = max_write_zeroes_sectors << 9; in __blkdev_issue_write_zeroes()276 nr_sects -= max_write_zeroes_sectors; in __blkdev_issue_write_zeroes()277 sector += max_write_zeroes_sectors; in __blkdev_issue_write_zeroes()
50 lim->max_write_zeroes_sectors = 0; in blk_set_default_limits()86 lim->max_write_zeroes_sectors = UINT_MAX; in blk_set_stacking_limits()218 unsigned int max_write_zeroes_sectors) in blk_queue_max_write_zeroes_sectors() argument220 q->limits.max_write_zeroes_sectors = max_write_zeroes_sectors; in blk_queue_max_write_zeroes_sectors()510 t->max_write_zeroes_sectors = min(t->max_write_zeroes_sectors, in blk_stack_limits()511 b->max_write_zeroes_sectors); in blk_stack_limits()
114 if (!q->limits.max_write_zeroes_sectors) in blk_bio_write_zeroes_split()117 if (bio_sectors(bio) <= q->limits.max_write_zeroes_sectors) in blk_bio_write_zeroes_split()120 return bio_split(bio, q->limits.max_write_zeroes_sectors, GFP_NOIO, bs); in blk_bio_write_zeroes_split()
219 (unsigned long long)q->limits.max_write_zeroes_sectors << 9); in queue_write_zeroes_max_show()
894 if (!q->limits.max_write_zeroes_sectors) in submit_bio_checks()