Home
last modified time | relevance | path

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

/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dmalloc.c324 insert_node(CHUNK_TO_MEM(c), CHUNK_SIZE(c)); in malloc()
326 return CHUNK_TO_MEM(c); in malloc()
360 insert_node(CHUNK_TO_MEM(c), CHUNK_SIZE(c)); in malloc()
363 return CHUNK_TO_MEM(c); in malloc()
423 get_free_trace(CHUNK_TO_MEM(self)); in realloc()
443 return CHUNK_TO_MEM(self); in realloc()
476 get_free_trace(CHUNK_TO_MEM(self)); in realloc()
479 insert_node(CHUNK_TO_MEM(self), CHUNK_SIZE(self)); in realloc()
482 return CHUNK_TO_MEM(self); in realloc()
492 free(CHUNK_TO_MEM(self)); in realloc()
[all …]
Dmemalign.c62 insert_node(CHUNK_TO_MEM(n), CHUNK_SIZE(n)); in __memalign()
81 insert_node(CHUNK_TO_MEM(n), CHUNK_SIZE(n)); in __memalign()
Dmemory_check.c442 get_integrity_info(CHUNK_TO_MEM(cur)); in check_heap_integrity()
465 get_integrity_info(CHUNK_TO_MEM(cur)); in check_chunk_integrity()
796 memset(CHUNK_TO_MEM(self), FREE_MAGIC, CHUNK_SIZE(self) - OVERHEAD); in insert_free_tail()
/third_party/musl/porting/liteos_a/user/src/malloc/
Dmalloc.c299 return CHUNK_TO_MEM(c); in malloc()
330 return CHUNK_TO_MEM(c); in malloc()
400 return CHUNK_TO_MEM(self); in realloc()
427 return CHUNK_TO_MEM(self); in realloc()
436 free(CHUNK_TO_MEM(self)); in realloc()
/third_party/musl/src/malloc/
Dmalloc.c302 return CHUNK_TO_MEM(c); in malloc()
333 return CHUNK_TO_MEM(c); in malloc()
403 return CHUNK_TO_MEM(self); in realloc()
430 return CHUNK_TO_MEM(self); in realloc()
439 free(CHUNK_TO_MEM(self)); in realloc()
/third_party/musl/porting/linux/user/src/malloc/
Dmalloc.c218 malloc_iterate_visitor(CHUNK_TO_MEM(c), CHUNK_SIZE(c) - OVERHEAD, iterate_info); in malloc_iterate_occupied_bin()
372 char * start = ((char *)CHUNK_TO_MEM(c)) + c->usize; in chunk_poison_set()
675 return CHUNK_TO_MEM(c); in internal_malloc()
729 return CHUNK_TO_MEM(c); in internal_malloc()
863 return CHUNK_TO_MEM(self); in __libc_realloc()
903 return CHUNK_TO_MEM(self); in __libc_realloc()
917 free(CHUNK_TO_MEM(self)); in __libc_realloc()
978 return CHUNK_TO_MEM(self); in internal_realloc()
1018 return CHUNK_TO_MEM(self); in internal_realloc()
1032 internal_free(CHUNK_TO_MEM(self)); in internal_realloc()
/third_party/musl/src/internal/
Dmalloc_impl.h35 #define CHUNK_TO_MEM(c) (void *)((char *)(c) + OVERHEAD) macro
/third_party/musl/porting/liteos_a/user_debug/src/internal/
Dmalloc_impl.h80 #define CHUNK_TO_MEM(c) (void *)((char *)(c) + OVERHEAD) macro
/third_party/musl/porting/linux/user/src/internal/
Dmalloc_impl.h108 #define CHUNK_TO_MEM(c) (void *)((char *)(c) + OVERHEAD) macro