Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\futex.c Create Date:2022-07-28 10:53:46
Last Modify:2020-03-17 15:28:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lock_pi_update_atomic

Proto:static int lock_pi_update_atomic(unsigned int __user *uaddr, unsigned int uval, unsigned int newval)

Type:int

Parameter:

TypeParameterName
unsigned int __user *uaddr
unsigned intuval
unsigned intnewval
1384  curval = curval
1386  If Value for the false possibility is greater at compile time(should_fail_futex(true)) Then Return -EFAULT
1389  err = cmpxchg_futex_value_locked( & curval, uaddr, uval, newval)
1390  If Value for the false possibility is greater at compile time(err) Then Return err
1394  Return If curval != uval Then -EAGAIN Else 0
Caller
NameDescribe
futex_lock_pi_atomicex_lock_pi_atomic() - Atomic work required to acquire a pi aware futex*@uaddr: the pi futex user address*@hb: the pi futex hash bucket*@key: the futex key associated with uaddr and hb*@ps: the pi_state pointer where we store the result of the* lookup