| /system/ulib/trace-engine/ |
| A D | context.cpp | 125 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 D | engine.cpp | 259 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 D | context_impl.h | 75 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 D | nonce.cpp | 17 return g_nonce.fetch_add(1u, std::memory_order_relaxed); in trace_generate_nonce()
|
| A D | context_api.cpp | 47 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 D | lock_dependency_set.h | 37 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 D | lock_class_state.h | 219 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 D | scope.cpp | 22 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 D | fx_logger.h | 46 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 D | fx_logger.cpp | 35 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 D | ref_counted.h | 57 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 D | ref_counted_internal.h | 39 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 D | string.h | 281 return ref_count_field_of(data_)->load(std::memory_order_relaxed); in ref_count()
|
| A D | atomic.h | 56 memory_order_relaxed = __ATOMIC_RELAXED, enumerator
|
| /system/dev/usb/usb-bus/ |
| A D | util.c | 112 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 D | memfs.cpp | 108 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 D | counter_test.cpp | 189 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 D | counter-internal.h | 35 static constexpr auto kMemoryOrder = std::memory_order_relaxed;
|
| /system/ulib/fbl/ |
| A D | string.cpp | 185 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 D | vnode.h | 63 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 D | engine_tests.cpp | 33 return state_ptr->load(std::memory_order_relaxed); in get_site_state()
|
| /system/utest/fbl/ |
| A D | atomic_tests.cpp | 347 fbl::memory_order_relaxed,
|