Home
last modified time | relevance | path

Searched refs:MAX_LOCKDEP_KEYS (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/kernel/locking/
Dlockdep_proc.c252 nr_lock_classes, MAX_LOCKDEP_KEYS); in lockdep_stats_show()
343 struct lock_stat_data stats[MAX_LOCKDEP_KEYS];
Dlockdep.c141 static struct lock_class lock_classes[MAX_LOCKDEP_KEYS];
156 static DEFINE_PER_CPU(struct lock_class_stats[MAX_LOCKDEP_KEYS], cpu_lock_stats);
548 if (!class_idx || (class_idx - 1) >= MAX_LOCKDEP_KEYS) { in print_lock()
778 if (nr_lock_classes >= MAX_LOCKDEP_KEYS) { in register_lock_class()
2465 if (DEBUG_LOCKS_WARN_ON(hlock->class_idx > MAX_LOCKDEP_KEYS)) in check_chain_key()
3388 if (DEBUG_LOCKS_WARN_ON(class_idx > MAX_LOCKDEP_KEYS)) in __lock_acquire()
4321 printk("... MAX_LOCKDEP_KEYS: %lu\n", MAX_LOCKDEP_KEYS); in lockdep_init()
4328 (sizeof(struct lock_class) * MAX_LOCKDEP_KEYS + in lockdep_init()
/Linux-v4.19/Documentation/locking/
Dlockdep-design.txt275 The validator tracks a maximum of MAX_LOCKDEP_KEYS number of lock classes.
278 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))
280 By default, MAX_LOCKDEP_KEYS is currently set to 8191, and typical
/Linux-v4.19/include/linux/
Dlockdep.h217 #define MAX_LOCKDEP_KEYS ((1UL << MAX_LOCKDEP_KEYS_BITS) - 1) macro