Lines Matching refs:min_not_zero
138 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
519 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits()
520 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits()
521 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits()
530 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits()
532 t->virt_boundary_mask = min_not_zero(t->virt_boundary_mask, in blk_stack_limits()
535 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits()
536 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits()
538 t->max_integrity_segments = min_not_zero(t->max_integrity_segments, in blk_stack_limits()
541 t->max_segment_size = min_not_zero(t->max_segment_size, in blk_stack_limits()
637 t->max_discard_sectors = min_not_zero(t->max_discard_sectors, in blk_stack_limits()
639 t->max_hw_discard_sectors = min_not_zero(t->max_hw_discard_sectors, in blk_stack_limits()