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

Function a0ialloc

app/redis-6.2.6/deps/jemalloc/src/jemalloc.c:228–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 */
227
228static void *
229a0ialloc(size_t size, bool zero, bool is_internal) {
230 if (unlikely(malloc_init_a0())) {
231 return NULL;
232 }
233
234 return iallocztm(TSDN_NULL, size, sz_size2index(size), zero, NULL,
235 is_internal, arena_get(TSDN_NULL, 0, true), true);
236}
237
238static void
239a0idalloc(void *ptr, bool is_internal) {

Callers 3

a0mallocFunction · 0.85
bootstrap_mallocFunction · 0.85
bootstrap_callocFunction · 0.85

Calls 4

malloc_init_a0Function · 0.85
iallocztmFunction · 0.85
sz_size2indexFunction · 0.85
arena_getFunction · 0.85

Tested by

no test coverage detected