Searched refs:q_lockref (Results 1 – 4 of 4) sorted by relevance
130 spin_lock(&dqp->q_lockref.lock); in xfs_qm_dqpurge()131 if (dqp->q_lockref.count > 0 || __lockref_is_dead(&dqp->q_lockref)) { in xfs_qm_dqpurge()132 spin_unlock(&dqp->q_lockref.lock); in xfs_qm_dqpurge()135 lockref_mark_dead(&dqp->q_lockref); in xfs_qm_dqpurge()136 spin_unlock(&dqp->q_lockref.lock); in xfs_qm_dqpurge()158 dqp->q_lockref.count = 0; in xfs_qm_dqpurge()425 if (!spin_trylock(&dqp->q_lockref.lock)) in xfs_qm_dquot_isolate()433 if (__lockref_is_dead(&dqp->q_lockref)) in xfs_qm_dquot_isolate()449 if (dqp->q_lockref.count) { in xfs_qm_dquot_isolate()450 spin_unlock(&dqp->q_lockref.lock); in xfs_qm_dquot_isolate()[all …]
74 struct lockref q_lockref; member233 lockref_get(&dqp->q_lockref); in xfs_qm_dqhold()
820 if (!lockref_get_not_dead(&dqp->q_lockref)) { in xfs_qm_dqget_cache_lookup()864 lockref_init(&dqp->q_lockref); in xfs_qm_dqget_cache_insert()1123 if (lockref_put_or_lock(&dqp->q_lockref)) in xfs_qm_dqrele()1125 if (!--dqp->q_lockref.count) { in xfs_qm_dqrele()1132 spin_unlock(&dqp->q_lockref.lock); in xfs_qm_dqrele()
1357 __entry->nrefs = data_race(dqp->q_lockref.count);