函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:49:59 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Register a dynamically allocated key.
函数原型:void lockdep_register_key(struct lock_class_key *key)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct lock_class_key * | key |
1121 | hash_head等于keyhashentry(key) |
1123 | raw_local_irq_save(flags) |
1124 | 如果非graph_lock()则转到:restore_irqs |
1127 | 如果WARN_ON_ONCE(k == key)则转到:out_unlock |
1130 | 添加哈希记录 |
1131 | out_unlock : |
1132 | graph_unlock() |
1133 | restore_irqs : |
1134 | raw_local_irq_restore(flags) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |