Searched refs:zmalloc_size (Results 1 – 3 of 3) sorted by relevance
43 #define zmalloc_size(p) tc_malloc_size(p) macro53 #define zmalloc_size(p) je_malloc_usable_size(p) macro61 #define zmalloc_size(p) malloc_size(p) macro84 size_t zmalloc_size(void *ptr);
129 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() function203 update_zmalloc_stat_free(zmalloc_size(ptr)); in zfree()
41 return zmalloc_size(sh); in sdsZmallocSize()50 case OBJ_ENCODING_EMBSTR: return zmalloc_size(o)-sizeof(robj); in getStringObjectSdsUsedMemory()