Lines Matching refs:NR_STRIPE_HASH_LOCKS
103 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++) in lock_all_device_hash_locks_irq()
113 for (i = NR_STRIPE_HASH_LOCKS - 1; i; i--) in unlock_all_device_hash_locks_irq()
329 if (hash == NR_STRIPE_HASH_LOCKS) { in release_inactive_stripe_list()
330 size = NR_STRIPE_HASH_LOCKS; in release_inactive_stripe_list()
331 hash = NR_STRIPE_HASH_LOCKS - 1; in release_inactive_stripe_list()
2411 conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS; in grow_one_stripe()
2617 if (cnt >= conf->max_nr_stripes / NR_STRIPE_HASH_LOCKS + in resize_stripes()
2618 !!((conf->max_nr_stripes % NR_STRIPE_HASH_LOCKS) > hash)) { in resize_stripes()
5718 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
5754 NR_STRIPE_HASH_LOCKS); in raid5_unplug()
5778 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++) in release_stripe_plug()
6644 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++) in handle_active_stripes()
6647 if (i == NR_STRIPE_HASH_LOCKS) { in handle_active_stripes()
6658 NR_STRIPE_HASH_LOCKS); in handle_active_stripes()
7266 for (k = 0; k < NR_STRIPE_HASH_LOCKS; k++) in alloc_thread_groups()
7559 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++) in setup_conf()
7562 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++) in setup_conf()
7565 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++) in setup_conf()
7642 atomic_set(&conf->empty_inactive_list_nr, NR_STRIPE_HASH_LOCKS); in setup_conf()