函数逻辑报告 |
Source Code:kernel\futex.c |
Create Date:2022-07-27 11:54:02 |
Last Modify:2020-03-17 15:28:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:futex_atomic_op_inuser
函数原型:static int futex_atomic_op_inuser(unsigned int encoded_op, unsigned int __user *uaddr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | encoded_op | |
unsigned int __user * | uaddr |
1706 | op等于encoded_op按位与0x70000000的值右移28位 |
1707 | cmp等于encoded_op按位与0x0f000000的值右移24位 |
1712 | 如果encoded_op按位与Use (1 << OPARG) instead of OPARG. 左移28位则 |
1719 | pr_info_ratelimited("futex_wake_op: %s tries to shift op by %d; fix this program\n", get_task_comm(comm, 当前进程), oparg) |
1721 | oparg与等于31 |
1734 | 当:cmp恒等于 (oldval == CMPARG) wake |
1736 | 当:cmp恒等于 (oldval != CMPARG) wake |
1738 | 当:cmp恒等于 (oldval < CMPARG) wake |
1740 | 当:cmp恒等于 (oldval >= CMPARG) wake |
1742 | 当:cmp恒等于 (oldval <= CMPARG) wake |
1744 | 当:cmp恒等于 (oldval > CMPARG) wake |
1746 | 默认 |
1747 | 返回:负ENOSYS |
名称 | 描述 |
---|---|
futex_wake_op | Wake up all waiters hashed on the physical page that is mapped* to this virtual address: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |