Lines Matching refs:lock_classes
218 struct lock_class lock_classes[MAX_LOCKDEP_KEYS]; variable
240 return lock_classes + class_idx; in hlock_class()
302 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in lock_stats()
329 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in clear_lock_stats()
339 return &this_cpu_ptr(cpu_lock_stats)[class - lock_classes]; in get_lock_stats()
1007 for (i = 0; i < ARRAY_SIZE(lock_classes); i++) { in in_any_class_list()
1008 class = &lock_classes[i]; in in_any_class_list()
1084 for (i = 0; i < ARRAY_SIZE(lock_classes); i++) { in __check_data_structures()
1085 class = &lock_classes[i]; in __check_data_structures()
1096 for (i = 0; i < ARRAY_SIZE(lock_classes); i++) { in __check_data_structures()
1097 class = &lock_classes[i]; in __check_data_structures()
1196 for (i = 0; i < ARRAY_SIZE(lock_classes); i++) { in init_data_structures_once()
1197 list_add_tail(&lock_classes[i].lock_entry, &free_lock_classes); in init_data_structures_once()
1198 INIT_LIST_HEAD(&lock_classes[i].locks_after); in init_data_structures_once()
1199 INIT_LIST_HEAD(&lock_classes[i].locks_before); in init_data_structures_once()
1325 __set_bit(class - lock_classes, lock_classes_in_use); in register_lock_class()
1346 idx = class - lock_classes; in register_lock_class()
3532 return lock_classes + class_idx; in lock_chain_get_class()
3600 print_lock_name(NULL, lock_classes + chain_hlock_class_idx(hlock_id)); in print_chain_keys_chain()
3726 BUILD_BUG_ON((1UL << 8*sizeof(chain_hlocks[0])) <= ARRAY_SIZE(lock_classes)); in add_chain_cache()
5040 class_idx = class - lock_classes; in __lock_acquire()
5225 if (hlock->class_idx == class - lock_classes) in match_held_lock()
5333 hlock->class_idx = class - lock_classes; in __lock_set_class()
5683 hlock->class_idx = class - lock_classes; in verify_lock_unused()
6072 if (chain_hlock_class_idx(chain_hlocks[i]) != class - lock_classes) in remove_class_from_lock_chain()
6144 __clear_bit(class - lock_classes, lock_classes_in_use); in zap_class()
6145 if (class - lock_classes == max_lock_class_idx) in zap_class()
6491 (sizeof(lock_classes) + in lockdep_init()