Lines Matching refs:min_not_zero
249 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
523 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits()
524 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits()
525 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits()
528 t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn); 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_integrity_segments = min_not_zero(t->max_integrity_segments, in blk_stack_limits()
539 t->max_segment_size = min_not_zero(t->max_segment_size, in blk_stack_limits()
623 t->max_discard_sectors = min_not_zero(t->max_discard_sectors, in blk_stack_limits()
625 t->max_hw_discard_sectors = min_not_zero(t->max_hw_discard_sectors, in blk_stack_limits()