Searched refs:mchunkptr (Results 1 – 1 of 1) sorted by relevance
2199 typedef struct malloc_chunk* mchunkptr; typedef2226 #define _mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES))2230 #define mem2chunk(mem) (mchunkptr)hwasan_remove_ptr_tag(_mem2chunk(mem))2236 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))2284 #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s)))2285 #define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s)))2288 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS)))2289 #define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) ))2295 #define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot)2296 #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s))[all …]