Home
last modified time | relevance | path

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

/DragonOS-0.1.2/user/libs/libc/src/
Dmalloc.c158 malloc_mem_chunk_t *new_ck = (malloc_mem_chunk_t *)brk_managed_addr; in malloc_enlarge() local
159 new_ck->length = brk_max_addr - brk_managed_addr; in malloc_enlarge()
161 new_ck->prev = NULL; in malloc_enlarge()
162 new_ck->next = NULL; in malloc_enlarge()
165 malloc_insert_free_list(new_ck); in malloc_enlarge()
331 malloc_mem_chunk_t *new_ck = (malloc_mem_chunk_t *)(((uint64_t)ck) + size); in malloc() local
332 new_ck->length = ck->length - size; in malloc()
333 new_ck->prev = new_ck->next = NULL; in malloc()
336 malloc_insert_free_list(new_ck); in malloc()