Home
last modified time | relevance | path

Searched refs:NR_STRIPE_HASH_LOCKS (Results 1 – 3 of 3) sorted by relevance

/drivers/md/
A Draid5.h500 #define NR_STRIPE_HASH_LOCKS 8 macro
501 #define STRIPE_HASH_LOCKS_MASK (NR_STRIPE_HASH_LOCKS - 1)
506 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
573 spinlock_t hash_locks[NR_STRIPE_HASH_LOCKS];
654 struct list_head inactive_list[NR_STRIPE_HASH_LOCKS];
679 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
A Draid5.c104 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++) in lock_all_device_hash_locks_irq()
114 for (i = NR_STRIPE_HASH_LOCKS - 1; i; i--) in unlock_all_device_hash_locks_irq()
330 if (hash == NR_STRIPE_HASH_LOCKS) { in release_inactive_stripe_list()
331 size = NR_STRIPE_HASH_LOCKS; in release_inactive_stripe_list()
332 hash = NR_STRIPE_HASH_LOCKS - 1; in release_inactive_stripe_list()
5632 NR_STRIPE_HASH_LOCKS); in raid5_unplug()
6651 if (i == NR_STRIPE_HASH_LOCKS) { in handle_active_stripes()
6662 NR_STRIPE_HASH_LOCKS); in handle_active_stripes()
7554 for (i = 1; i < NR_STRIPE_HASH_LOCKS; i++) in setup_conf()
7557 for (i = 0; i < NR_STRIPE_HASH_LOCKS; i++) in setup_conf()
[all …]
A Draid5-cache.c41 #define R5C_RECLAIM_STRIPE_GROUP (NR_STRIPE_HASH_LOCKS * 2)

Completed in 28 milliseconds