MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / ixallocx_helper

Function ixallocx_helper

deps/jemalloc/src/jemalloc.c:3311–3322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3309}
3310
3311JEMALLOC_ALWAYS_INLINE size_t
3312ixallocx_helper(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,
3313 size_t extra, size_t alignment, bool zero) {
3314 size_t newsize;
3315
3316 if (ixalloc(tsdn, ptr, old_usize, size, extra, alignment, zero,
3317 &newsize)) {
3318 return old_usize;
3319 }
3320
3321 return newsize;
3322}
3323
3324static size_t
3325ixallocx_prof_sample(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,

Callers 3

ixallocx_prof_sampleFunction · 0.70
ixallocx_profFunction · 0.70
je_xallocxFunction · 0.70

Calls 1

ixallocFunction · 0.50

Tested by

no test coverage detected