Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching refs:topsize

2490     cached in topsize.  The actual size of topmost space is
2491 topsize+TOP_FOOT_SIZE, which includes space reserved for adding
2583 size_t topsize;
3245 assert(sz == m->topsize);
3441 sum += m->topsize + TOP_FOOT_SIZE;
3487 /*assert(m->topsize == chunksize(m->top)); redundant */
3488 assert(m->topsize > 0);
3508 size_t mfree = m->topsize + TOP_FOOT_SIZE;
3532 nm.keepcost = m->topsize;
3553 used = fp - (m->topsize + TOP_FOOT_SIZE);
3917 m->topsize = psize;
3942 m->dvsize = m->topsize = 0;
3969 size_t tsize = m->topsize += qsize;
4060 if (use_mmap(m) && nb >= mparams.mmap_threshold && m->topsize != 0) {
4130 ssize = granularity_align(nb - m->topsize + SYS_ALLOC_PADDING);
4230 init_top(m, m->top, m->topsize + tsize);
4251 if (nb < m->topsize) { /* Allocate from new or extended top space */
4252 size_t rsize = m->topsize -= nb;
4323 if (m->topsize > pad) {
4326 size_t extra = ((m->topsize - pad + (unit - SIZE_T_ONE)) / unit -
4365 init_top(m, m->top, m->topsize - released);
4375 if (released == 0 && m->topsize > m->trim_check)
4417 size_t tsize = m->topsize += psize;
4680 else if (nb < gm->topsize) { /* Split top */
4681 size_t rsize = gm->topsize -= nb;
4757 size_t tsize = fm->topsize += psize;
4854 if (oldsize + m->topsize > nb) {
4855 size_t newsize = oldsize + m->topsize;
4861 m->topsize = newtopsize;
5154 if (should_trim(m, m->topsize))
5616 else if (nb < ms->topsize) { /* Split top */
5617 size_t rsize = ms->topsize -= nb;
5686 size_t tsize = fm->topsize += psize;