Home
last modified time | relevance | path

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

/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c2284 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) macro
3247 assert(!pinuse(chunk_plus_offset(p, sz))); in do_check_top_chunk()
3260 assert(chunk_plus_offset(p, sz)->head == FENCEPOST_HEAD); in do_check_mmapped_chunk()
3261 assert(chunk_plus_offset(p, sz+SIZE_T_SIZE)->head == 0); in do_check_mmapped_chunk()
3278 mchunkptr next = chunk_plus_offset(p, sz); in do_check_free_chunk()
3854 chunk_plus_offset(p, psize)->head = FENCEPOST_HEAD; in mmap_alloc()
3855 chunk_plus_offset(p, psize+SIZE_T_SIZE)->head = 0; in mmap_alloc()
3890 chunk_plus_offset(newp, psize)->head = FENCEPOST_HEAD; in mmap_resize()
3891 chunk_plus_offset(newp, psize+SIZE_T_SIZE)->head = 0; in mmap_resize()
3918 chunk_plus_offset(p, psize)->head = TOP_FOOT_SIZE; in init_top()
[all …]