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

Function large_malloc

deps/jemalloc/src/large.c:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11/******************************************************************************/
12
13void *
14large_malloc(tsdn_t *tsdn, arena_t *arena, size_t usize, bool zero) {
15 assert(usize == sz_s2u(usize));
16
17 return large_palloc(tsdn, arena, usize, CACHELINE, zero);
18}
19
20void *
21large_palloc(tsdn_t *tsdn, arena_t *arena, size_t usize, size_t alignment,

Callers 4

large_ralloc_move_helperFunction · 0.70
arena_malloc_hardFunction · 0.70
arena_pallocFunction · 0.70
tcache_alloc_largeFunction · 0.50

Calls 2

large_pallocFunction · 0.70
sz_s2uFunction · 0.50

Tested by

no test coverage detected