Home
last modified time | relevance | path

Searched refs:max_nr_stripes (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Draid5.h571 int max_nr_stripes; member
H A Draid5.c739 < (conf->max_nr_stripes * 3 / 4) in raid5_get_active_stripe()
2347 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2352 conf->max_nr_stripes++; in grow_one_stripe()
2506 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2553 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2554 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2638 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2649 conf->max_nr_stripes--; in drop_one_stripe()
2655 while (conf->max_nr_stripes && in shrink_stripes()
2755 > conf->max_nr_stripes) { in raid5_end_read_request()
[all...]
H A Ddm-raid.c3516 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local
3648 max_nr_stripes); in raid_status()
H A Draid5-cache.c39 #define R5C_FULL_STRIPE_FLUSH_BATCH(conf) (conf->max_nr_stripes / 4)
2162 pr_err("md/raid:%s: Cannot increase cache size, ret=%d, new_size=%d, min_nr_stripes=%d, max_nr_stripes=%d\n", in r5c_recovery_analyze_meta_block()
2167 conf->max_nr_stripes); in r5c_recovery_analyze_meta_block()
/kernel/linux/linux-6.6/drivers/md/
H A Draid5.h583 int max_nr_stripes; member
H A Draid5.c800 (conf->max_nr_stripes * 3 / 4)); in is_inactive_blocked()
2418 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2423 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes + 1); in grow_one_stripe()
2577 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes()
2624 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2625 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
2709 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe()
2720 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes in drop_one_stripe()
[all...]
H A Ddm-raid.c3509 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local
3641 max_nr_stripes); in raid_status()
H A Draid5-cache.c39 #define R5C_FULL_STRIPE_FLUSH_BATCH(conf) (conf->max_nr_stripes / 4)
2156 pr_err("md/raid:%s: Cannot increase cache size, ret=%d, new_size=%d, min_nr_stripes=%d, max_nr_stripes=%d\n", in r5c_recovery_analyze_meta_block()
2161 conf->max_nr_stripes); in r5c_recovery_analyze_meta_block()

Completed in 32 milliseconds