Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/swapfile.c __swap_count() -> swp_tb_get_count()

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

mm/swapfile.c cluster_reclaim_range() -> swp_tb_get_count()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r swap_table_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &si->global_cluster_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

mm/swapfile.c cluster_scan_range() -> swp_tb_get_count()

Type Parameter Key Value
PARAM_VALUE 0 swp_tb 1-u64max
DATA_SOURCE 0 swp_tb r __swap_table_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &si->global_cluster_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

mm/swapfile.c swap_entry_swapped() -> swp_tb_get_count()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r swap_table_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mm->mmap_lock
LOCK2 &oldmm->mmap_lock
LOCK2 dst_ptl
LOCK2 rcu_read
LOCK2 src_ptl
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/swapfile.c swap_extend_table_alloc() -> swp_tb_get_count()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ci->lock
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &oldmm->mmap_lock
TYPE_LOCK (struct swap_cluster_info)->lock

mm/swapfile.c swap_only_has_cache() -> swp_tb_get_count()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r __swap_table_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &system_transition_mutex

mm/swapfile.c swap_put_entries_cluster() -> swp_tb_get_count()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r __swap_table_get
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 ptl

mm/swapfile.c swp_swapcount() -> swp_tb_get_count()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r __swap_table_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock

mm/swapfile.c unuse_pte_range() -> swp_tb_get_count()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r swap_table_get
CAPABLE 0 21
LOCK2 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock