Home
last modified time | relevance | path

Searched refs:memory_order_acquire (Results 1 - 25 of 125) sorted by relevance

12345

/third_party/elfutils/lib/
H A Ddynamicsizehash_concurrent.c52 memory_order_acquire); in lookup()
69 memory_order_acquire); in lookup()
88 memory_order_acquire); in insert_helper()
97 memory_order_acquire, in insert_helper()
98 memory_order_acquire); in insert_helper()
111 memory_order_acquire); in insert_helper()
130 memory_order_acquire); in insert_helper()
139 memory_order_acquire, in insert_helper()
140 memory_order_acquire); in insert_helper()
153 memory_order_acquire); in insert_helper()
[all...]
/third_party/musl/porting/linux/user/src/hook/
H A Dmusl_preinit_common.h48 volatile bool g_flag = atomic_load_explicit(&__hook_enable_hook_flag, memory_order_acquire); in __get_global_hook_flag()
59 volatile bool memleak_flag = atomic_load_explicit(&__memleak_hook_flag, memory_order_acquire); in __get_memleak_hook_flag()
71 volatile void* impl_handle = (void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __get_hook_flag()
92 volatile void* impl_handle = (void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __set_hook_flag()
112 volatile const struct MallocDispatchType* ret = (struct MallocDispatchType *)atomic_load_explicit(&__musl_libc_globals.current_dispatch_table, memory_order_acquire); in get_current_dispatch_table()
134 volatile void* impl_handle = (void*)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __send_hook_misc_data()
154 volatile void* impl_handle = (void*)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __get_hook_config()
H A Dmusl_preinit.c474 volatile void* shared_library_handle = (volatile void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in install_ohos_malloc_hook()
551 volatile void* ohos_malloc_ever_handle = (volatile void* )atomic_load_explicit(&ohos_malloc_ever_shared_library_handle, memory_order_acquire); in __install_malloc_hook()
557 volatile void* shared_library_handle = (volatile void* )atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __install_malloc_hook()
572 volatile const struct MallocDispatchType* so_dispatch_value = (volatile const struct MallocDispatchType* )atomic_load_explicit(&__musl_libc_globals.so_dispatch_table, memory_order_acquire); in __install_malloc_hook()
582 if (!atomic_load_explicit(&__hook_enable_hook_flag, memory_order_acquire)) { in __uninstal_malloc_hook()
602 volatile void* memleak_ever_handle = (volatile void* )atomic_load_explicit(&memleak_ever_shared_library_handle, memory_order_acquire); in __install_memleak_tracker_hook()
608 volatile void* shared_library_handle = (volatile void* )atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __install_memleak_tracker_hook()
624 volatile const struct MallocDispatchType* memleak_tracker_so_dispatch_value = (volatile const struct MallocDispatchType* )atomic_load_explicit(&__musl_libc_globals.memleak_tracker_so_dispatch_table, memory_order_acquire); in __install_memleak_tracker_hook()
H A Dmalloc_common.c27 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in malloc()
55 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in aligned_alloc()
74 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in free()
/third_party/musl/src/hook/linux/
H A Dmusl_preinit_common.h70 volatile bool g_flag = atomic_load_explicit(&__hook_enable_hook_flag, memory_order_acquire); in __get_global_hook_flag()
81 volatile bool memleak_flag = atomic_load_explicit(&__memleak_hook_flag, memory_order_acquire); in __get_memleak_hook_flag()
93 volatile void* impl_handle = (void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __get_hook_flag()
114 volatile void* impl_handle = (void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __set_hook_flag()
134 volatile const struct MallocDispatchType* ret = (struct MallocDispatchType *)atomic_load_explicit(&__musl_libc_globals.current_dispatch_table, memory_order_acquire); in get_current_dispatch_table()
156 volatile void* impl_handle = (void*)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __send_hook_misc_data()
176 volatile void* impl_handle = (void*)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __get_hook_config()
H A Dmusl_preinit.c488 volatile void* shared_library_handle = (volatile void *)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in install_ohos_malloc_hook()
565 volatile void* ohos_malloc_ever_handle = (volatile void*)atomic_load_explicit(&ohos_malloc_ever_shared_library_handle, memory_order_acquire); in __install_malloc_hook()
571 volatile void* shared_library_handle = (volatile void*)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __install_malloc_hook()
586 volatile const struct MallocDispatchType* so_dispatch_value = (volatile const struct MallocDispatchType*)atomic_load_explicit(&__musl_libc_globals.so_dispatch_table, memory_order_acquire); in __install_malloc_hook()
596 if (!atomic_load_explicit(&__hook_enable_hook_flag, memory_order_acquire)) { in __uninstal_malloc_hook()
616 volatile void* memleak_ever_handle = (volatile void*)atomic_load_explicit(&memleak_ever_shared_library_handle, memory_order_acquire); in __install_memleak_tracker_hook()
622 volatile void* shared_library_handle = (volatile void*)atomic_load_explicit(&ohos_malloc_hook_shared_library, memory_order_acquire); in __install_memleak_tracker_hook()
638 volatile const struct MallocDispatchType* memleak_tracker_so_dispatch_value = (volatile const struct MallocDispatchType*)atomic_load_explicit(&__musl_libc_globals.memleak_tracker_so_dispatch_table, memory_order_acquire); in __install_memleak_tracker_hook()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Datomic_hook.h69 // Reads and writes guarantee memory_order_acquire/memory_order_release
106 // memory_order_acquire.
148 FnPtr DoLoad() const { return hook_.load(std::memory_order_acquire); } in DoLoad()
156 expected, fn, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
170 const intptr_t value = hook_.load(std::memory_order_acquire); in DoLoad()
182 expected, value, std::memory_order_acq_rel, std::memory_order_acquire); in DoStore()
H A Dspinlock_wait.cc44 uint32_t v = w->load(std::memory_order_acquire); in SpinLockWait()
52 std::memory_order_acquire, in SpinLockWait()
/third_party/node/deps/v8/src/base/
H A Datomicops.h150 std::memory_order_acquire, std::memory_order_acquire); in Acquire_CompareAndSwap() member in v8::base::std
176 std::memory_order_acq_rel, std::memory_order_acquire); in AcquireRelease_CompareAndSwap() member in v8::base::std
242 std::memory_order_acquire); in Acquire_Load()
247 std::memory_order_acquire); in Acquire_Load()
293 std::memory_order_acquire, std::memory_order_acquire); in Acquire_CompareAndSwap() member in v8::base::std
310 std::memory_order_acq_rel, std::memory_order_acquire); in AcquireRelease_CompareAndSwap() member in v8::base::std
336 std::memory_order_acquire); in Acquire_Load()
H A Donce.cc20 if (once->load(std::memory_order_acquire) == ONCE_STATE_DONE) { in CallOnceImpl()
41 while (once->load(std::memory_order_acquire) == in CallOnceImpl()
H A Donce.h90 if (once->load(std::memory_order_acquire) != ONCE_STATE_DONE) { in CallOnce()
100 if (once->load(std::memory_order_acquire) != ONCE_STATE_DONE) { in CallOnce()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcordz_info.cc266 CordzInfo* head = global_list_.head.load(std::memory_order_acquire); in Head()
275 CordzInfo* next = ci_next_.load(std::memory_order_acquire); in Next()
359 CordzInfo* const head = list_->head.load(std::memory_order_acquire); in Track()
372 CordzInfo* const head = list_->head.load(std::memory_order_acquire); in Untrack()
373 CordzInfo* const next = ci_next_.load(std::memory_order_acquire); in Untrack()
374 CordzInfo* const prev = ci_prev_.load(std::memory_order_acquire); in Untrack()
377 ABSL_ASSERT(next->ci_prev_.load(std::memory_order_acquire) == this); in Untrack()
382 ABSL_ASSERT(prev->ci_next_.load(std::memory_order_acquire) == this); in Untrack()
H A Dcordz_handle.cc32 CordzHandle* dq_tail = queue_->dq_tail.load(std::memory_order_acquire); in CordzHandle()
82 CordzHandle* dq_tail = queue->dq_tail.load(std::memory_order_acquire); in Delete()
97 CordzHandle* dq_tail = global_queue_.dq_tail.load(std::memory_order_acquire); in DiagnosticsGetDeleteQueue()
/third_party/gn/src/base/
H A Datomic_ref_count.h46 bool IsOne() const { return ref_count_.load(std::memory_order_acquire) == 1; } in IsOne()
52 return ref_count_.load(std::memory_order_acquire) == 0; in IsZero()
/third_party/node/deps/v8/src/heap/
H A Dprogress-bar.h31 return value_.load(std::memory_order_acquire) != kDisabledSentinel; in IsEnabled()
36 return value_.load(std::memory_order_acquire); in Value()
/third_party/skia/include/private/
H A DSkSpinlock.h21 if (fLocked.exchange(true, std::memory_order_acquire)) { in SK_ACQUIRE()
30 if (fLocked.exchange(true, std::memory_order_acquire)) { in SK_TRY_ACQUIRE()
H A DSkOnce.h26 auto state = fState.load(std::memory_order_acquire); in operator ()()
44 while (fState.load(std::memory_order_acquire) != Done) { /*spin*/ } in operator ()()
/third_party/benchmark/test/
H A Dbenchmark_setup_teardown_test.cc50 concurrent::setup_call.fetch_add(1, std::memory_order_acquire); in DoSetup2()
55 concurrent::teardown_call.fetch_add(1, std::memory_order_acquire); in DoTeardown2()
62 concurrent::func_call.fetch_add(1, std::memory_order_acquire); in BM_concurrent()
/third_party/skia/third_party/externals/angle2/src/common/
H A DSpinlock.h48 !mLock.exchange(true, std::memory_order_acquire);
53 while (mLock.exchange(true, std::memory_order_acquire))
/third_party/skia/third_party/externals/oboe/src/fifo/
H A DFifoController.h37 return mReadCounter.load(std::memory_order_acquire);
46 return mWriteCounter.load(std::memory_order_acquire);
H A DFifoControllerIndirect.h39 return mReadCounterAddress->load(std::memory_order_acquire);
48 return mWriteCounterAddress->load(std::memory_order_acquire);
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
H A Dmutex.cc753 if (synch_check_invariants.load(std::memory_order_acquire) && in EnableInvariantDebugging()
1072 std::memory_order_acquire, in TryRemove()
1124 while (s->state.load(std::memory_order_acquire) == PerThreadSynch::kQueued) { in Block()
1243 if (synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyLockEnter()
1253 if (synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyLockEnter()
1263 if (synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyLockLeave()
1325 if (synch_deadlock_detection.load(std::memory_order_acquire) == in DeadlockCheck()
1397 if (synch_deadlock_detection.load(std::memory_order_acquire) == in DeadlockCheck()
1413 if (kDebugMode && synch_deadlock_detection.load(std::memory_order_acquire) != in DebugOnlyDeadlockCheck()
1422 if (kDebugMode && synch_deadlock_detection.load(std::memory_order_acquire) ! in ForgetDeadlockInfo()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
H A Dflag.cc239 int64_t one_word_val = OneWordValue().load(std::memory_order_acquire); in StoreValue()
296 OneWordValue().load(std::memory_order_acquire)); in CurrentValue()
357 *this, OneWordValue().load(std::memory_order_acquire), modified, in SaveState()
452 OneWordValue().load(std::memory_order_acquire); in Read()
473 return OneWordValue().load(std::memory_order_acquire); in ReadOneWord()
481 OneWordValue().load(std::memory_order_acquire)) in ReadOneBool()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DManagedStatic.h87 void *Tmp = Ptr.load(std::memory_order_acquire); in operator *()
97 void *Tmp = Ptr.load(std::memory_order_acquire); in operator *()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DManagedStatic.h86 void *Tmp = Ptr.load(std::memory_order_acquire); in operator *()
96 void *Tmp = Ptr.load(std::memory_order_acquire); in operator *()

Completed in 16 milliseconds

12345