Lines Matching refs:hlock_class
221 static inline struct lock_class *hlock_class(struct held_lock *hlock) in hlock_class() function
352 stats = get_lock_stats(hlock_class(hlock)); in lock_release_holdtime()
771 struct lock_class *lock = hlock_class(hlock); in print_lock()
1675 __bfs_init_root(lock, hlock_class(hlock)); in bfs_init_root()
1689 __bfs_init_root(lock, hlock_class(hlock)); in bfs_init_rootb()
1887 struct lock_class *source = hlock_class(src); in print_circular_lock_scenario()
1888 struct lock_class *target = hlock_class(tgt); in print_circular_lock_scenario()
2004 return hlock_class(hlock) == entry->class && /* Found A -> .. -> B */ in hlock_equal()
2031 return hlock_class(hlock) == entry->class && /* Found A -> .. -> B */ in hlock_conflict()
2611 print_lock_name(prev, hlock_class(prev)); in print_bad_irq_dependency()
2613 print_lock_name(next, hlock_class(next)); in print_bad_irq_dependency()
2632 hlock_class(prev), hlock_class(next)); in print_bad_irq_dependency()
2989 struct lock_class *next = hlock_class(nxt); in print_deadlock_scenario()
2990 struct lock_class *prev = hlock_class(prv); in print_deadlock_scenario()
3009 struct lock_class *class = hlock_class(prev); in print_deadlock_bug()
3066 if (hlock_class(prev) != hlock_class(next)) in check_deadlock()
3076 class = hlock_class(prev); in check_deadlock()
3125 if (!hlock_class(prev)->key || !hlock_class(next)->key) { in check_prev_add()
3132 WARN_ONCE(!debug_locks_silent && !hlock_class(prev)->key, in check_prev_add()
3134 hlock_class(prev), in check_prev_add()
3135 hlock_class(prev)->name); in check_prev_add()
3136 WARN_ONCE(!debug_locks_silent && !hlock_class(next)->key, in check_prev_add()
3138 hlock_class(next), in check_prev_add()
3139 hlock_class(next)->name); in check_prev_add()
3144 struct lock_class *class = hlock_class(prev); in check_prev_add()
3176 list_for_each_entry(entry, &hlock_class(prev)->locks_after, entry) { in check_prev_add()
3177 if (entry->class == hlock_class(next)) { in check_prev_add()
3198 list_for_each_entry(entry, &hlock_class(next)->locks_before, entry) { in check_prev_add()
3199 if (entry->class == hlock_class(prev)) { in check_prev_add()
3231 ret = add_lock_to_list(hlock_class(next), hlock_class(prev), in check_prev_add()
3232 &hlock_class(prev)->locks_after, distance, in check_prev_add()
3238 ret = add_lock_to_list(hlock_class(prev), hlock_class(next), in check_prev_add()
3239 &hlock_class(next)->locks_before, distance, in check_prev_add()
3816 struct lock_class *class = hlock_class(hlock); in lookup_chain_cache_add()
3987 struct lock_class *class = hlock_class(lock); in print_usage_bug_scenario()
4029 print_lock_trace(hlock_class(this)->usage_traces[prev_bit], 1); in print_usage_bug()
4050 if (unlikely(hlock_class(this)->usage_mask & (1 << bad_bit))) { in valid_state()
4294 if (state_verbose(new_bit, hlock_class(this))) in mark_lock_irq()
4703 if (likely(hlock_class(this)->usage_mask & new_mask)) in mark_lock()
4711 if (unlikely(hlock_class(this)->usage_mask & new_mask)) in mark_lock()
4714 if (!hlock_class(this)->usage_mask) in mark_lock()
4717 hlock_class(this)->usage_mask |= new_mask; in mark_lock()
4720 if (!(hlock_class(this)->usage_traces[new_bit] = save_trace())) in mark_lock()
4826 u8 next_inner = hlock_class(next)->wait_type_inner; in check_wait_context()
4827 u8 next_outer = hlock_class(next)->wait_type_outer; in check_wait_context()
4851 struct lock_class *class = hlock_class(prev); in check_wait_context()
5198 WARN_ON_ONCE(depth && !hlock_class(hlock - 1)->key); in __lock_acquire()
5199 WARN_ON_ONCE(!hlock_class(hlock)->key); in __lock_acquire()
5351 hlock_class(hlock)->subclass, in reacquire_held_locks()
6023 contention_point = lock_point(hlock_class(hlock)->contention_point, ip); in __lock_contended()
6024 contending_point = lock_point(hlock_class(hlock)->contending_point, in __lock_contended()
6027 stats = get_lock_stats(hlock_class(hlock)); in __lock_contended()
6073 stats = get_lock_stats(hlock_class(hlock)); in __lock_acquired()