Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Draid5.h579 int max_nr_stripes; member
H A Draid5.c804 (conf->max_nr_stripes * 3 / 4)); in is_inactive_blocked()
2396 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2401 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes + 1); in grow_one_stripe()
2553 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2600 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2601 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2685 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2696 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes - 1); in drop_one_stripe()
2702 while (conf->max_nr_stripes && in shrink_stripes()
2799 > conf->max_nr_stripes) { in raid5_end_read_request()
[all …]
H A Ddm-raid.c3532 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local
3664 max_nr_stripes); in raid_status()
H A Draid5-cache.c39 #define R5C_FULL_STRIPE_FLUSH_BATCH(conf) (conf->max_nr_stripes / 4)
2152 conf->max_nr_stripes); in r5c_recovery_analyze_meta_block()