Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 21 files:

Smatch caller information:

mm/memory_hotplug.c __add_memory_resource() -> memblock_remove()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u64max
DATA_SOURCE 1 size r resource_size
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 base unit_byte
UNITS 1 size unit_byte
HALF_LOCKED2 global &device_hotplug_lock

mm/memory_hotplug.c try_remove_memory() -> memblock_remove()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u64max
DATA_SOURCE 0 base $0
DATA_SOURCE 1 size $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 base unit_byte
UNITS 1 size unit_byte
HALF_LOCKED2 global &device_hotplug_lock