函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:49:58 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Initialize the lock_classes[] array elements, the free_lock_classes list* and also the delayed_free structure.
函数原型:static void init_data_structures_once(void)
返回类型:void
参数:无
1082 | 如果此条件成立可能性大(为编译器优化)(rcu_head_initialized)则返回 |
1086 | 初始化栈上的rcu锁 |
1087 | rcu_head_initialized = true |
1090 | 如果ds_initialized则返回 |
1093 | ds_initialized = true |
1095 | 初始化链表头 |
1096 | 初始化链表头 |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |