Home
last modified time | relevance | path

Searched refs:rqh (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/include/asm-generic/
H A Drqspinlock.h112 struct rqspinlock_held *rqh = this_cpu_ptr(&rqspinlock_held_locks); in release_held_lock_entry() local
114 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() local
195 if (unlikely(rqh->cnt > RES_NR_HELD)) in res_spin_unlock()
197 WRITE_ONCE(rqh->locks[rqh->cnt - 1], NULL); in res_spin_unlock()
/linux-6.15/kernel/bpf/
H A Drqspinlock.c102 struct rqspinlock_held *rqh = this_cpu_ptr(&rqspinlock_held_locks); in check_deadlock_AA() local
103 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() local
125 int rqh_cnt = min(RES_NR_HELD, rqh->cnt); in check_deadlock_ABBA()
189 if (rqh->locks[i] == remote_lock) in check_deadlock_ABBA()