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

Function extent_boot

deps/jemalloc/src/extent.c:2318–2334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2316}
2317
2318bool
2319extent_boot(void) {
2320 if (rtree_new(&extents_rtree, true)) {
2321 return true;
2322 }
2323
2324 if (mutex_pool_init(&extent_mutex_pool, "extent_mutex_pool",
2325 WITNESS_RANK_EXTENT_POOL)) {
2326 return true;
2327 }
2328
2329 if (have_dss) {
2330 extent_dss_boot();
2331 }
2332
2333 return false;
2334}
2335
2336void
2337extent_util_stats_get(tsdn_t *tsdn, const void *ptr,

Callers 1

Calls 3

rtree_newFunction · 0.70
mutex_pool_initFunction · 0.70
extent_dss_bootFunction · 0.70

Tested by

no test coverage detected