Lines Matching refs:max_nr_stripes
800 (conf->max_nr_stripes * 3 / 4)); in is_inactive_blocked()
2400 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2405 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes + 1); in grow_one_stripe()
2557 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2604 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2605 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2689 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2700 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes - 1); in drop_one_stripe()
2706 while (conf->max_nr_stripes && in shrink_stripes()
2803 > conf->max_nr_stripes) { in raid5_end_read_request()
2808 conf->max_nr_stripes); in raid5_end_read_request()
6850 while (size < conf->max_nr_stripes && in raid5_set_cache_size()
6858 while (size > conf->max_nr_stripes) in raid5_set_cache_size()
6860 WRITE_ONCE(conf->min_nr_stripes, conf->max_nr_stripes); in raid5_set_cache_size()
7002 size = conf->max_nr_stripes; in raid5_store_stripe_size()
7406 conf->max_nr_stripes > conf->min_nr_stripes) { in raid5_cache_scan()
7422 int max_stripes = READ_ONCE(conf->max_nr_stripes); in raid5_cache_count()