Function report | 
Source Code:kernel\futex.c | 
Create Date:2022-07-28 10:53:53 | 
| Last Modify:2020-03-17 15:28:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Caller must hold a reference on @pi_state.
Proto:static int wake_futex_pi(unsigned int __user *uaddr, unsigned int uval, struct futex_pi_state *pi_state)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int __user * | uaddr | |
| unsigned int | uval | |
| struct futex_pi_state * | pi_state | 
| 1556 | bool postunlock = false | 
| 1558 | ret = 0 | 
| 1561 | If WARN_ON_ONCE(!new_owner) Then | 
| 1571 | Go to out_unlock | 
| 1581 | If Value for the false possibility is greater at compile time(should_fail_futex(true)) Then ret = -EFAULT | 
| 1592 | If (The rest of the robust-futex field is for the TID: & curval) == uval Then ret = -EAGAIN | 
| 1598 | If ret Then Go to out_unlock | 
| 1617 | postunlock = Futex variant, that since futex variants do not use the fast-path, can be* simple and will not need to retry. | 
| 1619 | out_unlock : | 
| 1620 | raw_spin_unlock_irq( & wait_lock) | 
| 1625 | Return ret | 
| Name | Describe | 
|---|---|
| futex_unlock_pi | Userspace attempted a TID -> 0 atomic transition, and failed.* This is the in-kernel slowpath: we look up the PI state (if any),* and do the rt-mutex unlock. | 
| 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  |