Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/libcfs/
Dlibcfs_lock.c41 LASSERT(pcl->pcl_locks != NULL); in cfs_percpt_lock_free()
44 cfs_percpt_free(pcl->pcl_locks); in cfs_percpt_lock_free()
69 pcl->pcl_locks = cfs_percpt_alloc(cptab, sizeof(*lock)); in cfs_percpt_lock_alloc()
70 if (!pcl->pcl_locks) { in cfs_percpt_lock_alloc()
75 cfs_percpt_for_each(lock, i, pcl->pcl_locks) in cfs_percpt_lock_alloc()
107 spin_lock(pcl->pcl_locks[index]); in cfs_percpt_lock()
113 spin_lock(pcl->pcl_locks[i]); in cfs_percpt_lock()
134 spin_unlock(pcl->pcl_locks[index]); in cfs_percpt_unlock()
143 spin_unlock(pcl->pcl_locks[i]); in cfs_percpt_unlock()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h338 spinlock_t **pcl_locks; member