Home
last modified time | relevance | path

Searched refs:max_write_zeroes_sectors (Results 1 – 5 of 5) sorted by relevance

/block/
Dblk-lib.c251 unsigned int max_write_zeroes_sectors; in __blkdev_issue_write_zeroes() local
261 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()
Dblk-settings.c50 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() argument
220 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()
Dblk-merge.c114 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()
Dblk-sysfs.c219 (unsigned long long)q->limits.max_write_zeroes_sectors << 9); in queue_write_zeroes_max_show()
Dblk-core.c894 if (!q->limits.max_write_zeroes_sectors) in submit_bio_checks()