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

Function extent_dalloc_gap

deps/jemalloc/src/extent.c:1738–1750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1736}
1737
1738void
1739extent_dalloc_gap(tsdn_t *tsdn, arena_t *arena, extent_t *extent) {
1740 extent_hooks_t *extent_hooks = EXTENT_HOOKS_INITIALIZER;
1741
1742 witness_assert_depth_to_rank(tsdn_witness_tsdp_get(tsdn),
1743 WITNESS_RANK_CORE, 0);
1744
1745 if (extent_register(tsdn, extent)) {
1746 extent_dalloc(tsdn, arena, extent);
1747 return;
1748 }
1749 extent_dalloc_wrapper(tsdn, arena, &extent_hooks, extent);
1750}
1751
1752static bool
1753extent_may_dalloc(void) {

Callers 1

extent_alloc_dssFunction · 0.70

Calls 4

extent_registerFunction · 0.70
extent_dallocFunction · 0.70
extent_dalloc_wrapperFunction · 0.70

Tested by

no test coverage detected