Lines Matching refs:futex
382 if (futex(state_and_contenders_.Address(), FUTEX_WAIT_PRIVATE, cur_state, in ExclusiveLock()
487 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeOne, in ExclusiveUnlock()
535 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint()
589 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, nullptr, nullptr, 0) != 0) { in ExclusiveLock()
630 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in ExclusiveUnlock()
668 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, &rel_ts, nullptr, 0) != 0) { in ExclusiveLockWithTimeout()
709 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, nullptr, nullptr, 0) != 0) { in HandleSharedLockContention()
787 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint()
848 bool done = futex(sequence_.Address(), in RequeueWaiters()
888 if (futex(sequence_.Address(), FUTEX_WAIT_PRIVATE, cur_sequence, nullptr, nullptr, 0) != 0) { in WaitHoldingLocks()
939 if (futex(sequence_.Address(), FUTEX_WAIT_PRIVATE, cur_sequence, &rel_ts, nullptr, 0) != 0) { in TimedWait()