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

Function a0ialloc

deps/memkind/src/jemalloc/src/jemalloc.c:227–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

a0mallocFunction · 0.70
bootstrap_mallocFunction · 0.70
bootstrap_callocFunction · 0.70

Calls 4

malloc_init_a0Function · 0.70
iallocztmFunction · 0.50
sz_size2indexFunction · 0.50
arena_getFunction · 0.50

Tested by

no test coverage detected