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()
2184 if (src->class_idx == target->class_idx) in check_noncircular()
3116 if (prev->class_idx == next->class_idx) { in check_prev_add()
3531 unsigned int class_idx = chain_hlock_class_idx(chain_hlock); in lock_chain_get_class() local
3533 return lock_classes + class_idx; in lock_chain_get_class()
3923 if (DEBUG_LOCKS_WARN_ON(!test_bit(hlock->class_idx, lock_classes_in_use))) in check_chain_key()
4999 int class_idx; in __lock_acquire() local
5041 class_idx = class - lock_classes; in __lock_acquire()
5046 if (hlock->class_idx == class_idx && nest_lock) { in __lock_acquire()
5070 hlock->class_idx = class_idx; in __lock_acquire()
5107 if (DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use))) in __lock_acquire()
5226 if (hlock->class_idx == class - lock_classes) in match_held_lock()
5334 hlock->class_idx = class - lock_classes; in __lock_set_class()
5684 hlock->class_idx = class - lock_classes; in verify_lock_unused()