Lines Matching refs:tsize

3317   size_t tsize = chunksize(t);  in do_check_tree()  local
3319 compute_tree_index(tsize, idx); in do_check_tree()
3321 assert(tsize >= MIN_LARGE_SIZE); in do_check_tree()
3322 assert(tsize >= minsize_for_tree_index(idx)); in do_check_tree()
3323 assert((idx == NTREEBINS-1) || (tsize < minsize_for_tree_index((idx+1)))); in do_check_tree()
3328 assert(chunksize(u) == tsize); in do_check_tree()
3967 size_t tsize = m->topsize += qsize; in prepend_alloc() local
3969 q->head = tsize | PINUSE_BIT; in prepend_alloc()
3994 static void add_segment(mstate m, char* tbase, size_t tsize, flag_t mmapped) { in add_segment() argument
4011 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in add_segment()
4018 m->seg.size = tsize; in add_segment()
4051 size_t tsize = 0; in sys_alloc() local
4114 tsize = ssize; in sys_alloc()
4125 tsize = ssize; in sys_alloc()
4147 tsize = ssize; in sys_alloc()
4160 tsize = asize; in sys_alloc()
4177 tsize = ssize; in sys_alloc()
4185 if ((m->footprint += tsize) > m->max_footprint) in sys_alloc()
4192 m->seg.size = tsize; in sys_alloc()
4199 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in sys_alloc()
4205 init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE); in sys_alloc()
4219 sp->size += tsize; in sys_alloc()
4220 init_top(m, m->top, m->topsize + tsize); in sys_alloc()
4226 while (sp != 0 && sp->base != tbase + tsize) in sys_alloc()
4233 sp->size += tsize; in sys_alloc()
4237 add_segment(m, tbase, tsize, mmap_flag); in sys_alloc()
4407 size_t tsize = m->topsize += psize; in dispose_chunk() local
4409 p->head = tsize | PINUSE_BIT; in dispose_chunk()
4755 size_t tsize = fm->topsize += psize; in dlfree() local
4757 p->head = tsize | PINUSE_BIT; in dlfree()
4762 if (should_trim(fm, tsize)) in dlfree()
5434 static mstate init_user_mstate(char* tbase, size_t tsize) { in init_user_mstate() argument
5443 m->seg.size = m->footprint = m->max_footprint = tsize; in init_user_mstate()
5452 init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) - TOP_FOOT_SIZE); in init_user_mstate()
5465 size_t tsize = granularity_align(rs); in create_mspace() local
5466 char* tbase = (char*)(CALL_MMAP(tsize)); in create_mspace()
5468 m = init_user_mstate(tbase, tsize); in create_mspace()
5697 size_t tsize = fm->topsize += psize; in mspace_free() local
5699 p->head = tsize | PINUSE_BIT; in mspace_free()
5704 if (should_trim(fm, tsize)) in mspace_free()