MCPcopy Create free account
hub / github.com/coreboot/coreboot / malloc

Function malloc

src/lib/malloc.c:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void *malloc(size_t size)
59{
60 return memalign(sizeof(u64), size);
61}
62
63void *calloc(size_t nitems, size_t size)
64{

Callers 15

fb_new_framebuffer_infoFunction · 0.70
fill_blt_bufferFunction · 0.70
strdupFunction · 0.70
strconcatFunction · 0.70
nhlt_initFunction · 0.70
append_specific_configFunction · 0.70
buffer_fn_dataFunction · 0.70
alloc_rangeFunction · 0.70
callocFunction · 0.70
unpack_fdtFunction · 0.70
vpd_get_bios_versionFunction · 0.70

Calls 1

memalignFunction · 0.70

Tested by 15

setup_acpigenFunction · 0.40
test_imd_create_emptyFunction · 0.40
test_imd_recoverFunction · 0.40
test_imd_limit_sizeFunction · 0.40
test_imd_lockdownFunction · 0.40
test_imd_region_usedFunction · 0.40
test_imd_entry_addFunction · 0.40
test_imd_entry_findFunction · 0.40
test_imd_entry_atFunction · 0.40