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

Function ctl_nametomib

deps/jemalloc/src/ctl.c:1323–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1321}
1322
1323int
1324ctl_nametomib(tsd_t *tsd, const char *name, size_t *mibp, size_t *miblenp) {
1325 int ret;
1326
1327 if (!ctl_initialized && ctl_init(tsd)) {
1328 ret = EAGAIN;
1329 goto label_return;
1330 }
1331
1332 ret = ctl_lookup(tsd_tsdn(tsd), name, NULL, mibp, miblenp);
1333label_return:
1334 return(ret);
1335}
1336
1337int
1338ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp,

Callers 1

je_mallctlnametomibFunction · 0.70

Calls 3

ctl_initFunction · 0.70
ctl_lookupFunction · 0.70
tsd_tsdnFunction · 0.50

Tested by

no test coverage detected