Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h218 struct cfs_hash_lock_ops *hs_lops; member
521 hs->hs_lops->hs_lock(&hs->hs_lock, excl); in cfs_hash_lock()
526 hs->hs_lops->hs_unlock(&hs->hs_lock, excl); in cfs_hash_unlock()
539 hs->hs_lops->hs_bkt_lock(&bd->bd_bucket->hsb_lock, excl); in cfs_hash_bd_lock()
545 hs->hs_lops->hs_bkt_unlock(&bd->bd_bucket->hsb_lock, excl); in cfs_hash_bd_unlock()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c213 hs->hs_lops = &cfs_hash_nl_lops; in cfs_hash_lock_setup()
216 hs->hs_lops = &cfs_hash_nbl_lops; in cfs_hash_lock_setup()
223 hs->hs_lops = &cfs_hash_bkt_rw_lops; in cfs_hash_lock_setup()
225 hs->hs_lops = &cfs_hash_bkt_spin_lops; in cfs_hash_lock_setup()
230 hs->hs_lops = &cfs_hash_nr_bkt_rw_lops; in cfs_hash_lock_setup()
232 hs->hs_lops = &cfs_hash_nr_bkt_spin_lops; in cfs_hash_lock_setup()