Home
last modified time | relevance | path

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

/block/
Dblk-lib.c217 unsigned int max_write_zeroes_sectors; in __blkdev_issue_write_zeroes() local
227 max_write_zeroes_sectors = bdev_write_zeroes_sectors(bdev); in __blkdev_issue_write_zeroes()
229 if (max_write_zeroes_sectors == 0) in __blkdev_issue_write_zeroes()
240 if (nr_sects > max_write_zeroes_sectors) { in __blkdev_issue_write_zeroes()
241 bio->bi_iter.bi_size = max_write_zeroes_sectors << 9; in __blkdev_issue_write_zeroes()
242 nr_sects -= max_write_zeroes_sectors; in __blkdev_issue_write_zeroes()
243 sector += max_write_zeroes_sectors; in __blkdev_issue_write_zeroes()
Dblk-settings.c50 lim->max_write_zeroes_sectors = 0; in blk_set_default_limits()
85 lim->max_write_zeroes_sectors = UINT_MAX; in blk_set_stacking_limits()
254 unsigned int max_write_zeroes_sectors) in blk_queue_max_write_zeroes_sectors() argument
256 q->limits.max_write_zeroes_sectors = max_write_zeroes_sectors; in blk_queue_max_write_zeroes_sectors()
507 t->max_write_zeroes_sectors = min(t->max_write_zeroes_sectors, in blk_stack_limits()
508 b->max_write_zeroes_sectors); in blk_stack_limits()
Dblk-merge.c110 if (!q->limits.max_write_zeroes_sectors) in blk_bio_write_zeroes_split()
113 if (bio_sectors(bio) <= q->limits.max_write_zeroes_sectors) in blk_bio_write_zeroes_split()
116 return bio_split(bio, q->limits.max_write_zeroes_sectors, GFP_NOIO, bs); in blk_bio_write_zeroes_split()
Dblk-sysfs.c218 (unsigned long long)q->limits.max_write_zeroes_sectors << 9); in queue_write_zeroes_max_show()
Dblk-core.c953 if (!q->limits.max_write_zeroes_sectors) in generic_make_request_checks()