Searched refs:max_stripes (Results 1 – 2 of 2) sorted by relevance
900 const size_t max_stripes = min_t(size_t, INT_MAX, in bcache_device_init() local926 if (!n || n > max_stripes) { in bcache_device_init()
7420 int max_stripes = READ_ONCE(conf->max_nr_stripes); in raid5_cache_count() local7423 if (max_stripes < min_stripes) in raid5_cache_count()7426 return max_stripes - min_stripes; in raid5_cache_count()