Searched refs:curval (Results 1 – 4 of 4) sorted by relevance
/kernel/futex/ |
D | pi.c | 477 u32 curval; in lock_pi_update_atomic() local 482 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in lock_pi_update_atomic() 487 return curval != uval ? -EAGAIN : 0; in lock_pi_update_atomic() 619 u32 curval, newval; in wake_futex_pi() local 650 ret = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in wake_futex_pi() 651 if (!ret && (curval != uval)) { in wake_futex_pi() 658 if ((FUTEX_TID_MASK & curval) == uval) in wake_futex_pi() 688 u32 uval, curval, newval, newtid; in __fixup_pi_state_owner() local 772 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in __fixup_pi_state_owner() 776 if (curval == uval) in __fixup_pi_state_owner() [all …]
|
D | requeue.c | 273 u32 curval; in futex_proxy_trylock_atomic() local 276 if (futex_get_value_locked(&curval, pifutex)) in futex_proxy_trylock_atomic() 450 u32 curval; in futex_requeue() local 452 ret = futex_get_value_locked(&curval, uaddr1); in futex_requeue() 458 ret = get_user(curval, uaddr1); in futex_requeue() 467 if (curval != *cmpval) { in futex_requeue()
|
D | core.c | 451 int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval) in futex_cmpxchg_value_locked() argument 456 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in futex_cmpxchg_value_locked()
|
D | futex.h | 150 extern int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval);
|