Home
last modified time | relevance | path

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

/DragonOS-0.1.8/user/libs/libc/src/
Dmalloc.c30 typedef struct malloc_mem_chunk_t struct
33 struct malloc_mem_chunk_t *prev; // 上一个结点的指针 argument
34 struct malloc_mem_chunk_t *next; // 下一个结点的指针 argument
35 } malloc_mem_chunk_t; typedef
43 static malloc_mem_chunk_t *malloc_free_list = NULL;
44 static malloc_mem_chunk_t *malloc_free_list_end = NULL; // 空闲链表的末尾结点
53 static void malloc_insert_free_list(malloc_mem_chunk_t *ck);
67 static malloc_mem_chunk_t *malloc_query_free_chunk_bf(uint64_t size) in malloc_query_free_chunk_bf()
76 malloc_mem_chunk_t *ptr = malloc_free_list; in malloc_query_free_chunk_bf()
77 malloc_mem_chunk_t *best = NULL; in malloc_query_free_chunk_bf()
[all …]