函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:50:42 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Remove all references to a lock class. The caller must hold the graph lock.
函数原型:static void zap_class(struct pending_free *pf, struct lock_class *class)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pending_free * | pf | |
| struct lock_class * | class |
| 4849 | WARN_ON_ONCE(!key) |
| 4856 | entry等于list_entries加i |
| 4860 | nr_list_entries自减 |
| 4861 | 删除不需要重新初始化的列表项 |
| 4865 | 链表项移动到尾部 |
| 4866 | 删除哈希表中无需重新初始化的条目 |
| 4867 | WRITE_ONCE(key, NULL) |
| 4868 | WRITE_ONCE(name, NULL) |
| 4869 | nr_lock_classes自减 |
| 4871 | 否则 |
| 名称 | 描述 |
|---|---|
| __lockdep_free_key_range | Remove all lock classes from the class hash table and from the* all_lock_classes list whose key or name is in the address range [start,* start + size). Move these lock classes to the zapped_classes list. Must* be called with the graph lock held. |
| __lockdep_reset_lock | The caller must hold the graph lock. Does not sleep. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |