Lines Matching refs:length
32 uint64_t length; // 整个块所占用的内存区域的大小 member
82 if (ptr->length == size) in malloc_query_free_chunk_bf()
88 if (ptr->length > size) in malloc_query_free_chunk_bf()
92 else if (best->length > ptr->length) in malloc_query_free_chunk_bf()
115 if (ptr->length >= size) in malloc_query_free_chunk_ff()
159 new_ck->length = brk_max_addr - brk_managed_addr; in malloc_enlarge()
182 if (((uint64_t)(ptr->prev) + ptr->prev->length == (uint64_t)ptr)) in malloc_merge_free_chunk()
186 ptr->prev->length += ptr->length; in malloc_merge_free_chunk()
328 if ((int64_t)(ck->length) - size > sizeof(malloc_mem_chunk_t)) in malloc()
332 new_ck->length = ck->length - size; in malloc()
335 ck->length = size; in malloc()
356 …if ((uint64_t)malloc_free_list_end + malloc_free_list_end->length == brk_max_addr && (uint64_t)mal… in release_brk()
369 malloc_free_list_end->length = brk_max_addr - (uint64_t)malloc_free_list_end; in release_brk()
382 count_last_free_size += ck->length; in free()