MCPcopy Create free account
hub / github.com/beefytech/Beef / ixallocx_helper

Function ixallocx_helper

BeefRT/JEMalloc/src/jemalloc.c:3664–3675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3662}
3663
3664JEMALLOC_ALWAYS_INLINE size_t
3665ixallocx_helper(tsdn_t *tsdn, void *ptr, size_t old_usize, size_t size,
3666 size_t extra, size_t alignment, bool zero) {
3667 size_t newsize;
3668
3669 if (ixalloc(tsdn, ptr, old_usize, size, extra, alignment, zero,
3670 &newsize)) {
3671 return old_usize;
3672 }
3673
3674 return newsize;
3675}
3676
3677static size_t
3678ixallocx_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 1

ixallocFunction · 0.85

Tested by

no test coverage detected