Lines Matching refs:min_not_zero
137 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
552 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits()
553 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits()
554 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits()
561 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits()
563 t->virt_boundary_mask = min_not_zero(t->virt_boundary_mask, in blk_stack_limits()
566 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits()
567 t->max_discard_segments = min_not_zero(t->max_discard_segments, in blk_stack_limits()
569 t->max_integrity_segments = min_not_zero(t->max_integrity_segments, in blk_stack_limits()
572 t->max_segment_size = min_not_zero(t->max_segment_size, in blk_stack_limits()
668 t->max_discard_sectors = min_not_zero(t->max_discard_sectors, in blk_stack_limits()
670 t->max_hw_discard_sectors = min_not_zero(t->max_hw_discard_sectors, in blk_stack_limits()
677 t->max_secure_erase_sectors = min_not_zero(t->max_secure_erase_sectors, in blk_stack_limits()