Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
void *malloc(size_t size)
59
{
60
return memalign(sizeof(u64), size);
61
}
62
63
void *calloc(size_t nitems, size_t size)
64
{
Callers
15
fb_new_framebuffer_info
Function · 0.70
fill_blt_buffer
Function · 0.70
strdup
Function · 0.70
strconcat
Function · 0.70
nhlt_init
Function · 0.70
append_specific_config
Function · 0.70
buffer_fn_data
Function · 0.70
alloc_range
Function · 0.70
calloc
Function · 0.70
unpack_fdt
Function · 0.70
vpd_get_bios_version
Function · 0.70
add_coreboot_table_to_fdt
Function · 0.50
Calls
1
memalign
Function · 0.70
Tested by
15
setup_acpigen
Function · 0.40
test_imd_handle_init_partial_recovery
Function · 0.40
test_imd_create_empty
Function · 0.40
test_imd_create_tiered_empty
Function · 0.40
test_imd_recover
Function · 0.40
test_imd_limit_size
Function · 0.40
test_imd_lockdown
Function · 0.40
test_imd_region_used
Function · 0.40
test_imd_entry_add
Function · 0.40
test_imd_entry_find
Function · 0.40
test_imd_entry_find_or_add
Function · 0.40
test_imd_entry_at
Function · 0.40