Home
last modified time | relevance | path

Searched refs:MAX_LOCKDEP_KEYS_BITS (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dlockdep_types.h202 #define MAX_LOCKDEP_KEYS_BITS 13 macro
203 #define MAX_LOCKDEP_KEYS (1UL << MAX_LOCKDEP_KEYS_BITS)
234 unsigned int class_idx:MAX_LOCKDEP_KEYS_BITS;
/linux/kernel/locking/
H A Dlockdep.c217 #define KEYHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1)
408 #define CLASSHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1)
431 BUILD_BUG_ON(MAX_LOCKDEP_KEYS_BITS + 2 > 16); in hlock_id()
433 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS)); in hlock_id()