Searched refs:max_nr_stripes (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid5.h | 571 int max_nr_stripes; member
|
H A D | raid5.c | 739 < (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 D | dm-raid.c | 3516 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local 3648 max_nr_stripes); in raid_status()
|
H A D | raid5-cache.c | 39 #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 D | raid5.h | 583 int max_nr_stripes; member
|
H A D | raid5.c | 800 (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 D | dm-raid.c | 3509 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local 3641 max_nr_stripes); in raid_status()
|
H A D | raid5-cache.c | 39 #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