Home
last modified time | relevance | path

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

/block/
Dblk-settings.c50 lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; in blk_set_default_limits()
87 lim->max_hw_sectors = UINT_MAX; in blk_set_stacking_limits()
184 void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors) in blk_queue_max_hw_sectors() argument
190 if (max_hw_sectors < min_max_hw_sectors) { in blk_queue_max_hw_sectors()
195 if (max_hw_sectors < min_max_hw_sectors) { in blk_queue_max_hw_sectors()
196 max_hw_sectors = min_max_hw_sectors; in blk_queue_max_hw_sectors()
197 pr_info("set to minimum %u\n", max_hw_sectors); in blk_queue_max_hw_sectors()
200 max_hw_sectors = round_down(max_hw_sectors, in blk_queue_max_hw_sectors()
202 limits->max_hw_sectors = max_hw_sectors; in blk_queue_max_hw_sectors()
204 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
[all …]