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

Function extent_dss_boot

deps/jemalloc/src/extent_dss.c:261–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void
262extent_dss_boot(void) {
263 cassert(have_dss);
264
265 dss_base = extent_dss_sbrk(0);
266 atomic_store_b(&dss_extending, false, ATOMIC_RELAXED);
267 atomic_store_b(&dss_exhausted, dss_base == (void *)-1, ATOMIC_RELAXED);
268 atomic_store_p(&dss_max, dss_base, ATOMIC_RELAXED);
269}
270
271/******************************************************************************/

Callers 1

extent_bootFunction · 0.70

Calls 1

extent_dss_sbrkFunction · 0.70

Tested by

no test coverage detected