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)))
81 mutex_destroy(&dqp->q_qlock); in xfs_qm_dqdestroy()503 mutex_init(&dqp->q_qlock); in xfs_dquot_alloc()529 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_group_class); in xfs_dquot_alloc()532 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_project_class); in xfs_dquot_alloc()1357 mutex_lock(&d2->q_qlock); in xfs_dqlock2()1358 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1360 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1361 mutex_lock_nested(&d2->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1364 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1366 mutex_lock(&d2->q_qlock); in xfs_dqlock2()[all …]