Lines Matching refs:chunk2mem
1631 #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES))
1634 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
2131 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
2555 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD));
2564 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD));
2579 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD));
2609 assert(is_aligned(chunk2mem(p)));
3158 size_t offset = align_offset(chunk2mem(mm));
3171 assert(is_aligned(chunk2mem(p)));
3173 return chunk2mem(p);
3219 size_t offset = align_offset(chunk2mem(p));
3298 check_malloced_chunk(m, chunk2mem(p), nb);
3299 return chunk2mem(p);
3311 size_t offset = align_offset(chunk2mem(rawsp));
3315 msegmentptr ss = (msegmentptr)(chunk2mem(sp));
3541 check_malloced_chunk(m, chunk2mem(p), nb);
3542 return chunk2mem(p);
3723 return chunk2mem(v);
3762 return chunk2mem(v);
3798 extra = chunk2mem(remainder);
3826 return chunk2mem(newp);
3895 leader = chunk2mem(p);
3908 trailer = chunk2mem(remainder);
3913 assert((((size_t)(chunk2mem(p))) % alignment) == 0);
3922 return chunk2mem(p);
4013 marray = (void**) (chunk2mem(array_chunk));
4020 marray[i] = chunk2mem(p);
4103 mem = chunk2mem(p);
4130 mem = chunk2mem(p);
4166 mem = chunk2mem(p);
4177 mem = chunk2mem(p);
4410 mstate m = (mstate)(chunk2mem(msp));
4510 mem = chunk2mem(p);
4537 mem = chunk2mem(p);
4573 mem = chunk2mem(p);
4584 mem = chunk2mem(p);