函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:54:31 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:xup_owner() - Post lock pi_state and corner case management*@uaddr: user address of the futex*@q: futex_q (contains pi_state and access to the rt_mutex)*@locked: if the attempt to take the rt_mutex succeeded (1) or not (0)* After attempting to lock an
函数原型:static int fixup_owner(unsigned int __user *uaddr, struct futex_q *q, int locked)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int __user * | uaddr | |
struct futex_q * | q | |
int | locked |
2628 | ret等于0 |
2630 | 如果locked则 |
2653 | ret等于fixup_pi_state_owner(uaddr, q, NULL) |
2654 | 转到:out |
2661 | 如果rt_mutex_owner( & The PI object:)恒等于当前进程则 |
2668 | out : |
名称 | 描述 |
---|---|
futex_lock_pi | Userspace tried a 0 -> TID atomic transition of the futex value* and failed. The kernel side here does the whole locking operation:* if there are waiters then it will block as a consequence of relying* on rt-mutexes, it does PI, etc |
futex_wait_requeue_pi | ex_wait_requeue_pi() - Wait on uaddr and take uaddr2*@uaddr: the futex we initially wait on (non-pi)*@flags: futex flags (FLAGS_SHARED, FLAGS_CLOCKRT, etc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |