Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

mm/memcontrol.c __swap_cluster_get_and_lock() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/huge_memory.c __swap_cluster_get_and_lock() -> __swap_entry_to_info()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 irq

mm/page_io.c __swap_cluster_get_and_lock() -> __swap_entry_to_info()

Type Parameter Key Value

mm/page_io.c __swap_entry_to_cluster() -> __swap_entry_to_info()

Type Parameter Key Value
DATA_SOURCE 0 entry $0
RX_PATH
TASK_NOT_RUNNING

mm/page_io.c swap_add_folio() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/page_io.c swap_can_merge() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/page_io.c swap_read_folio() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/swapfile.c __swap_entry_to_cluster() -> __swap_entry_to_info()

Type Parameter Key Value
DATA_SOURCE 0 entry $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 vmf->ptl

mm/swapfile.c folio_put_swap() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 ptl
HALF_LOCKED2 vmf->ptl

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

Type Parameter Key Value
RX_PATH

mm/swapfile.c swap_free_hibernation_slot() -> __swap_entry_to_info()

Type Parameter Key Value
DATA_SOURCE 0 entry $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &device_hotplug_lock

mm/shmem.c __swap_cluster_get_and_lock() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/vmscan.c __swap_cluster_get_and_lock() -> __swap_entry_to_info()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

mm/vmscan.c may_enter_fs() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/migrate.c __swap_cluster_get_and_lock() -> __swap_entry_to_info()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

mm/swap_state.c __swap_cache_do_del_folio() -> __swap_entry_to_info()

Type Parameter Key Value
DATA_SOURCE 0 entry $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ci->lock

mm/swap_state.c __swap_entry_to_cluster() -> __swap_entry_to_info()

Type Parameter Key Value
DATA_SOURCE 0 entry $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctx->map_changing_lock
HALF_LOCKED2 rcu_read

mm/swap_state.c swap_cache_del_folio() -> __swap_entry_to_info()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &mf_mutex
HALF_LOCKED2 vmf->ptl

mm/swap_state.c swap_cluster_readahead() -> __swap_entry_to_info()

Type Parameter Key Value
DATA_SOURCE 0 entry $0
RX_PATH
TASK_NOT_RUNNING

mm/memcontrol-v1.c __swap_cluster_get_and_lock() -> __swap_entry_to_info()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING