Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/snapshot.c pack_pfns() -> memory_bm_test_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 5269069334722150400
PARAM_VALUE 0 bm->cur.zone 0,4096-ptr_max
PARAM_VALUE 1 pfn 0-18446744073709551614
DATA_SOURCE 0 bm $2
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_test_bit()

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
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c swsusp_page_is_forbidden() -> memory_bm_test_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &zone->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &system_transition_mutex

kernel/power/snapshot.c swsusp_page_is_free() -> memory_bm_test_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &system_transition_mutex