Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c122 cfs_hash_nl_lock(union cfs_hash_lock *lock, int exclusive) {} in cfs_hash_nl_lock()
125 cfs_hash_nl_unlock(union cfs_hash_lock *lock, int exclusive) {} in cfs_hash_nl_unlock()
128 cfs_hash_spin_lock(union cfs_hash_lock *lock, int exclusive) in cfs_hash_spin_lock()
135 cfs_hash_spin_unlock(union cfs_hash_lock *lock, int exclusive) in cfs_hash_spin_unlock()
142 cfs_hash_rw_lock(union cfs_hash_lock *lock, int exclusive) in cfs_hash_rw_lock()
152 cfs_hash_rw_unlock(union cfs_hash_lock *lock, int exclusive) in cfs_hash_rw_unlock()
1231 cfs_hash_lock(hs, 0); in cfs_hash_add()
1256 cfs_hash_lock(hs, 0); in cfs_hash_find_or_add()
1316 cfs_hash_lock(hs, 0); in cfs_hash_del()
1371 cfs_hash_lock(hs, 0); in cfs_hash_lookup()
[all …]
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h82 union cfs_hash_lock { union
99 union cfs_hash_lock hsb_lock; /**< bucket lock */
214 union cfs_hash_lock hs_lock;
277 void (*hs_lock)(union cfs_hash_lock *lock, int exclusive);
279 void (*hs_unlock)(union cfs_hash_lock *lock, int exclusive);
281 void (*hs_bkt_lock)(union cfs_hash_lock *lock, int exclusive);
283 void (*hs_bkt_unlock)(union cfs_hash_lock *lock, int exclusive);
519 static inline void cfs_hash_lock(struct cfs_hash *hs, int excl) in cfs_hash_lock() function