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

Function malloc

payloads/libpayload/libc/malloc.c:289–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void *malloc(size_t size)
290{
291 return alloc(size, heap);
292}
293
294void *dma_malloc(size_t size)
295{

Callers 15

readlineFunction · 0.70
strdupFunction · 0.70
strndupFunction · 0.70
init_dma_memoryFunction · 0.70
allocate_regionFunction · 0.70
alloc_alignedFunction · 0.70
pci_allocFunction · 0.50
pci_scan_single_busFunction · 0.50
pci_get_devFunction · 0.50
get_option_as_stringFunction · 0.50
set_option_from_stringFunction · 0.50
cbmem_console_snapshotFunction · 0.50

Calls 1

allocFunction · 0.85

Tested by

no test coverage detected