/third_party/musl/porting/linux/user/src/hook/ |
H A D | musl_preinit_common.h | 48 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 D | musl_preinit.c | 474 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 D | malloc_common.c | 26 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in malloc() 54 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in aligned_alloc() 73 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in free()
|
H A D | memory_trace.c | 10 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in memtrace()
|
/third_party/musl/src/hook/linux/ |
H A D | musl_preinit_common.h | 70 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 D | musl_preinit.c | 488 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()
|
H A D | malloc_common.c | 54 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in malloc() 82 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in aligned_alloc() 101 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in free()
|
H A D | memory_trace.c | 25 volatile const struct MallocDispatchType* dispatch_table = (struct MallocDispatchType *)atomic_load_explicit( in memtrace()
|
/third_party/elfutils/lib/ |
H A D | dynamicsizehash_concurrent.c | 51 hash = atomic_load_explicit(&htab->table[idx].hashval, in lookup() 68 hash = atomic_load_explicit(&htab->table[idx].hashval, in lookup() 87 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper() 110 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper() 129 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper() 152 hash = atomic_load_explicit(&htab->table[idx].hashval, in insert_helper() 212 while (atomic_load_explicit(&htab->num_initialized_blocks, in resize_helper() 228 TYPE val_ptr = (TYPE) atomic_load_explicit( in resize_helper() 234 HASHTYPE hashval = atomic_load_explicit( in resize_helper() 251 while (atomic_load_explicit( in resize_helper() [all...] |
H A D | stdatomic-fbsd.h | 285 #define atomic_load_explicit(object, order) \ macro 310 #define atomic_load_explicit(object, order) \ macro 360 #define atomic_load_explicit(object, order) \ macro 393 atomic_load_explicit(object, memory_order_seq_cst)
|
/third_party/node/deps/v8/src/base/ |
H A D | atomicops.h | 226 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in Relaxed_Load() 231 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in Relaxed_Load() 236 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in Relaxed_Load() 241 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in Acquire_Load() 246 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in Acquire_Load() 251 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in SeqCst_Load() 256 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in SeqCst_Load() 330 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in Relaxed_Load() 335 return std::atomic_load_explicit(helper::to_std_atomic_const(ptr), in Acquire_Load() 340 return std::atomic_load_explicit(helpe in SeqCst_Load() [all...] |
/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | tsan_assist.h | 57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed) 61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquire)
|
/third_party/openssl/ohos_lite/include/internal/ |
H A D | tsan_assist.h | 57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed) 61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquire)
|
/third_party/openssl/include/internal/ |
H A D | tsan_assist.h | 57 # define tsan_load(ptr) atomic_load_explicit((ptr), memory_order_relaxed) 61 # define tsan_ld_acq(ptr) atomic_load_explicit((ptr), memory_order_acquire)
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_ring.c | 21 return atomic_load_explicit(ring->shared.head, memory_order_acquire); in vn_ring_load_head() 38 return atomic_load_explicit(ring->shared.status, memory_order_seq_cst); in vn_ring_load_status() 268 atomic_load_explicit(ring->shared.tail, memory_order_relaxed); in vn_ring_wait_all()
|
/third_party/ffmpeg/libavutil/ |
H A D | mem.c | 100 if (size > atomic_load_explicit(&max_alloc_size, memory_order_relaxed)) in av_malloc() 156 if (size > atomic_load_explicit(&max_alloc_size, memory_order_relaxed)) in av_realloc() 512 max_size = atomic_load_explicit(&max_alloc_size, memory_order_relaxed); in av_fast_realloc() 546 max_size = atomic_load_explicit(&max_alloc_size, memory_order_relaxed); in fast_malloc()
|
H A D | cpu.c | 103 int flags = atomic_load_explicit(&cpu_flags, memory_order_relaxed); in av_get_cpu_flags() 239 count = atomic_load_explicit(&cpu_count, memory_order_relaxed); in av_cpu_count()
|
/third_party/libuv/src/unix/ |
H A D | async.c | 83 if (atomic_load_explicit(pending, memory_order_relaxed) != 0) in uv_async_send() 185 while (r == -1 && errno == EINTR && atomic_load_explicit((_Atomic int*) &handle->pending, memory_order_relaxed) == 1); in uv__async_send()
|
H A D | linux.c | 337 version = atomic_load_explicit(&cached_version, memory_order_relaxed); in uv__kernel_version() 501 use = atomic_load_explicit(&use_io_uring, memory_order_relaxed); in uv__use_io_uring() 801 head = atomic_load_explicit((_Atomic uint32_t*) iou->sqhead, in uv__iou_get_sqe() 835 flags = atomic_load_explicit((_Atomic uint32_t*) iou->sqflags, in uv__iou_submit() 1177 tail = atomic_load_explicit((_Atomic uint32_t*) iou->cqtail, in uv__poll_io_uring() 1223 flags = atomic_load_explicit((_Atomic uint32_t*) iou->sqflags, in uv__poll_io_uring() 1664 clock_id = atomic_load_explicit(&fast_clock_id, memory_order_relaxed); in uv__hrtime()
|
/third_party/ffmpeg/libavcodec/ |
H A D | pthread_frame.c | 498 switch (atomic_load_explicit(&p->state, memory_order_acquire)) { in submit_packet() 574 while (atomic_load_explicit(&p->state, memory_order_relaxed) != STATE_INPUT_READY) in ff_thread_decode_frame() 616 atomic_load_explicit(&progress[field], memory_order_relaxed) >= n) in ff_thread_report_progress() 621 if (atomic_load_explicit(&p->debug_threads, memory_order_relaxed)) in ff_thread_report_progress() 639 atomic_load_explicit(&progress[field], memory_order_acquire) >= n) in ff_thread_await_progress() 644 if (atomic_load_explicit(&p->debug_threads, memory_order_relaxed)) in ff_thread_await_progress() 649 while (atomic_load_explicit(&progress[field], memory_order_relaxed) < n) in ff_thread_await_progress()
|
/third_party/curl/lib/ |
H A D | easy_lock.h | 78 while(atomic_load_explicit(lock, memory_order_relaxed)) { in curl_simple_lock_lock()
|
/third_party/musl/src/internal/ |
H A D | stdatomic_impl.h | 77 #define atomic_load_explicit __c11_atomic_load
macro
|
/third_party/musl/porting/linux/user/src/internal/ |
H A D | stdatomic_impl.h | 77 #define atomic_load_explicit __c11_atomic_load
macro
|
/third_party/ffmpeg/compat/atomics/gcc/ |
H A D | stdatomic.h | 98 #define atomic_load_explicit(object, order) \ macro
|
/third_party/ffmpeg/compat/atomics/win32/ |
H A D | stdatomic.h | 95 #define atomic_load_explicit(object, order) \ macro
|