Home
last modified time | relevance | path

Searched refs:lock_class (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/kernel/locking/
Dlockdep_internals.h90 extern void get_usage_chars(struct lock_class *class,
95 struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i);
112 extern unsigned long lockdep_count_forward_deps(struct lock_class *);
113 extern unsigned long lockdep_count_backward_deps(struct lock_class *);
116 lockdep_count_forward_deps(struct lock_class *class) in lockdep_count_forward_deps()
121 lockdep_count_backward_deps(struct lock_class *class) in lockdep_count_backward_deps()
Dlockdep.c141 static struct lock_class lock_classes[MAX_LOCKDEP_KEYS];
143 static inline struct lock_class *hlock_class(struct held_lock *hlock) in hlock_class()
206 struct lock_class_stats lock_stats(struct lock_class *class) in lock_stats()
235 void clear_lock_stats(struct lock_class *class) in clear_lock_stats()
249 static struct lock_class_stats *get_lock_stats(struct lock_class *class) in get_lock_stats()
350 static int class_filter(struct lock_class *class) in class_filter()
366 static int verbose(struct lock_class *class) in verbose()
468 static char get_usage_char(struct lock_class *class, enum lock_usage_bit bit) in get_usage_char()
483 void get_usage_chars(struct lock_class *class, char usage[LOCK_USAGE_CHARS]) in get_usage_chars()
496 static void __print_lock_name(struct lock_class *class) in __print_lock_name()
[all …]
Dlockdep_proc.c41 static void print_name(struct seq_file *m, struct lock_class *class) in print_name()
60 struct lock_class *class = list_entry(v, struct lock_class, lock_entry); in l_show()
129 struct lock_class *class; in lc_show()
203 struct lock_class *class; in lockdep_stats_show()
337 struct lock_class *class;
402 struct lock_class *class; in seq_stats()
582 struct lock_class *class; in lock_stat_open()
614 struct lock_class *class; in lock_stat_write()
/Linux-v4.19/include/linux/
Dlockdep.h68 struct lock_class { struct
145 struct lock_class_stats lock_stats(struct lock_class *class);
146 void clear_lock_stats(struct lock_class *class);
155 struct lock_class *class_cache[NR_LOCKDEP_CACHING_CLASSES];
187 struct lock_class *class;
Dirqdesc.h253 irq_set_lockdep_class(unsigned int irq, struct lock_class_key *lock_class, in irq_set_lockdep_class() argument
259 lockdep_set_class(&desc->lock, lock_class); in irq_set_lockdep_class()
Dkey-type.h160 struct lock_class_key lock_class; /* key->sem lock class */ member
/Linux-v4.19/tools/lib/lockdep/include/liblockdep/
Dcommon.h32 struct lock_class *class_cache[NR_LOCKDEP_CACHING_CLASSES];
/Linux-v4.19/security/keys/
Dkey.c291 lockdep_set_class(&key->sem, &type->lock_class); in key_alloc()
1117 memset(&ktype->lock_class, 0, sizeof(ktype->lock_class)); in register_key_type()