Lines Matching refs:lock_class
218 struct lock_class lock_classes[MAX_LOCKDEP_KEYS];
221 static inline struct lock_class *hlock_class(struct held_lock *hlock) in hlock_class()
294 struct lock_class_stats lock_stats(struct lock_class *class) in lock_stats()
323 void clear_lock_stats(struct lock_class *class) in clear_lock_stats()
337 static struct lock_class_stats *get_lock_stats(struct lock_class *class) in get_lock_stats()
495 static int class_filter(struct lock_class *class) in class_filter()
511 static int verbose(struct lock_class *class) in verbose()
675 static char get_usage_char(struct lock_class *class, enum lock_usage_bit bit) in get_usage_char()
701 void get_usage_chars(struct lock_class *class, char usage[LOCK_USAGE_CHARS]) in get_usage_chars()
714 static void __print_lock_name(struct held_lock *hlock, struct lock_class *class) in __print_lock_name()
734 static void print_lock_name(struct held_lock *hlock, struct lock_class *class) in print_lock_name()
771 struct lock_class *lock = hlock_class(hlock); in print_lock()
812 static int very_verbose(struct lock_class *class) in very_verbose()
864 static int count_matching_names(struct lock_class *new_class) in count_matching_names()
866 struct lock_class *class; in count_matching_names()
883 static noinstr struct lock_class *
888 struct lock_class *class; in look_up_lock_class()
1010 struct lock_class *class; in in_any_class_list()
1022 static bool class_lock_list_valid(struct lock_class *c, struct list_head *h) in class_lock_list_valid()
1068 static bool in_any_zapped_class_list(struct lock_class *class) in in_any_zapped_class_list()
1083 struct lock_class *class; in __check_data_structures()
1280 static struct lock_class *
1285 struct lock_class *class; in register_lock_class()
1420 static int add_lock_to_list(struct lock_class *this, in add_lock_to_list()
1421 struct lock_class *links_to, struct list_head *head, in add_lock_to_list()
1566 void *lock_class = lock->class; in get_dep_list() local
1568 return lock_class + offset; in get_dep_list()
1657 struct lock_class *class) in __bfs_init_root()
1845 offsetof(struct lock_class, locks_after)); in __bfs_forwards()
1857 offsetof(struct lock_class, locks_before)); in __bfs_backwards()
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()
1889 struct lock_class *parent = prt->class; in print_circular_lock_scenario()
2108 unsigned long lockdep_count_forward_deps(struct lock_class *class) in lockdep_count_forward_deps()
2134 unsigned long lockdep_count_backward_deps(struct lock_class *class) in lockdep_count_backward_deps()
2362 static void print_lock_class_header(struct lock_class *class, int depth) in print_lock_class_header()
2524 struct lock_class *prev_class, in print_irq_lock_scenario()
2525 struct lock_class *next_class) in print_irq_lock_scenario()
2527 struct lock_class *safe_class = safe_entry->class; in print_irq_lock_scenario()
2528 struct lock_class *unsafe_class = unsafe_entry->class; in print_irq_lock_scenario()
2529 struct lock_class *middle_class = prev_class; in print_irq_lock_scenario()
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()
3055 struct lock_class *class; in check_deadlock()
3144 struct lock_class *class = hlock_class(prev); in check_prev_add()
3555 struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i) in lock_chain_get_class()
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()
4219 static int HARDIRQ_verbose(struct lock_class *class) in HARDIRQ_verbose()
4227 static int SOFTIRQ_verbose(struct lock_class *class) in SOFTIRQ_verbose()
4235 static int (*state_verbose_f[])(struct lock_class *class) = {
4243 struct lock_class *class) in state_verbose()
4851 struct lock_class *class = hlock_class(prev); in check_wait_context()
4981 struct lock_class *class = lock->class_cache[0]; in lockdep_set_lock_cmp_fn()
5055 struct lock_class *class = NULL; in __lock_acquire()
5275 const struct lock_class *class = lock->class_cache[0]; in match_held_lock()
5380 struct lock_class *class; in __lock_set_class()
5738 struct lock_class *class = look_up_lock_class(lock, subclass); in verify_lock_unused()
6149 struct lock_class *class) in remove_class_from_lock_chain()
6184 struct lock_class *class) in remove_class_from_lock_chains()
6201 static void zap_class(struct pending_free *pf, struct lock_class *class) in zap_class()
6239 static void reinit_class(struct lock_class *class) in reinit_class()
6295 struct lock_class *class; in __free_zapped_classes()
6350 struct lock_class *class; in __lockdep_free_key_range()
6434 struct lock_class *class; in lock_class_cache_is_registered()
6453 struct lock_class *class; in __lockdep_reset_lock()