Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/page_io.c swap_zeromap_batch() -> __swap_table_test_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | ci_off | 0-511 |
| DATA_SOURCE | 0 | ci | r __swap_entry_to_cluster |
| DATA_SOURCE | 1 | ci_off | r swp_cluster_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
mm/page_io.c swap_zeromap_batch() -> __swap_table_test_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | ci_off | 1-2147484158 |
| CAPPED_DATA | 0 | ci->table | 1 |
| DATA_SOURCE | 0 | ci | r __swap_entry_to_cluster |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
mm/swap_state.c __swap_cache_add_check() -> __swap_table_test_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->table | 1-u64max |
| PARAM_VALUE | 1 | ci_off | 0-511 |
| CAPPED_DATA | 0 | ci->table | 1 |
| DATA_SOURCE | 0 | ci | $0 |
| DATA_SOURCE | 1 | ci_off | r swp_cluster_offset |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->lock | |
| TYPE_LOCK | (struct swap_cluster_info)->lock |
mm/swap_state.c __swap_cache_add_check() -> __swap_table_test_zero()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->table | 1-u64max |
| PARAM_VALUE | 1 | ci_off | 0-4294967294 |
| CAPPED_DATA | 0 | ci->table | 1 |
| DATA_SOURCE | 0 | ci | $0 |
| FUZZY_MAX | 1 | ci_off | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->lock | |
| TYPE_LOCK | (struct swap_cluster_info)->lock |