Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Draid5.h575 int max_nr_stripes; member
Draid5.c662 < (conf->max_nr_stripes * 3 / 4) in raid5_get_active_stripe()
2179 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2184 conf->max_nr_stripes++; in grow_one_stripe()
2330 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2370 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2371 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2436 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2447 conf->max_nr_stripes--; in drop_one_stripe()
2453 while (conf->max_nr_stripes && in shrink_stripes()
2553 > conf->max_nr_stripes) { in raid5_end_read_request()
[all …]
Ddm-raid.c3508 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local
3640 max_nr_stripes); in raid_status()
Draid5-cache.c39 #define R5C_FULL_STRIPE_FLUSH_BATCH(conf) (conf->max_nr_stripes / 4)
2169 conf->max_nr_stripes); in r5c_recovery_analyze_meta_block()