Home
last modified time | relevance | path

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

/redis-3.2.3/src/
H A Dzmalloc.h43 #define zmalloc_size(p) tc_malloc_size(p) macro
53 #define zmalloc_size(p) je_malloc_usable_size(p) macro
61 #define zmalloc_size(p) malloc_size(p) macro
84 size_t zmalloc_size(void *ptr);
H A Dzmalloc.c129 update_zmalloc_stat_alloc(zmalloc_size(ptr)); in zmalloc()
143 update_zmalloc_stat_alloc(zmalloc_size(ptr)); in zcalloc()
161 oldsize = zmalloc_size(ptr); in zrealloc()
166 update_zmalloc_stat_alloc(zmalloc_size(newptr)); in zrealloc()
185 size_t zmalloc_size(void *ptr) { in zmalloc_size() function
203 update_zmalloc_stat_free(zmalloc_size(ptr)); in zfree()
H A Dnetworking.c41 return zmalloc_size(sh); in sdsZmallocSize()
50 case OBJ_ENCODING_EMBSTR: return zmalloc_size(o)-sizeof(robj); in getStringObjectSdsUsedMemory()