Home | History | Annotate | Download | only in bionic

Lines Matching full:oldval

1081         long oldval = cond->value;
1082 long newval = ((oldval - COND_COUNTER_INCREMENT) & COND_COUNTER_MASK)
1084 if (__bionic_cmpxchg(oldval, newval, &cond->value) == 0)
1228 int32_t oldval, newval;
1231 oldval = *ocptr;
1232 if ((oldval & ONCE_COMPLETED) != 0)
1235 newval = oldval | ONCE_INITIALIZING;
1236 } while (__bionic_cmpxchg(oldval, newval, ocptr) != 0);
1238 if ((oldval & ONCE_COMPLETED) != 0) {
1244 if ((oldval & ONCE_INITIALIZING) == 0) {
1252 __futex_wait_ex(ocptr, 0, oldval, NULL);