• Home
  • Raw
  • Download

Lines Matching refs:tsize

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