Home
last modified time | relevance | path

Searched refs:mem_stat (Results 1 - 2 of 2) sorted by relevance

/third_party/musl/src/malloc/liteos_a/user_debug/
H A Dmemory_check.c49 } mem_stat; variable
67 lock(mem_stat.bins[tid].lock); in lock_stat_bin()
68 if (!mem_stat.bins[tid].head.next) in lock_stat_bin()
69 mem_stat.bins[tid].head.next = mem_stat.bins[tid].head.prev = &mem_stat.bins[tid].head; in lock_stat_bin()
74 unlock(mem_stat.bins[tid].lock); in unlock_stat_bin()
81 list = mem_stat.free_list.head.prev; in insert_free_list()
94 for (list = mem_stat.bins[tid].head.next; list != &mem_stat in try_delete_node()
[all...]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
H A Dmemory_check.c34 } mem_stat; variable
52 lock(mem_stat.bins[tid].lock); in lock_stat_bin()
53 if (!mem_stat.bins[tid].head.next) in lock_stat_bin()
54 mem_stat.bins[tid].head.next = mem_stat.bins[tid].head.prev = &mem_stat.bins[tid].head; in lock_stat_bin()
59 unlock(mem_stat.bins[tid].lock); in unlock_stat_bin()
66 list = mem_stat.free_list.head.prev; in insert_free_list()
79 for (list = mem_stat.bins[tid].head.next; list != &mem_stat in try_delete_node()
[all...]

Completed in 2 milliseconds