Home
last modified time | relevance | path

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

/block/
Dblk-lib.c171 unsigned int max_write_same_sectors; in __blkdev_issue_write_same() local
189 max_write_same_sectors = bio_allowed_max_sectors(q); in __blkdev_issue_write_same()
201 if (nr_sects > max_write_same_sectors) { in __blkdev_issue_write_same()
202 bio->bi_iter.bi_size = max_write_same_sectors << 9; in __blkdev_issue_write_same()
203 nr_sects -= max_write_same_sectors; in __blkdev_issue_write_same()
204 sector += max_write_same_sectors; in __blkdev_issue_write_same()
Dblk-settings.c53 lim->max_write_same_sectors = 0; in blk_set_default_limits()
91 lim->max_write_same_sectors = UINT_MAX; in blk_set_stacking_limits()
253 unsigned int max_write_same_sectors) in blk_queue_max_write_same_sectors() argument
255 q->limits.max_write_same_sectors = max_write_same_sectors; in blk_queue_max_write_same_sectors()
593 t->max_write_same_sectors = min(t->max_write_same_sectors, in blk_stack_limits()
594 b->max_write_same_sectors); in blk_stack_limits()
Dblk-merge.c128 if (!q->limits.max_write_same_sectors) in blk_bio_write_same_split()
131 if (bio_sectors(bio) <= q->limits.max_write_same_sectors) in blk_bio_write_same_split()
134 return bio_split(bio, q->limits.max_write_same_sectors, GFP_NOIO, bs); in blk_bio_write_same_split()
Dblk-sysfs.c216 (unsigned long long)q->limits.max_write_same_sectors << 9); in queue_write_same_max_show()
Dblk-core.c850 if (!q->limits.max_write_same_sectors) in submit_bio_checks()