函数逻辑报告 |
Source Code:kernel\locking\mutex.c |
Create Date:2022-07-27 10:47:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Internal helper function; C doesn't allow us to hide it :/* DO NOT USE (outside of mutex code).
函数原型:static inline struct task_struct *__mutex_owner(struct mutex *lock)
返回类型:struct task_struct
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mutex * | lock |
| 75 | 返回:atomic_long_read( & owner)按位与MUTEX_FLAGS的反 |
| 名称 | 描述 |
|---|---|
| mutex_is_locked | 是互斥锁 |
| mutex_trylock_recursive | |
| __ww_mutex_wound | Wound-Wait; wound a younger @hold_ctx if it holds the lock.* Wound the lock holder if there are waiters with older transactions than* the lock holders. Even if multiple waiters may wound the lock holder,* it's sufficient that only one does. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |