Lines Matching refs:topsize
2073 size_t topsize; member
2628 assert(sz == m->topsize); in do_check_top_chunk()
2824 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
2869 assert(m->topsize == chunksize(m->top)); in do_check_malloc_state()
2870 assert(m->topsize > 0); in do_check_malloc_state()
2889 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
2913 nm.keepcost = m->topsize; in internal_mallinfo()
2932 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3286 m->topsize = psize; in init_top()
3311 m->dvsize = m->topsize = 0; in reset_on_error()
3338 size_t tsize = m->topsize += qsize; in prepend_alloc()
3475 asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3574 init_top(m, m->top, m->topsize + tsize); in sys_alloc()
3596 if (nb < m->topsize) { /* Allocate from new or extended top space */ in sys_alloc()
3597 size_t rsize = m->topsize -= nb; in sys_alloc()
3660 if (m->topsize > pad) { in sys_trim()
3663 size_t extra = ((m->topsize - pad + (unit - SIZE_T_ONE)) / unit - in sys_trim()
3701 init_top(m, m->top, m->topsize - released); in sys_trim()
3863 else if (next == m->top && oldsize + m->topsize > nb) { in internal_realloc()
3865 size_t newsize = oldsize + m->topsize; in internal_realloc()
3871 m->topsize = newtopsize; in internal_realloc()
4233 else if (nb < gm->topsize) { /* Split top */ in dlmalloc()
4234 size_t rsize = gm->topsize -= nb; in dlmalloc()
4309 size_t tsize = fm->topsize += psize; in dlfree()
4640 else if (nb < ms->topsize) { /* Split top */ in mspace_malloc()
4641 size_t rsize = ms->topsize -= nb; in mspace_malloc()
4710 size_t tsize = fm->topsize += psize; in mspace_free()