Home
last modified time | relevance | path

Searched refs:max_nr_stripes (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/
H A Draid5.h579 int max_nr_stripes; member
H A Draid5.c804 (READ_ONCE(conf->max_nr_stripes) * 3 / 4)); in is_inactive_blocked()
2411 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2416 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes + 1); in grow_one_stripe()
2566 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2613 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2614 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2698 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2709 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes - 1); in drop_one_stripe()
2715 while (conf->max_nr_stripes && in shrink_stripes()
2786 int max_nr_stripes = READ_ONCE(conf->max_nr_stripes); in raid5_end_read_request() local
[all …]