函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:50:00 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check whether a key has been registered as a dynamic key.
函数原型:static bool is_dynamic_key(const struct lock_class_key *key)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct lock_class_key * | key |
1143 | bool found = false |
1145 | 如果WARN_ON_ONCE(Is this the address of a static object:)则返回:false |
1156 | hash_head等于keyhashentry(key) |
1167 | 返回:found |
名称 | 描述 |
---|---|
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_init_map | Initialize a lock instance's lock-class mapping info: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |