Searched refs:RES_NR_HELD (Results 1 – 2 of 2) sorted by relevance
67 #define RES_NR_HELD 31 macro71 void *locks[RES_NR_HELD];80 if (unlikely(cnt > RES_NR_HELD)) { in grab_held_lock_entry()114 if (unlikely(rqh->cnt > RES_NR_HELD)) in release_held_lock_entry()219 if (likely(rqh->cnt <= RES_NR_HELD)) in res_spin_unlock()
102 int cnt = min(RES_NR_HELD, rqh->cnt); in check_deadlock_AA()123 int rqh_cnt = min(RES_NR_HELD, rqh->cnt); in check_deadlock_ABBA()137 int cnt = min(RES_NR_HELD, real_cnt); in check_deadlock_ABBA()155 if (cpu == smp_processor_id() || real_cnt < 2 || real_cnt > RES_NR_HELD) in check_deadlock_ABBA()685 for (int i = 0; i < min(RES_NR_HELD, rqh->cnt); i++) in bpf_prog_report_rqspinlock_violation()