Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/snapshot.c create_basic_memory_bitmaps() -> memory_bm_create()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PARAM_VALUE 1 gfp_mask 3264
PARAM_VALUE 2 safe_needed 0
BUF_SIZE 0 bm 64
DATA_SOURCE 0 bm r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c create_basic_memory_bitmaps() -> memory_bm_create()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PARAM_VALUE 1 gfp_mask 3264
PARAM_VALUE 2 safe_needed 0
BUF_SIZE 0 bm 64
DATA_SOURCE 0 bm r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

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

Type Parameter Key Value
PARAM_VALUE 0 bm 5169136617764929536
PARAM_VALUE 1 gfp_mask 11456
PARAM_VALUE 2 safe_needed 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
PARAM_VALUE 1 gfp_mask 11456
PARAM_VALUE 2 safe_needed 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 bm 5269069334722150400
PARAM_VALUE 1 gfp_mask 11456
PARAM_VALUE 2 safe_needed 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/power/snapshot.c prepare_image() -> memory_bm_create()

Type Parameter Key Value
PARAM_VALUE 0 bm 5169136617764929536
PARAM_VALUE 0 bm->cur.node_bit 0-65
PARAM_VALUE 0 bm->p_list 0,4096-ptr_max
PARAM_VALUE 1 gfp_mask 2080
PARAM_VALUE 2 safe_needed 1
DATA_SOURCE 0 bm $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c prepare_image() -> memory_bm_create()

Type Parameter Key Value
PARAM_VALUE 0 bm 8199995805600677888
PARAM_VALUE 1 gfp_mask 2080
PARAM_VALUE 2 safe_needed 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c prepare_image() -> memory_bm_create()

Type Parameter Key Value
PARAM_VALUE 0 bm 5269069334722150400
PARAM_VALUE 0 bm->cur.node 4096-ptr_max
PARAM_VALUE 0 bm->cur.node_bit 0-65
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
PARAM_VALUE 0 bm->p_list 0,4096-ptr_max
PARAM_VALUE 1 gfp_mask 2080
PARAM_VALUE 2 safe_needed 1
DATA_SOURCE 0 bm $2
BIT_INFO 0 &bm->zones 0x491f7ea4a9048000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c snapshot_write_next() -> memory_bm_create()

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
PARAM_VALUE 0 bm->cur.node_bit 0-65
PARAM_VALUE 0 bm->p_list 0,4096-ptr_max
PARAM_VALUE 1 gfp_mask 2080
PARAM_VALUE 2 safe_needed 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c snapshot_write_next() -> memory_bm_create()

Type Parameter Key Value
PARAM_VALUE 0 bm 5269069334722150400
PARAM_VALUE 0 bm->cur.node_bit 0-65
PARAM_VALUE 0 bm->cur.zone 0,4096-ptr_max
PARAM_VALUE 0 bm->p_list 0,4096-ptr_max
PARAM_VALUE 1 gfp_mask 2080
PARAM_VALUE 2 safe_needed 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock