Home
last modified time | relevance | path

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

/DragonOS-0.1.8/user/libs/libc/src/
Dmalloc.c44 static malloc_mem_chunk_t *malloc_free_list_end = NULL; // 空闲链表的末尾结点 variable
190 malloc_free_list_end = ptr->prev; in malloc_merge_free_chunk()
210 malloc_free_list_end = ck; in malloc_insert_free_list()
227 malloc_free_list_end = ck; in malloc_insert_free_list()
326 malloc_free_list_end = ck->prev; in malloc()
352 if (malloc_free_list_end == NULL) in release_brk()
357 …if ((uint64_t)malloc_free_list_end + malloc_free_list_end->length == brk_max_addr && (uint64_t)mal… in release_brk()
359 … int64_t delta = ((brk_max_addr - (uint64_t)malloc_free_list_end) & PAGE_2M_MASK) - PAGE_2M_SIZE; in release_brk()
370 malloc_free_list_end->length = brk_max_addr - (uint64_t)malloc_free_list_end; in release_brk()