Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/page_io.c swp_tb_is_countable() -> swp_tb_is_null()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb $0
HALF_LOCKED2 rcu_read

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

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r __swap_table_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ci->lock
HALF_LOCKED2 &si->global_cluster_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct swap_cluster_info)->lock

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

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 find_next_to_unuse() -> swp_tb_is_null()

Type Parameter Key Value
DATA_SOURCE 0 swp_tb r swap_table_get
CAPABLE 0 21

mm/swapfile.c swap_cluster_assert_empty() -> swp_tb_is_null()

Type Parameter Key Value
PARAM_VALUE 0 swp_tb 0-18446744073709551607,18446744073709551609-u64max
DATA_SOURCE 0 swp_tb r __swap_table_get
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ci->lock

mm/swapfile.c swp_tb_is_countable() -> swp_tb_is_null()

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

mm/swap_state.c swp_tb_is_countable() -> swp_tb_is_null()

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