Lines Matching refs:state_and_contenders_
324 DCHECK_EQ(0, state_and_contenders_.load(std::memory_order_relaxed));
339 if (state_and_contenders_.load(std::memory_order_relaxed) != 0) {
369 int32_t cur_state = state_and_contenders_.load(std::memory_order_relaxed);
371 done = state_and_contenders_.CompareAndSetWeakAcquire(cur_state, cur_state | kHeldMask);
382 if (futex(state_and_contenders_.Address(), FUTEX_WAIT_PRIVATE, cur_state,
396 DCHECK_NE(state_and_contenders_.load(std::memory_order_relaxed) & kHeldMask, 0);
421 int32_t cur_state = state_and_contenders_.load(std::memory_order_relaxed);
424 done = state_and_contenders_.CompareAndSetWeakAcquire(cur_state, cur_state | kHeldMask);
429 DCHECK_NE(state_and_contenders_.load(std::memory_order_relaxed) & kHeldMask, 0);
478 int32_t cur_state = state_and_contenders_.load(std::memory_order_relaxed);
484 done = state_and_contenders_.CompareAndSetWeakRelease(cur_state, new_state);
487 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeOne,
535 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0);
852 guard_.state_and_contenders_.Address(),