Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/snapshot.c hibernate_preallocate_memory() -> preallocate_image_highmem()

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 0
DATA_SOURCE 0 nr_pages r count_highmem_pages
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/power/snapshot.c hibernate_preallocate_memory() -> preallocate_image_highmem()

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/power/snapshot.c hibernate_preallocate_memory() -> preallocate_image_highmem()

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/power/snapshot.c hibernate_preallocate_memory() -> preallocate_image_highmem()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/power/snapshot.c hibernate_preallocate_memory() -> preallocate_image_highmem()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex