Lines Matching refs:psize

3221       size_t psize = mmsize - offset - MMAP_FOOT_PAD;  in mmap_alloc()  local
3224 (p)->head = (psize|CINUSE_BIT); in mmap_alloc()
3225 mark_inuse_foot(m, p, psize); in mmap_alloc()
3226 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD; in mmap_alloc()
3227 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0; in mmap_alloc()
3259 size_t psize = newmmsize - offset - MMAP_FOOT_PAD; in mmap_resize() local
3260 newp->head = (psize|CINUSE_BIT); in mmap_resize()
3261 mark_inuse_foot(m, newp, psize); in mmap_resize()
3262 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3263 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize()
3279 static void init_top(mstate m, mchunkptr p, size_t psize) { in init_top() argument
3283 psize -= offset; in init_top()
3286 m->topsize = psize; in init_top()
3287 p->head = psize | PINUSE_BIT; in init_top()
3289 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
3327 size_t psize = (char*)oldfirst - (char*)p; in prepend_alloc() local
3329 size_t qsize = psize - nb; in prepend_alloc()
3409 size_t psize = csp - old_top; in add_segment() local
3410 mchunkptr tn = chunk_plus_offset(q, psize); in add_segment()
3411 set_free_with_pinuse(q, psize, tn); in add_segment()
3412 insert_chunk(m, q, psize); in add_segment()
3625 size_t psize = chunksize(p); in release_unused_segments() local
3627 if (!cinuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) { in release_unused_segments()
3645 insert_large_chunk(m, tp, psize); in release_unused_segments()
4276 size_t psize = chunksize(p); in dlfree() local
4277 mchunkptr next = chunk_plus_offset(p, psize); in dlfree()
4282 psize += prevsize + MMAP_FOOT_PAD; in dlfree()
4283 if (CALL_MUNMAP((char*)p - prevsize, psize) == 0) in dlfree()
4284 fm->footprint -= psize; in dlfree()
4289 psize += prevsize; in dlfree()
4296 fm->dvsize = psize; in dlfree()
4297 set_free_with_pinuse(p, psize, next); in dlfree()
4309 size_t tsize = fm->topsize += psize; in dlfree()
4321 size_t dsize = fm->dvsize += psize; in dlfree()
4328 psize += nsize; in dlfree()
4330 set_size_and_pinuse_of_free_chunk(p, psize); in dlfree()
4332 fm->dvsize = psize; in dlfree()
4338 set_free_with_pinuse(p, psize, next); in dlfree()
4339 insert_chunk(fm, p, psize); in dlfree()
4677 size_t psize = chunksize(p); in mspace_free() local
4678 mchunkptr next = chunk_plus_offset(p, psize); in mspace_free()
4683 psize += prevsize + MMAP_FOOT_PAD; in mspace_free()
4684 if (CALL_MUNMAP((char*)p - prevsize, psize) == 0) in mspace_free()
4685 fm->footprint -= psize; in mspace_free()
4690 psize += prevsize; in mspace_free()
4697 fm->dvsize = psize; in mspace_free()
4698 set_free_with_pinuse(p, psize, next); in mspace_free()
4710 size_t tsize = fm->topsize += psize; in mspace_free()
4722 size_t dsize = fm->dvsize += psize; in mspace_free()
4729 psize += nsize; in mspace_free()
4731 set_size_and_pinuse_of_free_chunk(p, psize); in mspace_free()
4733 fm->dvsize = psize; in mspace_free()
4739 set_free_with_pinuse(p, psize, next); in mspace_free()
4740 insert_chunk(fm, p, psize); in mspace_free()