Lines Matching refs:max_nr_stripes
740 < (conf->max_nr_stripes * 3 / 4) in raid5_get_active_stripe()
2347 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2352 conf->max_nr_stripes++; in grow_one_stripe()
2506 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2553 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2554 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2638 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2649 conf->max_nr_stripes--; in drop_one_stripe()
2655 while (conf->max_nr_stripes && in shrink_stripes()
2755 > conf->max_nr_stripes) { in raid5_end_read_request()
2760 conf->max_nr_stripes); in raid5_end_read_request()
6582 while (size < conf->max_nr_stripes && in raid5_set_cache_size()
6590 while (size > conf->max_nr_stripes) in raid5_set_cache_size()
6592 conf->min_nr_stripes = conf->max_nr_stripes; in raid5_set_cache_size()
6737 size = conf->max_nr_stripes; in raid5_store_stripe_size()
7140 conf->max_nr_stripes > conf->min_nr_stripes) { in raid5_cache_scan()
7157 if (conf->max_nr_stripes < conf->min_nr_stripes) in raid5_cache_count()
7160 return conf->max_nr_stripes - conf->min_nr_stripes; in raid5_cache_count()