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

Function ctl_nametomib

app/redis-6.2.6/deps/jemalloc/src/ctl.c:1204–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1202}
1203
1204int
1205ctl_nametomib(tsd_t *tsd, const char *name, size_t *mibp, size_t *miblenp) {
1206 int ret;
1207
1208 if (!ctl_initialized && ctl_init(tsd)) {
1209 ret = EAGAIN;
1210 goto label_return;
1211 }
1212
1213 ret = ctl_lookup(tsd_tsdn(tsd), name, NULL, mibp, miblenp);
1214label_return:
1215 return(ret);
1216}
1217
1218int
1219ctl_bymib(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp,

Callers 1

je_mallctlnametomibFunction · 0.85

Calls 3

ctl_initFunction · 0.85
ctl_lookupFunction · 0.85
tsd_tsdnFunction · 0.85

Tested by

no test coverage detected