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()
160 new_ck->length = brk_max_addr - brk_managed_addr; in malloc_enlarge()
183 if (((uint64_t)(ptr->prev) + ptr->prev->length == (uint64_t)ptr)) in malloc_merge_free_chunk()
187 ptr->prev->length += ptr->length; in malloc_merge_free_chunk()
329 if ((int64_t)(ck->length) - size > sizeof(malloc_mem_chunk_t)) in malloc()
333 new_ck->length = ck->length - size; in malloc()
336 ck->length = size; in malloc()
357 …if ((uint64_t)malloc_free_list_end + malloc_free_list_end->length == brk_max_addr && (uint64_t)mal… in release_brk()
370 malloc_free_list_end->length = brk_max_addr - (uint64_t)malloc_free_list_end; in release_brk()
383 count_last_free_size += ck->length; in free()