Lines Matching refs:class_idx
223 unsigned int class_idx = hlock->class_idx; in hlock_class() local
228 if (!test_bit(class_idx, lock_classes_in_use)) { in hlock_class()
240 return lock_classes + class_idx; in hlock_class()
430 return (hlock->class_idx | (hlock->read << MAX_LOCKDEP_KEYS_BITS)); in hlock_id()
3494 unsigned int class_idx = chain_hlock_class_idx(chain_hlock); in lock_chain_get_class() local
3496 return lock_classes + class_idx; in lock_chain_get_class()
3886 if (DEBUG_LOCKS_WARN_ON(!test_bit(hlock->class_idx, lock_classes_in_use))) in check_chain_key()
4920 int class_idx; in __lock_acquire() local
4962 class_idx = class - lock_classes; in __lock_acquire()
4966 if (hlock->class_idx == class_idx && nest_lock) { in __lock_acquire()
4990 hlock->class_idx = class_idx; in __lock_acquire()
5026 if (DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use))) in __lock_acquire()
5141 if (hlock->class_idx == class - lock_classes) in match_held_lock()
5249 hlock->class_idx = class - lock_classes; in __lock_set_class()
5599 hlock->class_idx = class - lock_classes; in verify_lock_unused()