Home
last modified time | relevance | path

Searched refs:max_discard_sectors (Results 1 – 3 of 3) sorted by relevance

/block/
Dblk-settings.c52 lim->max_discard_sectors = 0; in blk_set_default_limits()
192 unsigned int max_discard_sectors) in blk_queue_max_discard_sectors() argument
194 q->limits.max_hw_discard_sectors = max_discard_sectors; in blk_queue_max_discard_sectors()
195 q->limits.max_discard_sectors = max_discard_sectors; in blk_queue_max_discard_sectors()
623 t->max_discard_sectors = min_not_zero(t->max_discard_sectors, in blk_stack_limits()
624 b->max_discard_sectors); in blk_stack_limits()
Dblk-merge.c70 unsigned int max_discard_sectors, granularity; in blk_bio_discard_split() local
80 max_discard_sectors = min(q->limits.max_discard_sectors, in blk_bio_discard_split()
82 max_discard_sectors -= max_discard_sectors % granularity; in blk_bio_discard_split()
84 if (unlikely(!max_discard_sectors)) { in blk_bio_discard_split()
89 if (bio_sectors(bio) <= max_discard_sectors) in blk_bio_discard_split()
92 split_sectors = max_discard_sectors; in blk_bio_discard_split()
Dblk-sysfs.c179 (unsigned long long)q->limits.max_discard_sectors << 9); in queue_discard_max_show()
201 q->limits.max_discard_sectors = max_discard; in queue_discard_max_store()