Searched refs:NR_STRIPE_HASH_LOCKS (Results 1 – 2 of 2) sorted by relevance
412 #define NR_STRIPE_HASH_LOCKS 8 macro413 #define STRIPE_HASH_LOCKS_MASK (NR_STRIPE_HASH_LOCKS - 1)418 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];432 spinlock_t hash_locks[NR_STRIPE_HASH_LOCKS];514 struct list_head inactive_list[NR_STRIPE_HASH_LOCKS];540 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
115 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++) in lock_all_device_hash_locks_irq()124 for (i = NR_STRIPE_HASH_LOCKS; i; i--) in unlock_all_device_hash_locks_irq()350 if (hash == NR_STRIPE_HASH_LOCKS) { in release_inactive_stripe_list()351 size = NR_STRIPE_HASH_LOCKS; in release_inactive_stripe_list()352 hash = NR_STRIPE_HASH_LOCKS - 1; in release_inactive_stripe_list()2011 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()2210 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()2211 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()4986 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];5022 NR_STRIPE_HASH_LOCKS); in raid5_unplug()[all …]