Home
last modified time | relevance | path

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

/DragonOS-0.1.2/user/libs/libc/src/
Dmalloc.c140 int64_t free_space = brk_max_addr - brk_managed_addr; in malloc_enlarge() local
142 if (free_space < size) // 现有堆空间不足 in malloc_enlarge()
144 if (sbrk(size - free_space) != (void *)(-1)) in malloc_enlarge()