Searched refs:q_qlock (Results 1 – 2 of 2) sorted by relevance
82 struct mutex q_qlock; member120 return mutex_trylock(&dqp->q_qlock); in xfs_dqlock_nowait()125 mutex_lock(&dqp->q_qlock); in xfs_dqlock()130 mutex_unlock(&dqp->q_qlock); in xfs_dqunlock()203 #define XFS_DQ_IS_LOCKED(dqp) (mutex_is_locked(&((dqp)->q_qlock)))
57 mutex_destroy(&dqp->q_qlock); in xfs_qm_dqdestroy()481 mutex_init(&dqp->q_qlock); in xfs_dquot_alloc()507 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_group_class); in xfs_dquot_alloc()510 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_project_class); in xfs_dquot_alloc()1323 mutex_lock(&d2->q_qlock); in xfs_dqlock2()1324 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1326 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1327 mutex_lock_nested(&d2->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1330 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1332 mutex_lock(&d2->q_qlock); in xfs_dqlock2()