Home | History | Annotate | Download | only in dlmalloc

Lines Matching defs:tsize

3319   size_t tsize = chunksize(t);
3321 compute_tree_index(tsize, idx);
3323 assert(tsize >= MIN_LARGE_SIZE);
3324 assert(tsize >= minsize_for_tree_index(idx));
3325 assert((idx == NTREEBINS-1) || (tsize < minsize_for_tree_index((idx+1))));
3330 assert(chunksize(u) == tsize);
3971 size_t tsize = m->topsize += qsize;
3973 q->head = tsize | PINUSE_BIT;
3998 static void add_segment(mstate m, char* tbase, size_t tsize, flag_t mmapped) {
4015 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE);
4022 m->seg.size = tsize;
4055 size_t tsize = 0;
4126 tsize = ssize;
4137 tsize = ssize;
4159 tsize = ssize;
4172 tsize = asize;
4189 tsize = ssize;
4197 if ((m->footprint += tsize) > m->max_footprint)
4204 m->seg.size = tsize;
4211 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE);
4217 init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE);
4231 sp->size += tsize;
4232 init_top(m, m->top, m->topsize + tsize);
4238 while (sp != 0 && sp->base != tbase + tsize)
4245 sp->size += tsize;
4249 add_segment(m, tbase, tsize, mmap_flag);
4419 size_t tsize = m->topsize += psize;
4421 p->head = tsize | PINUSE_BIT;
4759 size_t tsize = fm->topsize += psize;
4761 p->head = tsize | PINUSE_BIT;
4766 if (should_trim(fm, tsize))
5437 static mstate init_user_mstate(char* tbase, size_t tsize) {
5446 m->seg.size = m->footprint = m->max_footprint = tsize;
5455 init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) - TOP_FOOT_SIZE);
5468 size_t tsize = granularity_align(rs);
5469 char* tbase = (char*)(CALL_MMAP(tsize));
5471 m = init_user_mstate(tbase, tsize);
5700 size_t tsize = fm->topsize += psize;
5702 p->head = tsize | PINUSE_BIT;
5707 if (should_trim(fm, tsize))