Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dlockdep.h85 #define MAX_LOCKDEP_KEYS_BITS 13 macro
86 #define MAX_LOCKDEP_KEYS (1UL << MAX_LOCKDEP_KEYS_BITS)
117 unsigned int class_idx:MAX_LOCKDEP_KEYS_BITS;
/openbmc/linux/kernel/locking/
H A Dlockdep.c212 #define KEYHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1)
405 #define CLASSHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1)
428 BUILD_BUG_ON(MAX_LOCKDEP_KEYS_BITS + 2 > 16); in hlock_id()
430 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS)); in hlock_id()