函数逻辑报告 |
Source Code:kernel\locking\mutex-debug.c |
Create Date:2022-07-27 10:49:11 |
| Last Modify:2022-05-22 15:17:10 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:mutex_remove_waiter
函数原型:void mutex_remove_waiter(struct mutex *lock, struct mutex_waiter *waiter, struct task_struct *task)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mutex * | lock | |
| struct mutex_waiter * | waiter | |
| struct task_struct * | task |
| 65 | DEBUG_LOCKS_WARN_ON(task != task) |
| 66 | DEBUG_LOCKS_WARN_ON(blocked_on != waiter) |
| 67 | blocked_on = NULL |
| 69 | 删除链表项并重新初始化 |
| 70 | task = NULL |
| 名称 | 描述 |
|---|---|
| __mutex_lock_common | Lock a mutex (possibly interruptible), slowpath: |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |