Lines Matching defs:max
314 /* True, if @v is in inclusive range [@min, @max] */
315 static bool __within_range(long v, long min, long max)
317 return v >= min && v <= max;
594 return max(__raid10_near_copies(layout), __raid10_far_copies(layout));
1540 uint32_t min_stripes = max(mddev->chunk_sectors, mddev->new_chunk_sectors) / 2;
1777 max(near_copies, __raid10_far_copies(mddev->layout)) == mddev->raid_disks)
2825 return max(reshape_sectors, (sector_t) rs->data_offset);
2939 * If the md resync thread has updated superblock with max reshape position
3037 _args[1].max = (as_nrd.argc - 1) / 2;
3536 /* Get sensible max sectors even if raid set not yet started */
3660 max(rs->delta_disks, mddev->delta_disks));