Home
last modified time | relevance | path

Searched refs:atomic_store (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/bionic/
Dmalloc_heapprofd.cpp129 atomic_store(&gGlobalsMutating, false); in MaybeModifyGlobals()
255 atomic_store(&gPreviousDefaultDispatchTable, default_dispatch); in HandleHeapprofdSignal()
273 atomic_store(&gPreviousDefaultDispatchTable, nullptr); in HandleHeapprofdSignal()
310 atomic_store(&globals->default_dispatch_table, &gEphemeralDispatch); in HandleHeapprofdSignal()
312 atomic_store(&globals->current_dispatch_table, &gEphemeralDispatch); in HandleHeapprofdSignal()
315 atomic_store(&gHeapprofdState, kEphemeralHookInstalled); in HandleHeapprofdSignal()
346 atomic_store(&gHeapprofdState, kIncompatibleHooks); in HeapprofdRememberHookConflict()
356 atomic_store(&gHeapprofdHandle, impl_handle); in CommonInstallHooks()
369 atomic_store(&gPreviousDefaultDispatchTable, GetDefaultDispatchTable()); in HeapprofdInstallHooksAtInit()
374 atomic_store(&gHeapprofdState, kHookInstalled); in HeapprofdInstallHooksAtInit()
[all …]
Dheap_tagging.cpp66 atomic_store(&globals->memtag, true); in SetDefaultHeapTaggingLevel()
67 atomic_store(&__libc_memtag_stack, __libc_shared_globals()->initial_memtag_stack); in SetDefaultHeapTaggingLevel()
122 atomic_store(&__libc_memtag_stack, false); in SetHeapTaggingLevel()
123 atomic_store(&globals->memtag, false); in SetHeapTaggingLevel()
Dmalloc_limit.cpp266 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable()
286 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable()
288 atomic_store(&gGlobalsMutating, false); in EnableLimitDispatchTable()
334 atomic_store(&gAllocated, current_allocated); in LimitEnable()
338 atomic_store(&limit_enabled, false); in LimitEnable()
Dpthread_internal.cpp232 atomic_store(&g_retval, false); in android_run_on_all_threads()
261 atomic_store(&g_retval, false); in android_run_on_all_threads()
267 atomic_store(&g_retval, false); in android_run_on_all_threads()
Dpthread_exit.cpp111 atomic_store(&thread->terminating, true); in pthread_exit()
Dmalloc_common.cpp127 atomic_store(&globals->decay_time_enabled, false); in mallopt()
129 atomic_store(&globals->decay_time_enabled, true); in mallopt()
Dpthread_key.cpp129 atomic_store(&key_map[i].key_destructor, reinterpret_cast<uintptr_t>(key_destructor)); in pthread_key_create()
Dgwp_asan_wrappers.cpp458 atomic_store(&globals->default_dispatch_table, &gwp_asan_dispatch); in MaybeInitGwpAsan()
463 atomic_store(&globals->current_dispatch_table, &gwp_asan_dispatch); in MaybeInitGwpAsan()
Dmalloc_common_dynamic.cpp340 atomic_store(&globals->default_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks()
342 atomic_store(&globals->current_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks()
Dposix_timers.cpp116 atomic_store(&timer->deleted, true); in __timer_thread_stop()
Dpthread_create.cpp468 atomic_store(&thread->join_state, THREAD_DETACHED); in pthread_create()
Dpthread_mutex.cpp1022 atomic_store(&mutex->state, 0xffff); in pthread_mutex_destroy()
/bionic/tests/
Dstdatomic_test.cpp89 TEST(stdatomic, atomic_store) { in TEST() argument
91 atomic_store(&i, 123); in TEST()
99 atomic_store(&i, 123); in TEST()
108 atomic_store(&i, 123); in TEST()
114 atomic_store(&i, 123); in TEST()
122 atomic_store(&i, 123); in TEST()
133 atomic_store(&i, 123); in TEST()
/bionic/libc/include/
Dstdatomic.h59 using std::atomic_store;
/bionic/libc/include/bits/
Dstdatomic.h256 #define atomic_store(object, desired) \ macro