Home
last modified time | relevance | path

Searched refs:hash_locks (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/md/
Draid5.h577 spinlock_t hash_locks[NR_STRIPE_HASH_LOCKS]; member
Draid5.c87 spin_lock_irq(conf->hash_locks + hash); in lock_device_hash_lock()
95 spin_unlock_irq(conf->hash_locks + hash); in unlock_device_hash_lock()
102 spin_lock_irq(conf->hash_locks); in lock_all_device_hash_locks_irq()
104 spin_lock_nest_lock(conf->hash_locks + i, conf->hash_locks); in lock_all_device_hash_locks_irq()
114 spin_unlock(conf->hash_locks + i); in unlock_all_device_hash_locks_irq()
115 spin_unlock_irq(conf->hash_locks); in unlock_all_device_hash_locks_irq()
342 spin_lock_irqsave(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
348 spin_unlock_irqrestore(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
813 spin_lock_irq(conf->hash_locks + hash); in raid5_get_active_stripe()
831 *(conf->hash_locks + hash)); in raid5_get_active_stripe()
[all …]