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.c42 LASSERT(pcl->pcl_locks != NULL); in cfs_percpt_lock_free()
45 cfs_percpt_free(pcl->pcl_locks); in cfs_percpt_lock_free()
70 pcl->pcl_locks = cfs_percpt_alloc(cptab, sizeof(*lock)); in cfs_percpt_lock_alloc()
71 if (pcl->pcl_locks == NULL) { in cfs_percpt_lock_alloc()
76 cfs_percpt_for_each(lock, i, pcl->pcl_locks) in cfs_percpt_lock_alloc()
108 spin_lock(pcl->pcl_locks[index]); in cfs_percpt_lock()
114 spin_lock(pcl->pcl_locks[i]); in cfs_percpt_lock()
135 spin_unlock(pcl->pcl_locks[index]); in cfs_percpt_unlock()
144 spin_unlock(pcl->pcl_locks[i]); in cfs_percpt_unlock()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h368 spinlock_t **pcl_locks; member