Lines Matching refs:dqp
1986 struct dquot *dqp; in handle_dquot() local
1988 dqp = (struct dquot *)me->me_arg; in handle_dquot()
1993 dolock = (!RW_LOCK_HELD(&dqp->dq_ufsvfsp->vfs_dqrwlock)); in handle_dquot()
1995 rw_enter(&dqp->dq_ufsvfsp->vfs_dqrwlock, RW_READER); in handle_dquot()
1997 domutex = (!MUTEX_HELD(&dqp->dq_lock)); in handle_dquot()
1999 mutex_enter(&dqp->dq_lock); in handle_dquot()
2004 if (dqp->dq_cnt == 0) { in handle_dquot()
2006 mutex_exit(&dqp->dq_lock); in handle_dquot()
2008 rw_exit(&dqp->dq_ufsvfsp->vfs_dqrwlock); in handle_dquot()
2012 dqp->dq_flags &= ~(DQ_MOD|DQ_TRANS); in handle_dquot()
2013 dqput(dqp); in handle_dquot()
2016 mutex_exit(&dqp->dq_lock); in handle_dquot()
2019 rw_exit(&dqp->dq_ufsvfsp->vfs_dqrwlock); in handle_dquot()