Searched refs:zmalloc_size (Results 1 – 5 of 5) 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) macro69 #define zmalloc_size(p) malloc_usable_size(p) macro100 size_t zmalloc_size(void *ptr);103 #define zmalloc_usable(p) zmalloc_size(p)
103 update_zmalloc_stat_alloc(zmalloc_size(ptr)); in zmalloc()119 update_zmalloc_stat_alloc(zmalloc_size(ptr)); in zmalloc_no_tcache()125 update_zmalloc_stat_free(zmalloc_size(ptr)); in zfree_no_tcache()135 update_zmalloc_stat_alloc(zmalloc_size(ptr)); in zcalloc()153 oldsize = zmalloc_size(ptr); in zrealloc()158 update_zmalloc_stat_alloc(zmalloc_size(newptr)); in zrealloc()177 size_t zmalloc_size(void *ptr) { in zmalloc_size() function186 return zmalloc_size(ptr)-PREFIX_SIZE; in zmalloc_usable()198 update_zmalloc_stat_free(zmalloc_size(ptr)); in zfree()
840 elesize += sizeof(struct dictEntry) + zmalloc_size(znode); in objectComputeSize()982 mem += zmalloc_size(server.repl_backlog); in getMemoryOverheadData()
44 return zmalloc_size(sh); in sdsZmallocSize()53 case OBJ_ENCODING_EMBSTR: return zmalloc_size(o)-sizeof(robj); in getStringObjectSdsUsedMemory()
75 size = zmalloc_size(ptr); in activeDefragAlloc()