Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/snapshot.c clear_or_poison_free_pages() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PARAM_VALUE 0 bm->cur.cur_pfn u64max
PARAM_VALUE 0 bm->cur.node_bit 0
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex
LOCK2 irq

kernel/power/snapshot.c clear_or_poison_free_pages() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PARAM_VALUE 0 bm->cur.node 4096-ptr_max
PARAM_VALUE 0 bm->cur.node_bit 1-65
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex
LOCK2 irq

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

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
PARAM_VALUE 0 bm->cur.cur_pfn u64max
PARAM_VALUE 0 bm->cur.node_bit 0
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
DATA_SOURCE 0 bm $0

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

Type Parameter Key Value
PARAM_VALUE 0 bm 5169136617764929536
PARAM_VALUE 0 bm->cur.node_bit 0-65
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
DATA_SOURCE 0 bm $1

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

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
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
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
DATA_SOURCE 0 bm $0

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

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472,5269069334722150400,8199995805600677888
PARAM_VALUE 0 bm->cur.cur_pfn u64max
PARAM_VALUE 0 bm->cur.node_bit 0
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
PARAM_VALUE 0 bm->p_list 0,4096-ptr_max
DATA_SOURCE 0 bm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

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

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472,5269069334722150400,8199995805600677888
PARAM_VALUE 0 bm->cur.node 4096-ptr_max
PARAM_VALUE 0 bm->cur.node_bit 1-65
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
PARAM_VALUE 0 bm->p_list 0,4096-ptr_max
DATA_SOURCE 0 bm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c free_unnecessary_pages() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
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
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex

kernel/power/snapshot.c get_buffer() -> memory_bm_next_pfn()

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 0 bm->zones.prev 0,4096-ptr_max
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 mark_unsafe_pages() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PARAM_VALUE 0 bm->cur.cur_pfn u64max
PARAM_VALUE 0 bm->cur.node_bit 0
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c mark_unsafe_pages() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
PARAM_VALUE 0 bm->cur.node 4096-ptr_max
PARAM_VALUE 0 bm->cur.node->data 4096-ptr_max
PARAM_VALUE 0 bm->cur.node_bit 1-65
PARAM_VALUE 0 bm->cur.node_pfn 0
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

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

Type Parameter Key Value
PARAM_VALUE 0 bm 5169136617764929536
PARAM_VALUE 0 bm->cur.node_bit 0-65
DATA_SOURCE 0 bm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c snapshot_read_next() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 3906572357807849472
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

kernel/power/snapshot.c swsusp_free() -> memory_bm_next_pfn()

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
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

kernel/power/snapshot.c swsusp_free() -> memory_bm_next_pfn()

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
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

kernel/power/snapshot.c swsusp_free() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
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
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq

kernel/power/snapshot.c swsusp_free() -> memory_bm_next_pfn()

Type Parameter Key Value
PARAM_VALUE 0 bm 4096-ptr_max
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
PARAM_VALUE 0 bm->cur.zone 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq