Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/snapshot.c copy_data_pages() -> memory_bm_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 5169136617764929536
PARAM_VALUE 1 pfn 0-4503599627370495
CAPPED_DATA 1 pfn 1
CAPPED_DATA 1 pfn 1
DATA_SOURCE 0 bm $1
NOCHECK_CALL
UNITS 1 pfn unit_page

kernel/power/snapshot.c copy_data_pages() -> memory_bm_set_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
CAPPED_DATA 1 pfn 1
CAPPED_DATA 1 pfn 1
DATA_SOURCE 0 bm $2
DATA_SOURCE 1 pfn r memory_bm_next_pfn
NOCHECK_CALL
UNITS 1 pfn unit_page

kernel/power/snapshot.c duplicate_memory_bitmap() -> memory_bm_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PARAM_VALUE 0 bm->cur.node_bit 0-65
PARAM_VALUE 0 bm->cur.node_pfn 0,32768-u64max
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
PARAM_VALUE 1 pfn 0-18446744073709551614
CAPPED_DATA 1 pfn 1
CAPPED_DATA 1 pfn 1
DATA_SOURCE 0 bm $0
DATA_SOURCE 1 pfn r memory_bm_next_pfn
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c preallocate_image_pages() -> memory_bm_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
PARAM_VALUE 1 pfn 0-12384898975264768,9223396226110586880-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/power/snapshot.c swsusp_alloc() -> memory_bm_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
PARAM_VALUE 1 pfn 0-12384898975264768,9223396226110586880-u64max
DATA_SOURCE 0 bm $0
NOCHECK_CALL

kernel/power/snapshot.c swsusp_set_page_forbidden() -> memory_bm_set_bit()

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

kernel/power/snapshot.c swsusp_set_page_free() -> memory_bm_set_bit()

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

kernel/power/snapshot.c unpack_orig_pfns() -> memory_bm_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
PARAM_VALUE 0 bm->cur.cur_pfn 0-4503599627370495
PARAM_VALUE 0 bm->cur.node 4096-ptr_max
PARAM_VALUE 0 bm->cur.node_bit 0-65
PARAM_VALUE 0 bm->cur.node_pfn 0,32768-u64max
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
PARAM_VALUE 0 bm->cur.zone->end_pfn 1-u64max
PARAM_VALUE 0 bm->p_list 0,4096-ptr_max
PARAM_VALUE 1 pfn 0-4503599627370495
CAPPED_DATA 1 pfn 1
CAPPED_DATA 1 pfn 1
DATA_SOURCE 0 bm $1
BIT_INFO 1 pfn 0x0,0x7fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c unpack_orig_pfns() -> memory_bm_set_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
PARAM_VALUE 1 pfn 0-4503599627370495
CAPPED_DATA 1 pfn 1
CAPPED_DATA 1 pfn 1
DATA_SOURCE 0 bm $2
BIT_INFO 1 pfn 0x0,0x7fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock