| Function report | 
| Source Code: kernel\locking\lockdep.c | Create Date:2022-07-28 09:49:39 | 
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Initialize the lock_classes[] array elements, the free_lock_classes list* and also the delayed_free structure.
Proto:static void init_data_structures_once(void)
Type:void
Parameter:Nothing
| 1082 | If Value is more likely to compile time(rcu_head_initialized) Then Return | 
| 1087 | rcu_head_initialized = true | 
| 1090 | If ds_initialized Then Return | 
| 1093 | ds_initialized = true | 
| Name | Describe | 
|---|---|
| register_lock_class | Register a lock's class in the hash-table, if the class is not present* yet. Otherwise we look it up. We cache the result in the lock object* itself, so actual lookup of the hash should be once per lock object. | 
| lockdep_free_key_range_reg | Used in module | 
| lockdep_free_key_range_imm | Free all lockdep keys in the range [start, start+size). Does not sleep.* Ignores debug_locks. Must only be used by the lockdep selftests. | 
| lockdep_free_key_range | |
| lockdep_reset_lock | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |