Searched refs:q_qlock (Results 1 – 2 of 2) sorted by relevance
54 struct mutex q_qlock; /* quota lock */ member92 return mutex_trylock(&dqp->q_qlock); in xfs_dqlock_nowait()97 mutex_lock(&dqp->q_qlock); in xfs_dqlock()102 mutex_unlock(&dqp->q_qlock); in xfs_dqunlock()131 #define XFS_DQ_IS_LOCKED(dqp) (mutex_is_locked(&((dqp)->q_qlock)))
76 mutex_destroy(&dqp->q_qlock); in xfs_qm_dqdestroy()503 mutex_init(&dqp->q_qlock); in xfs_qm_dqread()519 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_other_class); in xfs_qm_dqread()1001 mutex_lock(&d2->q_qlock); in xfs_dqlock2()1002 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1004 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1005 mutex_lock_nested(&d2->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1008 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1010 mutex_lock(&d2->q_qlock); in xfs_dqlock2()