Lines Matching refs:max_nr_stripes
800 (conf->max_nr_stripes * 3 / 4)); in is_inactive_blocked()
2411 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2416 conf->max_nr_stripes++; in grow_one_stripe()
2570 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2617 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2618 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2702 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2713 conf->max_nr_stripes--; in drop_one_stripe()
2719 while (conf->max_nr_stripes && in shrink_stripes()
2838 > conf->max_nr_stripes) { in raid5_end_read_request()
2843 conf->max_nr_stripes); in raid5_end_read_request()
6846 while (size < conf->max_nr_stripes && in raid5_set_cache_size()
6854 while (size > conf->max_nr_stripes) in raid5_set_cache_size()
6856 conf->min_nr_stripes = conf->max_nr_stripes; in raid5_set_cache_size()
7001 size = conf->max_nr_stripes; in raid5_store_stripe_size()
7405 conf->max_nr_stripes > conf->min_nr_stripes) { in raid5_cache_scan()
7422 if (conf->max_nr_stripes < conf->min_nr_stripes) in raid5_cache_count()
7425 return conf->max_nr_stripes - conf->min_nr_stripes; in raid5_cache_count()