Home
last modified time | relevance | path

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

/DragonOS-0.1.5/user/libs/libc/src/
Dmalloc.c39 static uint64_t brk_managed_addr = 0; // 堆区域已经被管理的地址 variable
136 brk_managed_addr = brk_base_addr; in malloc_enlarge()
140 int64_t free_space = brk_max_addr - brk_managed_addr; in malloc_enlarge()
158 malloc_mem_chunk_t *new_ck = (malloc_mem_chunk_t *)brk_managed_addr; in malloc_enlarge()
159 new_ck->length = brk_max_addr - brk_managed_addr; in malloc_enlarge()
163 brk_managed_addr = brk_max_addr; in malloc_enlarge()
367 brk_managed_addr = brk_max_addr; in release_brk()