Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swapfile.c __swap_cluster_alloc_entries() -> __swp_tb_mk_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swp_tb | 1-576460752303423487 |
| PARAM_VALUE | 1 | count | 1 |
| BIT_INFO | 0 | swp_tb | 0x1,0x7ffffffffffffff |
| 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_cluster_dup_entry() -> __swp_tb_mk_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swp_tb | 0-18446744073709551607,18446744073709551609-u64max |
| PARAM_VALUE | 1 | count | 1-14 |
| DATA_SOURCE | 0 | swp_tb | r __swap_table_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ci->lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | dst_ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | src_ptl |
mm/swapfile.c __swap_cluster_dup_entry() -> __swp_tb_mk_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | swp_tb | 0-18446744073709551607,18446744073709551609-u64max |
| PARAM_VALUE | 1 | count | 15 |
| DATA_SOURCE | 0 | swp_tb | r __swap_table_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ci->lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | dst_ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | src_ptl |
mm/swapfile.c __swap_cluster_put_entry() -> __swp_tb_mk_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | count | 14 |
| DATA_SOURCE | 0 | swp_tb | r __swap_table_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &system_transition_mutex |
mm/swapfile.c __swap_cluster_put_entry() -> __swp_tb_mk_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 |