Searched refs:current_dispatch_table (Results 1 - 11 of 11) sorted by relevance
/third_party/musl/porting/linux/user/src/hook/ |
H A D | musl_preinit.c | 445 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)&globals->malloc_dispatch_table, memory_order_seq_cst); in finish_install_ohos_malloc_hooks() 453 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)&globals->memleak_tracker_malloc_dispatch_table, memory_order_seq_cst); in finish_install_ohos_malloc_hooks() 515 if (atomic_exchange(&__musl_libc_globals.current_dispatch_table, (volatile const long long)NULL)) { in ohos_malloc_hook_init_function() 531 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)NULL, memory_order_seq_cst); in __set_default_malloc() 561 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)&__ohos_malloc_hook_init_dispatch, memory_order_seq_cst); in __install_malloc_hook() 573 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)so_dispatch_value, memory_order_seq_cst); in __install_malloc_hook() 613 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)&__ohos_malloc_hook_init_dispatch, memory_order_seq_cst); in __install_memleak_tracker_hook() 625 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)memleak_tracker_so_dispatch_value, memory_order_seq_cst); in __install_memleak_tracker_hook()
|
H A D | malloc_common.c | 27 &__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()
|
H A D | musl_malloc_dispatch_table.h | 8 volatile atomic_llong current_dispatch_table; member
|
H A D | memory_trace.c | 11 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in memtrace()
|
H A D | musl_preinit_common.h | 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()
|
/third_party/musl/src/hook/linux/ |
H A D | musl_preinit.c | 459 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)&globals->malloc_dispatch_table, memory_order_seq_cst); in finish_install_ohos_malloc_hooks() 467 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)&globals->memleak_tracker_malloc_dispatch_table, memory_order_seq_cst); in finish_install_ohos_malloc_hooks() 529 if (atomic_exchange(&__musl_libc_globals.current_dispatch_table, (volatile const long long)NULL)) { in ohos_malloc_hook_init_function() 545 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)NULL, memory_order_seq_cst); in __set_default_malloc() 575 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)&__ohos_malloc_hook_init_dispatch, memory_order_seq_cst); in __install_malloc_hook() 587 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)so_dispatch_value, memory_order_seq_cst); in __install_malloc_hook() 627 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)&__ohos_malloc_hook_init_dispatch, memory_order_seq_cst); in __install_memleak_tracker_hook() 639 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile long long)memleak_tracker_so_dispatch_value, memory_order_seq_cst); in __install_memleak_tracker_hook()
|
H A D | malloc_common.c | 55 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in malloc() 83 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in aligned_alloc() 102 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in free()
|
H A D | musl_malloc_dispatch_table.h | 30 volatile atomic_llong current_dispatch_table; member
|
H A D | memory_trace.c | 26 &__musl_libc_globals.current_dispatch_table, memory_order_acquire); in memtrace()
|
H A D | musl_preinit_common.h | 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()
|
/third_party/musl/libc-test/src/nativehook/ |
H A D | runtest.c | 50 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)0x95919591, memory_order_seq_cst);
in main() 59 atomic_store_explicit(&__musl_libc_globals.current_dispatch_table, (volatile const long long)0x95919591, memory_order_seq_cst);
in main()
|
Completed in 6 milliseconds