MCPcopy Create free account
hub / github.com/F-Stack/f-stack / extent_dss_boot

Function extent_dss_boot

app/redis-6.2.6/deps/jemalloc/src/extent_dss.c:260–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

extent_bootFunction · 0.85

Calls 1

extent_dss_sbrkFunction · 0.85

Tested by

no test coverage detected