Home
last modified time | relevance | path

Searched refs:chunk2mem (Results 1 – 1 of 1) sorted by relevance

/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c2229 #define chunk2mem(p) (void*)hwasan_remove_ptr_tag(_chunk2mem(p)) macro
2232 #define chunk2mem(p) _chunk2mem(p) macro
2236 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
2746 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
3232 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_any_chunk()
3241 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_top_chunk()
3256 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD)); in do_check_mmapped_chunk()
3286 assert(is_aligned(chunk2mem(p))); in do_check_free_chunk()
3848 size_t offset = align_offset(chunk2mem(mm)); in mmap_alloc()
3861 assert(is_aligned(chunk2mem(p))); in mmap_alloc()
[all …]