Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kernel/apic/io_apic.c io_apic_init_mappings() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 4096
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 457246775966916608
BUF_SIZE 2 func 22
LOCK2 irq

arch/x86/kernel/apic/io_apic.c ioapic_setup_resources() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 75-9600
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 1443267503031291904
BUF_SIZE 2 func 23
UNITS 0 size unit_byte
LOCK2 irq

mm/numa.c alloc_offline_node_data() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 258048
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 1495579350456250368
BUF_SIZE 2 func 24
UNITS 0 size unit_byte
LOCK2 irq

arch/x86/kernel/acpi/boot.c acpi_parse_hpet() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 73
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 7985743986846150656
BUF_SIZE 2 func 16
UNITS 0 size unit_byte
HALF_LOCKED2 global &acpi_probe_mutex
HALF_LOCKED2 irq

mm/percpu.c pcpu_alloc_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 192-65728
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 9110991340412092416
BUF_SIZE 2 func 23
DATA_SOURCE 0 size r size_add
LOCK2 irq

mm/percpu.c pcpu_alloc_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0-268435456
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 9110991340412092416
BUF_SIZE 2 func 23
LOCK2 irq

mm/percpu.c pcpu_alloc_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 9110991340412092416
BUF_SIZE 2 func 23
LOCK2 irq

mm/percpu.c pcpu_alloc_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 9110991340412092416
BUF_SIZE 2 func 23
LOCK2 irq

mm/percpu.c pcpu_page_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0,4096-34359738368
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 8924741953963081728
BUF_SIZE 2 func 22
BIT_INFO 0 size 0x0,0xfffffffffffff000
BIT_INFO 0 size 0x0,0xfffffffffffff000
LOCK2 irq

mm/percpu.c pcpu_populate_pte() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 4096
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 3264358652516511744
BUF_SIZE 2 func 18
LOCK2 irq

mm/percpu.c pcpu_populate_pte() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 4096
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 3264358652516511744
BUF_SIZE 2 func 18
LOCK2 irq

mm/percpu.c pcpu_populate_pte() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 4096
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 3264358652516511744
BUF_SIZE 2 func 18
LOCK2 irq

mm/percpu.c pcpu_populate_pte() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 4096
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 3264358652516511744
BUF_SIZE 2 func 18
LOCK2 irq

mm/percpu.c pcpu_setup_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 8-17179869176
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 4770095587268485120
BUF_SIZE 2 func 23
CAPPED_DATA 0 size 1
CAPPED_DATA 0 size 1
LOCK2 irq

mm/percpu.c pcpu_setup_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 8-17179869176
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 4770095587268485120
BUF_SIZE 2 func 23
CAPPED_DATA 0 size 1
CAPPED_DATA 0 size 1
LOCK2 irq

mm/percpu.c pcpu_setup_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0-32772
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 4770095587268485120
BUF_SIZE 2 func 23
CAPPED_DATA 0 size 1
CAPPED_DATA 0 size 1
LOCK2 irq

mm/percpu.c pcpu_setup_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0-65544
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 4770095587268485120
BUF_SIZE 2 func 23
CAPPED_DATA 0 size 1
CAPPED_DATA 0 size 1
LOCK2 irq

mm/percpu.c pcpu_setup_first_chunk() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 80-528
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 4770095587268485120
BUF_SIZE 2 func 23
LOCK2 irq

mm/sparse.c memblocks_present() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 32768,2097152
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 8380383823609577472
BUF_SIZE 2 func 18
FUZZY_MAX 0 size 2097152
HARD_MAX 0 size 2097152
LOCK2 irq

drivers/of/fdt.c early_init_dt_alloc_memory_arch() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0-2147483688,18446744071562067968-u64max
PARAM_VALUE 2 func 2971604473439703040
BUF_SIZE 2 func 32
DATA_SOURCE 0 size $0
DATA_SOURCE 1 align $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 size unit_byte
HALF_LOCKED2 irq

arch/x86/xen/p2m.c alloc_p2m_page() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 4096
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 4522766465113481216
BUF_SIZE 2 func 15
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

kernel/power/snapshot.c register_nosave_region() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 32
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 5160837539013787648
BUF_SIZE 2 func 23
UNITS 0 size unit_byte
LOCK2 irq

init/main.c initcall_blacklist() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 24
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 666850648987615232
BUF_SIZE 2 func 19
UNITS 0 size unit_byte
HALF_LOCKED2 irq

init/main.c initcall_blacklist() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 1-18446744073709551614
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 666850648987615232
BUF_SIZE 2 func 19
HALF_LOCKED2 irq

init/main.c setup_command_line() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 7881695737163821056
BUF_SIZE 2 func 19
LOCK2 irq

init/main.c setup_command_line() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 7881695737163821056
BUF_SIZE 2 func 19
LOCK2 irq

kernel/sched/build_utility.c housekeeping_setup_type() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0,8-1032
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 3102638408940109824
BUF_SIZE 2 func 24
HALF_LOCKED2 irq

arch/x86/coco/sev/core.c alloc_runtime_data() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 4096
PARAM_VALUE 1 align 4096
PARAM_VALUE 2 func 5096720481389723648
BUF_SIZE 2 func 19
UNITS 0 size unit_byte
LOCK2 irq

drivers/of/unittest.c dt_alloc_memory() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0-u32max,18446744071562067968-u64max
PARAM_VALUE 2 func 4474550340259864576
BUF_SIZE 2 func 16
CAPPED_DATA 0 size 1
CAPPED_DATA 0 size 1
DATA_SOURCE 0 size $0
DATA_SOURCE 1 align $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

arch/x86/kernel/e820.c e820__reserve_resources() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 1027652159177486336
BUF_SIZE 2 func 24
LOCK2 irq

lib/cpumask.c alloc_bootmem_cpumask_var() -> __memblock_alloc_or_panic()

Type Parameter Key Value
PARAM_VALUE 0 size 0,8-1032
PARAM_VALUE 1 align 64
PARAM_VALUE 2 func 1623311168249925632
BUF_SIZE 2 func 26
HALF_LOCKED2 irq