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

/linux-master/include/linux/
H A Dlockdep_types.h201 #define MAX_LOCKDEP_KEYS_BITS 13 macro
202 #define MAX_LOCKDEP_KEYS (1UL << MAX_LOCKDEP_KEYS_BITS)
233 unsigned int class_idx:MAX_LOCKDEP_KEYS_BITS;
/linux-master/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);
430 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS));

Completed in 118 milliseconds