函数逻辑报告 |
Source Code:kernel\locking\rtmutex.c |
Create Date:2022-07-27 10:52:11 |
Last Modify:2020-03-17 14:26:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lock->owner state tracking:* is used to keep track of the "lock has waiters" state
函数原型:static void rt_mutex_set_owner(struct rt_mutex *lock, struct task_struct *owner)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rt_mutex * | lock | >owner holds the task_struct pointer of the owner. Bit 0 |
struct task_struct * | owner |
57 | 如果rt_mutex_has_waiters(>owner holds the task_struct pointer of the owner. Bit 0)则val或等于lock->owner state tracking: |
名称 | 描述 |
---|---|
try_to_take_rt_mutex | Try to take an rt-mutex* Must be called with lock->wait_lock held and interrupts disabled*@lock: The lock to be acquired |
rt_mutex_init_proxy_locked | _mutex_init_proxy_locked - initialize and lock a rt_mutex on behalf of a* proxy owner*@lock: the rt_mutex to be locked*@proxy_owner:the task to set as owner* No locking. Caller has to do serializing itself* Special API call for PI-futex support |
rt_mutex_proxy_unlock | _mutex_proxy_unlock - release a lock on behalf of owner*@lock: the rt_mutex to be locked* No locking. Caller has to do serializing itself* Special API call for PI-futex support. This merrily cleans up the rtmutex* (debugging) state |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |