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()
673 static char get_usage_char(struct lock_class *class, enum lock_usage_bit bit) in get_usage_char()
699 void get_usage_chars(struct lock_class *class, char usage[LOCK_USAGE_CHARS]) in get_usage_chars()
712 static void __print_lock_name(struct lock_class *class) in __print_lock_name()
730 static void print_lock_name(struct lock_class *class) in print_lock_name()
767 struct lock_class *lock = hlock_class(hlock); in print_lock()
808 static int very_verbose(struct lock_class *class) in very_verbose()
868 static int count_matching_names(struct lock_class *new_class) in count_matching_names()
870 struct lock_class *class; in count_matching_names()
887 static noinstr struct lock_class *
892 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()
1414 static int add_lock_to_list(struct lock_class *this, in add_lock_to_list()
1415 struct lock_class *links_to, struct list_head *head, in add_lock_to_list()
1560 void *lock_class = lock->class; in get_dep_list() local
1562 return lock_class + offset; in get_dep_list()
1651 struct lock_class *class) in __bfs_init_root()
1839 offsetof(struct lock_class, locks_after)); in __bfs_forwards()
1851 offsetof(struct lock_class, locks_before)); in __bfs_backwards()
1881 struct lock_class *source = hlock_class(src); in print_circular_lock_scenario()
1882 struct lock_class *target = hlock_class(tgt); in print_circular_lock_scenario()
1883 struct lock_class *parent = prt->class; in print_circular_lock_scenario()
2085 unsigned long lockdep_count_forward_deps(struct lock_class *class) in lockdep_count_forward_deps()
2111 unsigned long lockdep_count_backward_deps(struct lock_class *class) in lockdep_count_backward_deps()
2329 static void print_lock_class_header(struct lock_class *class, int depth) in print_lock_class_header()
2491 struct lock_class *prev_class, in print_irq_lock_scenario()
2492 struct lock_class *next_class) in print_irq_lock_scenario()
2494 struct lock_class *safe_class = safe_entry->class; in print_irq_lock_scenario()
2495 struct lock_class *unsafe_class = unsafe_entry->class; in print_irq_lock_scenario()
2496 struct lock_class *middle_class = prev_class; in print_irq_lock_scenario()
2952 struct lock_class *next = hlock_class(nxt); in print_deadlock_scenario()
2953 struct lock_class *prev = hlock_class(prv); in print_deadlock_scenario()
3491 struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i) in lock_chain_get_class()
3744 struct lock_class *class = hlock_class(hlock); in lookup_chain_cache_add()
3915 struct lock_class *class = hlock_class(lock); in print_usage_bug_scenario()
4135 static int HARDIRQ_verbose(struct lock_class *class) in HARDIRQ_verbose()
4143 static int SOFTIRQ_verbose(struct lock_class *class) in SOFTIRQ_verbose()
4151 static int (*state_verbose_f[])(struct lock_class *class) = {
4159 struct lock_class *class) in state_verbose()
4916 struct lock_class *class = NULL; in __lock_acquire()
5119 const struct lock_class *class = lock->class_cache[0]; in match_held_lock()
5224 struct lock_class *class; in __lock_set_class()
5582 struct lock_class *class = look_up_lock_class(lock, subclass); in verify_lock_unused()
5954 struct lock_class *class) in remove_class_from_lock_chain()
5989 struct lock_class *class) in remove_class_from_lock_chains()
6006 static void zap_class(struct pending_free *pf, struct lock_class *class) in zap_class()
6044 static void reinit_class(struct lock_class *class) in reinit_class()
6098 struct lock_class *class; in __free_zapped_classes()
6148 struct lock_class *class; in __lockdep_free_key_range()
6230 struct lock_class *class; in lock_class_cache_is_registered()
6249 struct lock_class *class; in __lockdep_reset_lock()