Lines Matching refs:load
198 if (g_state.load(fbl::memory_order_relaxed) != TRACE_STOPPED)
200 ZX_DEBUG_ASSERT(g_context_refs.load(fbl::memory_order_relaxed) == 0u);
252 int state = g_state.load(fbl::memory_order_relaxed);
261 ZX_DEBUG_ASSERT(g_context_refs.load(fbl::memory_order_relaxed) != 0u);
280 return (g_context_refs.load(fbl::memory_order_relaxed) &
349 ZX_DEBUG_ASSERT(g_state.load(fbl::memory_order_relaxed) == TRACE_STOPPING);
350 ZX_DEBUG_ASSERT(g_context_refs.load(fbl::memory_order_relaxed) == 0u);
408 auto context_refs = g_context_refs.load(fbl::memory_order_relaxed);
446 return static_cast<trace_state_t>(g_state.load(fbl::memory_order_relaxed));
465 uint32_t count = g_context_refs.load(fbl::memory_order_relaxed);
503 ZX_DEBUG_ASSERT(get_buffer_context_refs(g_context_refs.load(fbl::memory_order_relaxed)) != 0u);
520 uint32_t count = g_context_refs.load(fbl::memory_order_relaxed);
536 ZX_DEBUG_ASSERT(get_prolonged_context_refs(g_context_refs.load(fbl::memory_order_relaxed)) <=
545 ZX_DEBUG_ASSERT(get_prolonged_context_refs(g_context_refs.load(fbl::memory_order_relaxed)) != 0u);