Home
last modified time | relevance | path

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

/DragonOS-0.1.2/user/libs/libc/src/
Dmalloc.c44 static malloc_mem_chunk_t *malloc_free_list_end = NULL; // 空闲链表的末尾结点 variable
189 malloc_free_list_end = ptr->prev; in malloc_merge_free_chunk()
209 malloc_free_list_end = ck; in malloc_insert_free_list()
226 malloc_free_list_end = ck; in malloc_insert_free_list()
325 malloc_free_list_end = ck->prev; in malloc()
351 if (malloc_free_list_end == NULL) in release_brk()
356 …if ((uint64_t)malloc_free_list_end + malloc_free_list_end->length == brk_max_addr && (uint64_t)mal… in release_brk()
358 … int64_t delta = ((brk_max_addr - (uint64_t)malloc_free_list_end) & PAGE_2M_MASK) - PAGE_2M_SIZE; in release_brk()
369 malloc_free_list_end->length = brk_max_addr - (uint64_t)malloc_free_list_end; in release_brk()