Lines Matching refs:max_nr_stripes
739 < (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()
6577 while (size < conf->max_nr_stripes && in raid5_set_cache_size()
6585 while (size > conf->max_nr_stripes) in raid5_set_cache_size()
6587 conf->min_nr_stripes = conf->max_nr_stripes; in raid5_set_cache_size()
6732 size = conf->max_nr_stripes; in raid5_store_stripe_size()
7135 conf->max_nr_stripes > conf->min_nr_stripes) { in raid5_cache_scan()
7152 if (conf->max_nr_stripes < conf->min_nr_stripes) in raid5_cache_count()
7155 return conf->max_nr_stripes - conf->min_nr_stripes; in raid5_cache_count()