MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ixallocx_helper

Function ixallocx_helper

app/redis-6.2.6/deps/jemalloc/src/jemalloc.c:2752–2763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2750}
2751
2752JEMALLOC_ALWAYS_INLINE size_t
2753ixallocx_helper(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,
2754 size_t extra, size_t alignment, bool zero) {
2755 size_t usize;
2756
2757 if (ixalloc(tsdn, ptr, old_usize, size, extra, alignment, zero)) {
2758 return old_usize;
2759 }
2760 usize = isalloc(tsdn, ptr);
2761
2762 return usize;
2763}
2764
2765static size_t
2766ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,

Callers 3

ixallocx_prof_sampleFunction · 0.85
ixallocx_profFunction · 0.85
je_xallocxFunction · 0.85

Calls 2

ixallocFunction · 0.85
isallocFunction · 0.85

Tested by

no test coverage detected