Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/swapfile.c discard_swap_cluster() -> offset_to_swap_extent()

Type Parameter Key Value
PARAM_VALUE 0 sis 4096-ptr_max
PARAM_VALUE 0 sis->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 offset 0-u32max
DATA_SOURCE 0 sis $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING

mm/swapfile.c swap_folio_sector() -> offset_to_swap_extent()

Type Parameter Key Value
PARAM_VALUE 0 sis 4096-ptr_max
PARAM_VALUE 1 offset 0-288230376151711743
DATA_SOURCE 0 sis r __swap_entry_to_info
DATA_SOURCE 1 offset r swp_offset
RX_PATH

mm/swapfile.c swapdev_block() -> offset_to_swap_extent()

Type Parameter Key Value
PARAM_VALUE 0 sis 4096-ptr_max
PARAM_VALUE 0 sis->flags 2-u64max
PARAM_VALUE 1 offset 1-288230376151711743
CAPPED_DATA 1 offset 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 sis r swap_type_to_info
DATA_SOURCE 1 offset $1
BIT_INFO 0 sis->flags 0x2,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
LOCK2 global &system_transition_mutex