Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
Draid5.h578 int max_nr_stripes; member
Draid5.c671 < (conf->max_nr_stripes * 3 / 4) in raid5_get_active_stripe()
2190 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2195 conf->max_nr_stripes++; in grow_one_stripe()
2344 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2384 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2385 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2450 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2461 conf->max_nr_stripes--; in drop_one_stripe()
2467 while (conf->max_nr_stripes && in shrink_stripes()
2566 > conf->max_nr_stripes) in raid5_end_read_request()
[all …]
Ddm-raid.c3513 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local
3645 max_nr_stripes); in raid_status()
Draid5-cache.c48 #define R5C_FULL_STRIPE_FLUSH_BATCH(conf) (conf->max_nr_stripes / 4)