Lines Matching refs:chunk2mem
2092 #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES))
2095 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
2590 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
3067 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD));
3076 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD));
3091 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD));
3121 assert(is_aligned(chunk2mem(p)));
3672 size_t offset = align_offset(chunk2mem(mm));
3685 assert(is_aligned(chunk2mem(p)));
3687 return chunk2mem(p);
3732 size_t offset = align_offset(chunk2mem(p));
3811 check_malloced_chunk(m, chunk2mem(p), nb);
3812 return chunk2mem(p);
3823 size_t offset = align_offset(chunk2mem(rawsp));
3827 msegmentptr ss = (msegmentptr)(chunk2mem(sp));
4062 check_malloced_chunk(m, chunk2mem(p), nb);
4063 return chunk2mem(p);
4251 return chunk2mem(v);
4289 return chunk2mem(v);
4325 extra = chunk2mem(remainder);
4357 return chunk2mem(newp);
4426 leader = chunk2mem(p);
4439 trailer = chunk2mem(remainder);
4444 assert((((size_t)(chunk2mem(p))) % alignment) == 0);
4453 return chunk2mem(p);
4545 marray = (void**) (chunk2mem(array_chunk));
4552 marray[i] = chunk2mem(p);
4639 mem = chunk2mem(p);
4666 mem = chunk2mem(p);
4702 mem = chunk2mem(p);
4713 mem = chunk2mem(p);
4956 mstate m = (mstate)(chunk2mem(msp));
5074 mem = chunk2mem(p);
5101 mem = chunk2mem(p);
5137 mem = chunk2mem(p);
5148 mem = chunk2mem(p);