Home
last modified time | relevance | path

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

/aosp12/bionic/libc/bionic/
H A Dmalloc_heapprofd.cpp381 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook() local
382 atomic_store(&globals->default_dispatch_table, previous_dispatch); in MallocInitHeapprofdHook()
384 atomic_store(&globals->current_dispatch_table, previous_dispatch); in MallocInitHeapprofdHook()
409 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook() local
410 if (previous_dispatch) { in MallocInitHeapprofdHook()
411 return previous_dispatch->malloc(bytes); in MallocInitHeapprofdHook()
437 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in DispatchReset() local
438 atomic_store(&globals->default_dispatch_table, previous_dispatch); in DispatchReset()
440 atomic_store(&globals->current_dispatch_table, previous_dispatch); in DispatchReset()