Function report | 
Source Code:kernel\futex.c | 
Create Date:2022-07-28 10:53:59 | 
| Last Modify:2020-03-17 15:28:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:futex_atomic_op_inuser
Proto:static int futex_atomic_op_inuser(unsigned int encoded_op, unsigned int __user *uaddr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | encoded_op | |
| unsigned int __user * | uaddr | 
| 1706 | op = (encoded_op & 0x70000000) >> 28 | 
| 1707 | cmp = (encoded_op & 0x0f000000) >> 24 | 
| 1712 | If encoded_op & Use (1 << OPARG) instead of OPARG. << 28 Then | 
| 1719 | pr_info_ratelimited("futex_wake_op: %s tries to shift op by %d; fix this program\n", get_task_comm(comm, current process), oparg) | 
| 1721 | oparg &= 31 | 
| 1734 | Case cmp == (oldval == CMPARG) wake | 
| 1736 | Case cmp == (oldval != CMPARG) wake | 
| 1738 | Case cmp == (oldval < CMPARG) wake | 
| 1740 | Case cmp == (oldval >= CMPARG) wake | 
| 1742 | Case cmp == (oldval <= CMPARG) wake | 
| 1744 | Case cmp == (oldval > CMPARG) wake | 
| 1746 | Default | 
| 1747 | Return -ENOSYS | 
| Name | Describe | 
|---|---|
| futex_wake_op | Wake up all waiters hashed on the physical page that is mapped* to this virtual address: | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |