Home
last modified time | relevance | path

Searched refs:memory_order_relaxed (Results 1 – 22 of 22) sorted by relevance

/system/ulib/trace-engine/
A Dcontext.cpp125 std::memory_order_relaxed); in AllocRecord()
283 std::memory_order_relaxed); in AllocDurableRecord()
300 std::memory_order_relaxed); in AllocThreadIndex()
312 std::memory_order_relaxed); in AllocStringIndex()
404 rolling_buffer_current_.load(std::memory_order_relaxed); in UpdateBufferHeaderAfterStopped()
434 rolling_buffer_current_.load(std::memory_order_relaxed); in RollingBytesAllocated()
467 std::memory_order_relaxed); in MarkDurableBufferFull()
473 std::memory_order_relaxed, std::memory_order_relaxed)) { in MarkDurableBufferFull()
499 std::memory_order_relaxed, std::memory_order_relaxed)) { in MarkOneshotBufferFull()
512 std::memory_order_relaxed, std::memory_order_relaxed)) { in MarkRollingBufferFull()
[all …]
A Dengine.cpp259 state_ptr->store(new_state, std::memory_order_relaxed); in flush_site_cache()
302 g_site_cache.load(std::memory_order_relaxed); in add_to_site_cache()
304 state_ptr->store(new_state, std::memory_order_relaxed); in add_to_site_cache()
314 std::memory_order_relaxed, in add_to_site_cache()
315 std::memory_order_relaxed)) { in add_to_site_cache()
319 state_ptr->store(new_state, std::memory_order_relaxed); in add_to_site_cache()
379 g_state.store(TRACE_STARTED, std::memory_order_relaxed); in trace_start_engine()
418 int state = g_state.load(std::memory_order_relaxed); in trace_stop_engine()
430 g_state.store(TRACE_STOPPING, std::memory_order_relaxed); in trace_stop_engine()
459 return (g_context_refs.load(std::memory_order_relaxed) & in trace_engine_is_buffer_context_released()
[all …]
A Dcontext_impl.h75 return num_records_dropped_.load(std::memory_order_relaxed); in num_records_dropped()
206 return durable_buffer_full_mark_.load(std::memory_order_relaxed) != 0; in IsDurableBufferFull()
211 return rolling_buffer_full_mark_[buffer_number].load(std::memory_order_relaxed) == 0; in IsRollingBufferReady()
220 auto current = rolling_buffer_current_.load(std::memory_order_relaxed); in CurrentWrappedCount()
249 std::memory_order_relaxed); in SnapToEnd()
253 num_records_dropped_.fetch_add(1, std::memory_order_relaxed); in MarkRecordDropped()
A Dnonce.cpp17 return g_nonce.fetch_add(1u, std::memory_order_relaxed); in trace_generate_nonce()
A Dcontext_api.cpp47 zx_koid_t koid = g_process_koid.load(std::memory_order_relaxed); in GetCurrentProcessKoid()
50 g_process_koid.store(koid, std::memory_order_relaxed); // idempotent in GetCurrentProcessKoid()
/system/ulib/lockdep/include/lockdep/
A Dlock_dependency_set.h37 const LockClassId entry_id = entry.load(std::memory_order_relaxed); in HasLockClass()
65 LockClassId entry_id = entry.load(std::memory_order_relaxed); in AddLockClass()
71 std::memory_order_relaxed, in AddLockClass()
72 std::memory_order_relaxed); in AddLockClass()
97 return set->list_[index].load(std::memory_order_relaxed);
134 list_[i].store(kInvalidLockClassId, std::memory_order_relaxed); in clear()
A Dlock_class_state.h219 std::memory_order_relaxed, in CompareExchangeParent()
220 std::memory_order_relaxed); in CompareExchangeParent()
226 parent.store(this, std::memory_order_relaxed); in Reset()
331 LoopNode* parent = node->parent.load(std::memory_order_relaxed); in FindSet()
332 LoopNode* grandparent = parent->parent.load(std::memory_order_relaxed); in FindSet()
339 parent = node->parent.load(std::memory_order_relaxed); in FindSet()
340 grandparent = parent->parent.load(std::memory_order_relaxed); in FindSet()
/system/ulib/fit/
A Dscope.cpp22 assert(acquired_promise_count_.load(std::memory_order_relaxed) == in ~state()
30 return acquired_promise_count_.load(std::memory_order_relaxed) & scope_exited; in exited()
47 scope_exited, std::memory_order_relaxed); in exit()
142 1u, std::memory_order_relaxed); in try_acquire_promise()
147 1u, std::memory_order_relaxed); in try_acquire_promise()
154 1u, std::memory_order_relaxed); in release_promise()
/system/ulib/syslog/
A Dfx_logger.h46 logger_fd_.store(config->console_fd, std::memory_order_relaxed); in fx_logger()
50 dropped_logs_.store(0, std::memory_order_relaxed); in fx_logger()
67 severity_.store(log_severity, std::memory_order_relaxed); in SetSeverity()
71 return severity_.load(std::memory_order_relaxed); in GetSeverity()
A Dfx_logger.cpp35 if (logger_fd_.load(std::memory_order_relaxed) != -1) { in ActivateFallback()
53 logger_fd_.store(fallback_fd, std::memory_order_relaxed); in ActivateFallback()
121 return VLogWriteToFd(logger_fd_.load(std::memory_order_relaxed), in VLogWriteToSocket()
204 int fd = logger_fd_.load(std::memory_order_relaxed); in VLogWrite()
224 auto fd_mode = logger_fd_.load(std::memory_order_relaxed) != -1; in AddTags()
/system/ulib/fs/include/fs/
A Dref_counted.h57 int32_t old = this->ref_count_.load(std::memory_order_relaxed); in ResurrectRef()
60 this->ref_count_.store(1, std::memory_order_relaxed); in ResurrectRef()
/system/ulib/fbl/include/fbl/
A Dref_counted_internal.h39 const int32_t rc = ref_count_.fetch_add(1, std::memory_order_relaxed); in AddRef()
111 return ref_count_.load(std::memory_order_relaxed); in ref_count_debug()
A Dstring.h281 return ref_count_field_of(data_)->load(std::memory_order_relaxed); in ref_count()
A Datomic.h56 memory_order_relaxed = __ATOMIC_RELAXED, enumerator
/system/dev/usb/usb-bus/
A Dutil.c112 if (!atomic_load_explicit(&dev->langids_fetched, memory_order_relaxed)) { in usb_util_get_string_descriptor()
156 atomic_store_explicit(&dev->langids_fetched, true, memory_order_relaxed); in usb_util_get_string_descriptor()
166 (usb_langid_desc_t*)(atomic_load_explicit(&dev->lang_ids, memory_order_relaxed)); in usb_util_get_string_descriptor()
/system/ulib/memfs/
A Dmemfs.cpp108 ino_(ino_ctr_.fetch_add(1, std::memory_order_relaxed)) { in VnodeMemfs()
113 deleted_ino_ctr_.fetch_add(1, std::memory_order_relaxed); in ~VnodeMemfs()
/system/utest/cobalt-client/
A Dcounter_test.cpp189 exchange_args->accumulated->fetch_add(value, std::memory_order_relaxed); in ExchangeFn()
229 ASSERT_EQ(counter.Load() + accumulated.load(std::memory_order_relaxed), in TestExchangeMultiThread()
315 flush_args->accumulated->fetch_add(count_entry.count, std::memory_order_relaxed); in FlushFn()
363 ASSERT_EQ(counter.Load() + accumulated.load(std::memory_order_relaxed), in TestFlushMultithread()
/system/ulib/cobalt-client/include/cobalt-client/cpp/
A Dcounter-internal.h35 static constexpr auto kMemoryOrder = std::memory_order_relaxed;
/system/ulib/fbl/
A Dstring.cpp185 gEmpty.ref_count.fetch_add(1u, std::memory_order_relaxed); in InitWithEmpty()
209 ref_count_field_of(data)->fetch_add(1u, std::memory_order_relaxed); in AcquireRef()
/system/ulib/memfs/include/lib/memfs/cpp/
A Dvnode.h63 return ino_ctr_.load(std::memory_order_relaxed); in GetInoCounter()
67 return deleted_ino_ctr_.load(std::memory_order_relaxed); in GetDeletedInoCounter()
/system/utest/trace/
A Dengine_tests.cpp33 return state_ptr->load(std::memory_order_relaxed); in get_site_state()
/system/utest/fbl/
A Datomic_tests.cpp347 fbl::memory_order_relaxed,

Completed in 44 milliseconds