Searched refs:q_qlock (Results 1 – 2 of 2) sorted by relevance
80 struct mutex q_qlock; member118 return mutex_trylock(&dqp->q_qlock); in xfs_dqlock_nowait()123 mutex_lock(&dqp->q_qlock); in xfs_dqlock()128 mutex_unlock(&dqp->q_qlock); in xfs_dqunlock()201 #define XFS_DQ_IS_LOCKED(dqp) (mutex_is_locked(&((dqp)->q_qlock)))
57 mutex_destroy(&dqp->q_qlock); in xfs_qm_dqdestroy()461 mutex_init(&dqp->q_qlock); in xfs_dquot_alloc()487 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_group_class); in xfs_dquot_alloc()490 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_project_class); in xfs_dquot_alloc()1349 mutex_lock(&d2->q_qlock); in xfs_dqlock2()1350 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1352 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1353 mutex_lock_nested(&d2->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1356 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1358 mutex_lock(&d2->q_qlock); in xfs_dqlock2()