Searched refs:chunk2mem (Results 1 – 5 of 5) sorted by relevance
362 #define chunk2mem(p) ((Void_t*)((char*)(p) + 2*SIZE_SZ)) macro767 assert(aligned_OK(chunk2mem(p)));832 assert(aligned_OK(chunk2mem(p)));969 assert(aligned_OK(chunk2mem(p)));1036 assert(aligned_OK(chunk2mem(p)));1112 front_misalign = (unsigned long)chunk2mem(brk) & MALLOC_ALIGN_MASK;1158 fREe(chunk2mem(old_top));1295 return chunk2mem(victim);1322 return chunk2mem(victim);1345 return chunk2mem(victim);[all …]
1281 #define chunk2mem(p) ((Void_t*)((char*)(p) + 2*SIZE_SZ))1632 assert(aligned_OK(chunk2mem(p)));1697 assert(aligned_OK(chunk2mem(p)));1834 assert(aligned_OK(chunk2mem(p)));1901 assert(aligned_OK(chunk2mem(p)));1977 front_misalign = (unsigned long)chunk2mem(brk) & MALLOC_ALIGN_MASK;2023 fREe(chunk2mem(old_top));2149 return chunk2mem(victim);2176 return chunk2mem(victim);2199 return chunk2mem(victim);[all …]
1693 #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) macro1696 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))2193 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)2622 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()2631 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()2646 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()2676 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()3225 size_t offset = align_offset(chunk2mem(mm)); in mmap_alloc()3238 assert(is_aligned(chunk2mem(p))); in mmap_alloc()3240 return chunk2mem(p); in mmap_alloc()[all …]
1688 #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) macro1691 #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()[all …]
2218 #define chunk2mem(p) ((void*)((char*)(p) + TWO_SIZE_T_SIZES)) macro2221 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))2731 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)3234 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()3243 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()3258 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()3288 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()3852 size_t offset = align_offset(chunk2mem(mm)); in mmap_alloc()3865 assert(is_aligned(chunk2mem(p))); in mmap_alloc()3867 return chunk2mem(p); in mmap_alloc()[all …]