Home
last modified time | relevance | path

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

/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dmemory_check.c168 void *lr[BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET + 1] = { 0 }; in create_node()
181 nptr = backtrace(lr, BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET + 1); in create_node()
182 memcpy(node->lr, lr + BACKTRACE_OFFSET + 1, BACKTRACE_DEPTH_MAX * sizeof(void *)); in create_node()
359 if (nptr == BACKTRACE_DEPTH_MAX) { in check_mem_integrity()
490 void *lr[BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET] = { 0 }; in get_free_trace()
516 nptr = backtrace(lr, BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET); in get_free_trace()
533 void *lr[BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET] = { 0 }; in watch_mem()
551 nptr = backtrace(lr, BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET); in watch_mem()
600 void *lr[BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET] = { 0 }; in get_node_info()
613 nptr = backtrace(lr, BACKTRACE_DEPTH_MAX + BACKTRACE_OFFSET); in get_node_info()
[all …]
/third_party/musl/porting/liteos_a/user_debug/src/internal/
Dmalloc_impl.h7 #define BACKTRACE_DEPTH_MAX 5 /* The max depth of backtrace */ macro
53 void *lr[BACKTRACE_DEPTH_MAX];