Searched refs:rqh (Results 1 – 2 of 2) sorted by relevance
112 struct rqspinlock_held *rqh = this_cpu_ptr(&rqspinlock_held_locks); in release_held_lock_entry() local114 if (unlikely(rqh->cnt > RES_NR_HELD)) in release_held_lock_entry()116 WRITE_ONCE(rqh->locks[rqh->cnt - 1], NULL); in release_held_lock_entry()193 struct rqspinlock_held *rqh = this_cpu_ptr(&rqspinlock_held_locks); in res_spin_unlock() local195 if (unlikely(rqh->cnt > RES_NR_HELD)) in res_spin_unlock()197 WRITE_ONCE(rqh->locks[rqh->cnt - 1], NULL); in res_spin_unlock()
102 struct rqspinlock_held *rqh = this_cpu_ptr(&rqspinlock_held_locks); in check_deadlock_AA() local103 int cnt = min(RES_NR_HELD, rqh->cnt); in check_deadlock_AA()110 if (rqh->locks[i] == lock) in check_deadlock_AA()124 struct rqspinlock_held *rqh = this_cpu_ptr(&rqspinlock_held_locks); in check_deadlock_ABBA() local125 int rqh_cnt = min(RES_NR_HELD, rqh->cnt); in check_deadlock_ABBA()189 if (rqh->locks[i] == remote_lock) in check_deadlock_ABBA()