Lines Matching refs:qd_lockref
151 if (!spin_trylock(&qd->qd_lockref.lock)) in gfs2_qd_isolate()
154 if (qd->qd_lockref.count == 0) { in gfs2_qd_isolate()
155 lockref_mark_dead(&qd->qd_lockref); in gfs2_qd_isolate()
159 spin_unlock(&qd->qd_lockref.lock); in gfs2_qd_isolate()
221 qd->qd_lockref.count = 1; in qd_alloc()
222 spin_lock_init(&qd->qd_lockref.lock); in qd_alloc()
252 if (lockref_get_not_dead(&qd->qd_lockref)) { in gfs2_qd_search_bucket()
303 gfs2_assert(sdp, !__lockref_is_dead(&qd->qd_lockref)); in qd_hold()
304 lockref_get(&qd->qd_lockref); in qd_hold()
309 if (lockref_put_or_lock(&qd->qd_lockref)) in qd_put()
312 qd->qd_lockref.count = 0; in qd_put()
314 spin_unlock(&qd->qd_lockref.lock); in qd_put()
441 if (!lockref_get_not_dead(&qd->qd_lockref)) in qd_check_sync()