函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:54:37 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:futex_wait
函数原型:static int futex_wait(unsigned int __user *uaddr, unsigned int flags, unsigned int val, ktime_t *abs_time, unsigned int bitset)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int __user * | uaddr | |
unsigned int | flags | |
unsigned int | val | |
ktime_t * | abs_time | |
unsigned int | bitset |
2792 | q等于futex_q_init |
2801 | retry : |
2814 | ret等于0 |
2816 | 如果非queue_me() - Remove the futex_q from its futex_hash_bucket*@q: The futex_q to unqueue* The q->lock_ptr must not be held by the caller则转到:out |
2826 | 如果非signal_pending(当前进程)则转到:retry |
2833 | restart等于restart_block |
2834 | fn等于futex_wait_restart |
2839 | flags等于flags按位或FLAGS_HAS_TIMEOUT |
2843 | out : |
2844 | 如果to则 |
2846 | destroy_hrtimer_on_stack( & timer) |
2848 | 返回:ret |
名称 | 描述 |
---|---|
futex_wait_restart | |
do_futex |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |