Searched refs:MEM_TO_CHUNK (Results 1 – 12 of 12) sorted by relevance
30 return p ? CHUNK_SIZE(MEM_TO_CHUNK(p)) - OVERHEAD : 0; in internal_malloc_usable_size()38 c = MEM_TO_CHUNK(p); in internal_malloc_usable_size()
38 struct chunk *c = MEM_TO_CHUNK(mem); in __memalign()39 struct chunk *n = MEM_TO_CHUNK(new); in __memalign()
448 w = MEM_TO_CHUNK(p); in expand_heap()454 w = MEM_TO_CHUNK(end); in expand_heap()460 w = MEM_TO_CHUNK(p); in expand_heap()767 if(IS_MMAPPED(MEM_TO_CHUNK(p))) in __libc_calloc()785 if (IS_MMAPPED(MEM_TO_CHUNK(p))) in internal_calloc()817 self = MEM_TO_CHUNK(p); in __libc_realloc()938 self = MEM_TO_CHUNK(p); in internal_realloc()1263 struct chunk *self = MEM_TO_CHUNK(p); in internal_free()1300 struct chunk *c = MEM_TO_CHUNK(start), *n = MEM_TO_CHUNK(end); in __malloc_donate()
155 w = MEM_TO_CHUNK(p); in expand_heap()162 w = MEM_TO_CHUNK(end); in expand_heap()168 w = MEM_TO_CHUNK(p); in expand_heap()170 calculate_checksum(w, MEM_TO_CHUNK(end)); in expand_heap()394 if (IS_MMAPPED(MEM_TO_CHUNK(p))) in calloc()412 self = MEM_TO_CHUNK(p); in realloc()596 struct chunk *self = MEM_TO_CHUNK(p); in free()640 struct chunk *c = MEM_TO_CHUNK(start), *n = MEM_TO_CHUNK(end); in __malloc_donate()
45 struct chunk *c = MEM_TO_CHUNK(mem); in __memalign()46 struct chunk *n = MEM_TO_CHUNK(new); in __memalign()
152 w = MEM_TO_CHUNK(p); in expand_heap()158 w = MEM_TO_CHUNK(end); in expand_heap()164 w = MEM_TO_CHUNK(p); in expand_heap()361 if (IS_MMAPPED(MEM_TO_CHUNK(p))) in calloc()379 self = MEM_TO_CHUNK(p); in realloc()523 struct chunk *self = MEM_TO_CHUNK(p); in free()544 struct chunk *c = MEM_TO_CHUNK(start), *n = MEM_TO_CHUNK(end); in __malloc_donate()
152 w = MEM_TO_CHUNK(p); in expand_heap()158 w = MEM_TO_CHUNK(end); in expand_heap()164 w = MEM_TO_CHUNK(p); in expand_heap()364 if (IS_MMAPPED(MEM_TO_CHUNK(p))) in calloc()382 self = MEM_TO_CHUNK(p); in realloc()526 struct chunk *self = MEM_TO_CHUNK(p); in free()547 struct chunk *c = MEM_TO_CHUNK(start), *n = MEM_TO_CHUNK(end); in __malloc_donate()
29 struct chunk *c = MEM_TO_CHUNK(mem); in __memalign()30 struct chunk *n = MEM_TO_CHUNK(new); in __memalign()
8 return p ? CHUNK_SIZE(MEM_TO_CHUNK(p)) - OVERHEAD : 0; in malloc_usable_size()
107 #define MEM_TO_CHUNK(p) (struct chunk *)((char *)(p) - OVERHEAD) macro109 #define BIN_TO_CHUNK(i) (MEM_TO_CHUNK(&mal.bins[i].head))112 #define QUARANTINE_TO_CHUNK(i) (MEM_TO_CHUNK(&mal.quarantine[i].head))
34 #define MEM_TO_CHUNK(p) (struct chunk *)((char *)(p) - OVERHEAD) macro36 #define BIN_TO_CHUNK(i) (MEM_TO_CHUNK(&mal.bins[i].head))
79 #define MEM_TO_CHUNK(p) (struct chunk *)((char *)(p) - OVERHEAD) macro