• Home
  • Raw
  • Download

Lines Matching refs:chunk2mem

1688 #define chunk2mem(p)        ((void*)((char*)(p)       + TWO_SIZE_T_SIZES))  macro
1691 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
2188 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
2617 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()
2626 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()
2641 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()
2671 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()
3220 size_t offset = align_offset(chunk2mem(mm)); in mmap_alloc()
3233 assert(is_aligned(chunk2mem(p))); in mmap_alloc()
3235 return chunk2mem(p); in mmap_alloc()
3281 size_t offset = align_offset(chunk2mem(p)); in init_top()
3360 check_malloced_chunk(m, chunk2mem(p), nb); in prepend_alloc()
3361 return chunk2mem(p); in prepend_alloc()
3373 size_t offset = align_offset(chunk2mem(rawsp)); in add_segment()
3377 msegmentptr ss = (msegmentptr)(chunk2mem(sp)); in add_segment()
3603 check_malloced_chunk(m, chunk2mem(p), nb); in sys_alloc()
3604 return chunk2mem(p); in sys_alloc()
3785 return chunk2mem(v); in tmalloc_large()
3824 return chunk2mem(v); in tmalloc_small()
3860 extra = chunk2mem(remainder); in internal_realloc()
3888 return chunk2mem(newp); in internal_realloc()
3957 leader = chunk2mem(p); in internal_memalign()
3970 trailer = chunk2mem(remainder); in internal_memalign()
3975 assert((((size_t)(chunk2mem(p))) % alignment) == 0); in internal_memalign()
3984 return chunk2mem(p); in internal_memalign()
4075 marray = (void**) (chunk2mem(array_chunk)); in ialloc()
4082 marray[i] = chunk2mem(p); in ialloc()
4165 mem = chunk2mem(p); in dlmalloc()
4192 mem = chunk2mem(p); in dlmalloc()
4228 mem = chunk2mem(p); in dlmalloc()
4239 mem = chunk2mem(p); in dlmalloc()
4472 mstate m = (mstate)(chunk2mem(msp)); in init_user_mstate()
4572 mem = chunk2mem(p); in mspace_malloc()
4599 mem = chunk2mem(p); in mspace_malloc()
4635 mem = chunk2mem(p); in mspace_malloc()
4646 mem = chunk2mem(p); in mspace_malloc()