Searched refs:brk_max_addr (Results 1 – 1 of 1) sorted by relevance
38 static uint64_t brk_max_addr = 0; // 堆区域的内存最大地址 variable137 brk_max_addr = brk_base_addr; in malloc_enlarge()140 int64_t free_space = brk_max_addr - brk_managed_addr; in malloc_enlarge()145 brk_max_addr = sbrk((0)); in malloc_enlarge()160 new_ck->length = brk_max_addr - brk_managed_addr; in malloc_enlarge()164 brk_managed_addr = brk_max_addr; in malloc_enlarge()357 …e_list_end + malloc_free_list_end->length == brk_max_addr && (uint64_t)malloc_free_list_end <= brk… 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()367 brk_max_addr = sbrk(0); in release_brk()368 brk_managed_addr = brk_max_addr; in release_brk()[all …]