Lines Matching defs:cmpval
1203 * futex_func_wait(uaddr, cmpval@val, bitset@val3, timeout, clkid, clkflags,
1207 * *uaddr == cmpval, wait until futex-woken on any of the bits in
1208 * bitset. But if *uaddr != cmpval, fail with EAGAIN.
1213 futex_func_wait(bool shared, int *uaddr, int cmpval, int bitset,
1231 if (!futex_test(uaddr, cmpval))
1262 if (!futex_test(uaddr, cmpval)) {
1349 * cmpval@val3, retval)
1352 * *uaddr == cmpval or if op == FUTEX_REQUEUE, wake up to nwake
1358 * For FUTEX_CMP_REQUEUE, if *uaddr != cmpval, fail with EAGAIN
1363 int nrequeue, int cmpval, register_t *retval)
1403 * unchanged from cmpval, or if this is the unconditional
1407 if (op == FUTEX_CMP_REQUEUE && !futex_test(uaddr, cmpval)) {
1678 const int cmpval = val;
1681 return futex_func_wait(shared, uaddr, cmpval, bitset, timeout,
1700 const int cmpval = val3; /* ignored if op=FUTEX_REQUEUE */
1703 nrequeue, cmpval, retval);
1706 const int cmpval = val;
1709 return futex_func_wait(shared, uaddr, cmpval, bitset, timeout,