Searched refs:max_nr_stripes (Results 1 – 4 of 4) sorted by relevance
579 int max_nr_stripes; member
800 (conf->max_nr_stripes * 3 / 4)); in is_inactive_blocked() 2392 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe() 2397 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes + 1); in grow_one_stripe() 2549 for (i = conf->max_nr_stripes; i; i--) { in resize_stripes() 2596 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes() 2597 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes() 2681 int hash = (conf->max_nr_stripes - 1) & STRIPE_HASH_LOCKS_MASK; in drop_one_stripe() 2692 WRITE_ONCE(conf->max_nr_stripes, conf->max_nr_stripes in drop_one_stripe() [all...]
3530 int i, max_nr_stripes = conf ? conf->max_nr_stripes : 0; in raid_status() local 3662 max_nr_stripes); in raid_status()
39 #define R5C_FULL_STRIPE_FLUSH_BATCH(conf) (conf->max_nr_stripes / 4)2147 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() 2152 conf->max_nr_stripes); in r5c_recovery_analyze_meta_block()