• Home
  • Raw
  • Download

Lines Matching refs:topsize

2016   size_t     topsize;  member
2566 assert(sz == m->topsize); in do_check_top_chunk()
2762 sum += m->topsize + TOP_FOOT_SIZE; in traverse_and_check()
2807 assert(m->topsize == chunksize(m->top)); in do_check_malloc_state()
2808 assert(m->topsize > 0); in do_check_malloc_state()
2827 size_t mfree = m->topsize + TOP_FOOT_SIZE; in internal_mallinfo()
2851 nm.keepcost = m->topsize; in internal_mallinfo()
2870 used = fp - (m->topsize + TOP_FOOT_SIZE); in internal_malloc_stats()
3224 m->topsize = psize; in init_top()
3249 m->dvsize = m->topsize = 0; in reset_on_error()
3276 size_t tsize = m->topsize += qsize; in prepend_alloc()
3413 asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3512 init_top(m, m->top, m->topsize + tsize); in sys_alloc()
3534 if (nb < m->topsize) { /* Allocate from new or extended top space */ in sys_alloc()
3535 size_t rsize = m->topsize -= nb; in sys_alloc()
3598 if (m->topsize > pad) { in sys_trim()
3601 size_t extra = ((m->topsize - pad + (unit - SIZE_T_ONE)) / unit - in sys_trim()
3639 init_top(m, m->top, m->topsize - released); in sys_trim()
3801 else if (next == m->top && oldsize + m->topsize > nb) { in internal_realloc()
3803 size_t newsize = oldsize + m->topsize; in internal_realloc()
3809 m->topsize = newtopsize; in internal_realloc()
4171 else if (nb < gm->topsize) { /* Split top */ in dlmalloc()
4172 size_t rsize = gm->topsize -= nb; in dlmalloc()
4247 size_t tsize = fm->topsize += psize; in dlfree()
4578 else if (nb < ms->topsize) { /* Split top */ in mspace_malloc()
4579 size_t rsize = ms->topsize -= nb; in mspace_malloc()
4648 size_t tsize = fm->topsize += psize; in mspace_free()