Lines Matching refs:max_nr_stripes
800 (conf->max_nr_stripes * 3 / 4));
2392 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS;
2397 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes + 1);
2549 for (i = conf->max_nr_stripes; i; i--) {
2596 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS +
2597 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) {
2681 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK;
2692 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes - 1);
2698 while (conf->max_nr_stripes &&
2795 > conf->max_nr_stripes) {
2800 conf->max_nr_stripes);
6842 while (size < conf->max_nr_stripes &&
6850 while (size > conf->max_nr_stripes)
6852 WRITE_ONCE(conf->min_nr_stripes, conf->max_nr_stripes);
6994 size = conf->max_nr_stripes;
7398 conf->max_nr_stripes > conf->min_nr_stripes) {
7414 int max_stripes = READ_ONCE(conf->max_nr_stripes);