函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:50:18 |
| Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:@depth must not be zero
函数原型:static struct *find_held_lock(struct task_struct *curr, struct lockdep_map *lock, unsigned int depth, int *idx)
返回类型:struct
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | curr | |
| struct lockdep_map * | lock | |
| unsigned int | depth | |
| int * | idx |
| 4055 | hlock等于held_locks加i |
| 4057 | 如果match_held_lock(hlock, lock)则转到:out |
| 4060 | ret = NULL |
| 4067 | 如果irq_context不等于irq_context则 |
| 4071 | 如果match_held_lock(hlock, lock)则 |
| 4077 | out : |
| 4079 | 返回:ret |
| 名称 | 描述 |
|---|---|
| __lock_set_class | |
| __lock_downgrade | |
| __lock_release | Remove the lock from the list of currently held locks - this gets* called on mutex_unlock()/spin_unlock*() (or on a failed* mutex_lock_interruptible()). |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |