Lines Matching refs:psize

3113     size_t psize;
3120 psize = malloc_getpagesize;
3121 gsize = ((DEFAULT_GRANULARITY != 0)? DEFAULT_GRANULARITY : psize);
3126 psize = system_info.dwPageSize;
3145 ((psize & (psize-SIZE_T_ONE)) != 0))
3148 mparams.page_size = psize;
3853 size_t psize = mmsize - offset - MMAP_FOOT_PAD;
3856 p->head = psize;
3857 mark_inuse_foot(m, p, psize);
3858 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD;
3859 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0;
3891 size_t psize = newmmsize - offset - MMAP_FOOT_PAD;
3892 newp->head = psize;
3893 mark_inuse_foot(m, newp, psize);
3894 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD;
3895 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0;
3912 static void init_top(mstate m, mchunkptr p, size_t psize) {
3916 psize -= offset;
3919 m->topsize = psize;
3920 p->head = psize | PINUSE_BIT;
3922 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE;
3960 size_t psize = (char*)oldfirst - (char*)p;
3962 size_t qsize = psize - nb;
4041 size_t psize = csp - old_top;
4042 mchunkptr tn = chunk_plus_offset(q, psize);
4043 set_free_with_pinuse(q, psize, tn);
4044 insert_chunk(m, q, psize);
4284 size_t psize = chunksize(p);
4286 if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
4304 insert_large_chunk(m, tp, psize);
4387 static void dispose_chunk(mstate m, mchunkptr p, size_t psize) {
4388 mchunkptr next = chunk_plus_offset(p, psize);
4393 psize += prevsize + MMAP_FOOT_PAD;
4394 if (CALL_MUNMAP((char*)p - prevsize, psize) == 0)
4395 m->footprint -= psize;
4399 psize += prevsize;
4406 m->dvsize = psize;
4407 set_free_with_pinuse(p, psize, next);
4419 size_t tsize = m->topsize += psize;
4429 size_t dsize = m->dvsize += psize;
4436 psize += nsize;
4438 set_size_and_pinuse_of_free_chunk(p, psize);
4440 m->dvsize = psize;
4446 set_free_with_pinuse(p, psize, next);
4448 insert_chunk(m, p, psize);
4727 size_t psize = chunksize(p);
4728 mchunkptr next = chunk_plus_offset(p, psize);
4732 psize += prevsize + MMAP_FOOT_PAD;
4733 if (CALL_MUNMAP((char*)p - prevsize, psize) == 0)
4734 fm->footprint -= psize;
4739 psize += prevsize;
4746 fm->dvsize = psize;
4747 set_free_with_pinuse(p, psize, next);
4759 size_t tsize = fm->topsize += psize;
4771 size_t dsize = fm->dvsize += psize;
4778 psize += nsize;
4780 set_size_and_pinuse_of_free_chunk(p, psize);
4782 fm->dvsize = psize;
4788 set_free_with_pinuse(p, psize, next);
4790 if (is_small(psize)) {
4791 insert_small_chunk(fm, p, psize);
4796 insert_large_chunk(fm, tp, psize);
5135 size_t psize = chunksize(p);
5148 size_t newsize = chunksize(next) + psize;
5153 dispose_chunk(m, p, psize);
5668 size_t psize = chunksize(p);
5669 mchunkptr next = chunk_plus_offset(p, psize);
5673 psize += prevsize + MMAP_FOOT_PAD;
5674 if (CALL_MUNMAP((char*)p - prevsize, psize) == 0)
5675 fm->footprint -= psize;
5680 psize += prevsize;
5687 fm->dvsize = psize;
5688 set_free_with_pinuse(p, psize, next);
5700 size_t tsize = fm->topsize += psize;
5712 size_t dsize = fm->dvsize += psize;
5719 psize += nsize;
5721 set_size_and_pinuse_of_free_chunk(p, psize);
5723 fm->dvsize = psize;
5729 set_free_with_pinuse(p, psize, next);
5731 if (is_small(psize)) {
5732 insert_small_chunk(fm, p, psize);
5737 insert_large_chunk(fm, tp, psize);