• Home
  • Raw
  • Download

Lines Matching refs:tsize

2702   size_t tsize = chunksize(t);  in do_check_tree()  local
2704 compute_tree_index(tsize, idx); in do_check_tree()
2706 assert(tsize >= MIN_LARGE_SIZE); in do_check_tree()
2707 assert(tsize >= minsize_for_tree_index(idx)); in do_check_tree()
2708 assert((idx == NTREEBINS-1) || (tsize < minsize_for_tree_index((idx+1)))); in do_check_tree()
2713 assert(chunksize(u) == tsize); in do_check_tree()
3338 size_t tsize = m->topsize += qsize; in prepend_alloc() local
3340 q->head = tsize | PINUSE_BIT; in prepend_alloc()
3366 static void add_segment(mstate m, char* tbase, size_t tsize, flag_t mmapped) { in add_segment() argument
3383 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in add_segment()
3390 m->seg.size = tsize; in add_segment()
3423 size_t tsize = 0; in sys_alloc() local
3469 tsize = asize; in sys_alloc()
3480 tsize = asize; in sys_alloc()
3502 tsize = asize; in sys_alloc()
3518 tsize = rsize; in sys_alloc()
3537 tsize = ssize; in sys_alloc()
3545 if ((m->footprint += tsize) > m->max_footprint) in sys_alloc()
3550 m->seg.size = tsize; in sys_alloc()
3555 init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); in sys_alloc()
3559 init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE); in sys_alloc()
3570 check_segment_merge(sp, tbase, tsize) && in sys_alloc()
3573 sp->size += tsize; in sys_alloc()
3574 init_top(m, m->top, m->topsize + tsize); in sys_alloc()
3580 while (sp != 0 && sp->base != tbase + tsize) in sys_alloc()
3584 check_segment_merge(sp, tbase, tsize) && in sys_alloc()
3588 sp->size += tsize; in sys_alloc()
3592 add_segment(m, tbase, tsize, mmap_flag); in sys_alloc()
4309 size_t tsize = fm->topsize += psize; in dlfree() local
4311 p->head = tsize | PINUSE_BIT; in dlfree()
4316 if (should_trim(fm, tsize)) in dlfree()
4468 static mstate init_user_mstate(char* tbase, size_t tsize) { in init_user_mstate() argument
4477 m->seg.size = m->footprint = m->max_footprint = tsize; in init_user_mstate()
4483 init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) - TOP_FOOT_SIZE); in init_user_mstate()
4496 size_t tsize = granularity_align(rs); in create_mspace() local
4497 char* tbase = (char*)(CALL_MMAP(tsize)); in create_mspace()
4499 m = init_user_mstate(tbase, tsize); in create_mspace()
4710 size_t tsize = fm->topsize += psize; in mspace_free() local
4712 p->head = tsize | PINUSE_BIT; in mspace_free()
4717 if (should_trim(fm, tsize)) in mspace_free()