Lines Matching refs:io_min
54 lim->logical_block_size = lim->physical_block_size = lim->io_min = 512; in blk_set_default_limits()
318 if (limits->io_min < limits->physical_block_size) in blk_queue_logical_block_size()
319 limits->io_min = limits->physical_block_size; in blk_queue_logical_block_size()
345 if (q->limits.io_min < q->limits.physical_block_size) in blk_queue_physical_block_size()
346 q->limits.io_min = q->limits.physical_block_size; in blk_queue_physical_block_size()
418 limits->io_min = min; in blk_limits_io_min()
420 if (limits->io_min < limits->logical_block_size) in blk_limits_io_min()
421 limits->io_min = limits->logical_block_size; in blk_limits_io_min()
423 if (limits->io_min < limits->physical_block_size) in blk_limits_io_min()
424 limits->io_min = limits->physical_block_size; in blk_limits_io_min()
493 unsigned int granularity = max(lim->physical_block_size, lim->io_min); in queue_limit_alignment_offset()
590 top = max(t->physical_block_size, t->io_min) in blk_stack_limits()
592 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits()
607 t->io_min = max(t->io_min, b->io_min); in blk_stack_limits()
623 if (t->io_min & (t->physical_block_size - 1)) { in blk_stack_limits()
624 t->io_min = t->physical_block_size; in blk_stack_limits()
649 % max(t->physical_block_size, t->io_min); in blk_stack_limits()