Searched refs:top_size (Results 1 – 1 of 1) sorted by relevance
1710 INTERNAL_SIZE_T top_size; /* new size of top chunk */ in malloc_extend_top() local1741 top_size = sbrk_size + old_top_size; in malloc_extend_top()1742 set_head(top, top_size | PREV_INUSE); in malloc_extend_top()1781 top_size = new_brk - brk + correction; in malloc_extend_top()1782 set_head(top, top_size | PREV_INUSE); in malloc_extend_top()1821 assert(((unsigned long)((char*)top + top_size) & (pagesz - 1)) == 0 in malloc_extend_top()2860 long top_size; /* Amount of top-most memory */ in malloc_trim() local2869 top_size = chunksize(top); in malloc_trim()2870 extra = ((top_size - pad - MINSIZE + (pagesz-1)) / pagesz - 1) * pagesz; in malloc_trim()2882 if (current_brk != (char*)(top) + top_size) in malloc_trim()[all …]