Defined in 1 files as a function:

Referenced in 20 files:

Smatch caller information:

arch/x86/platform/efi/memmap.c __efi_memmap_alloc_early() -> memblock_phys_alloc()

Type Parameter Key Value
PARAM_VALUE 1 align 64
DATA_SOURCE 0 size $0
UNITS 0 size unit_byte

arch/x86/kernel/e820.c e820__memblock_alloc_reserved() -> memblock_phys_alloc()

Type Parameter Key Value
PARAM_VALUE 1 align 4
DATA_SOURCE 0 size $0
DATA_SOURCE 1 align $1
LOCK2 irq

mm/memblock.c reserve_mem() -> memblock_phys_alloc()

Type Parameter Key Value
PARAM_VALUE 0 size 1-u64max
PARAM_VALUE 1 align 64-u64max
DATA_SOURCE 0 size r memparse
FUZZY_MAX 1 align 64
USER_DATA 0 size 1-u64max
USER_DATA 1 align 64-u64max
HALF_LOCKED2 irq

kernel/liveupdate/kexec_handover.c kho_reserve_scratch() -> memblock_phys_alloc()

Type Parameter Key Value
PARAM_VALUE 1 align 4194304
NO_OVERFLOW_SIMPLE 0 size
LOCK2 irq