Searched refs:q_qlock (Results 1 – 2 of 2) sorted by relevance
51 struct mutex q_qlock; /* quota lock */ member89 return mutex_trylock(&dqp->q_qlock); in xfs_dqlock_nowait()94 mutex_lock(&dqp->q_qlock); in xfs_dqlock()99 mutex_unlock(&dqp->q_qlock); in xfs_dqunlock()145 #define XFS_DQ_IS_LOCKED(dqp) (mutex_is_locked(&((dqp)->q_qlock)))
60 mutex_destroy(&dqp->q_qlock); in xfs_qm_dqdestroy()453 mutex_init(&dqp->q_qlock); in xfs_dquot_alloc()479 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_group_class); in xfs_dquot_alloc()482 lockdep_set_class(&dqp->q_qlock, &xfs_dquot_project_class); in xfs_dquot_alloc()1201 mutex_lock(&d2->q_qlock); in xfs_dqlock2()1202 mutex_lock_nested(&d1->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1204 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1205 mutex_lock_nested(&d2->q_qlock, XFS_QLOCK_NESTED); in xfs_dqlock2()1208 mutex_lock(&d1->q_qlock); in xfs_dqlock2()1210 mutex_lock(&d2->q_qlock); in xfs_dqlock2()