Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swapfile.c cluster_alloc_swap_entry() -> alloc_swap_scan_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->flags | 1024-u64max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 0,4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping | 1-u64max |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *folio->_mm_id | 0-4294967295 |
| PARAM_VALUE | 3 | scan_all | 0 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | folio | $1 |
| BIT_INFO | 0 | si->flags | 0x400,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |
mm/swapfile.c cluster_alloc_swap_entry() -> alloc_swap_scan_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->nonfull_clusters | 4096-ptr_max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 0,4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping | 1-u64max |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *folio->_mm_id | 0-4294967295 |
| PARAM_VALUE | 3 | scan_all | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | folio | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |
mm/swapfile.c cluster_alloc_swap_entry() -> alloc_swap_scan_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 0,4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping | 1-u64max |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *folio->_mm_id | 0-4294967295 |
| PARAM_VALUE | 3 | scan_all | 0 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | folio | $1 |
| BIT_INFO | 0 | si->flags | 0x0,0xfffffffffffffbff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |
mm/swapfile.c cluster_alloc_swap_entry() -> alloc_swap_scan_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->frag_clusters | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | si->nonfull_clusters | 4096-ptr_max |
| PARAM_VALUE | 0 | si->reclaim_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 0,4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping | 1-u64max |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *folio->_mm_id | 0-4294967295 |
| PARAM_VALUE | 3 | scan_all | 0 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | folio | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |
mm/swapfile.c cluster_alloc_swap_entry() -> alloc_swap_scan_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->frag_clusters | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | si->nonfull_clusters | 4096-ptr_max |
| PARAM_VALUE | 0 | si->reclaim_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 0,4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping | 1-u64max |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *folio->_mm_id | 0-4294967295 |
| PARAM_VALUE | 3 | scan_all | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | folio | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |
mm/swapfile.c cluster_alloc_swap_entry() -> alloc_swap_scan_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->discard_clusters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->frag_clusters | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->full_clusters.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | si->nonfull_clusters | 4096-ptr_max |
| PARAM_VALUE | 0 | si->reclaim_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *si->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 2 | folio | 0,4096-ptr_max |
| PARAM_VALUE | 2 | folio->mapping | 1-u64max |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | folio->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *folio->_mm_id | 0-4294967295 |
| PARAM_VALUE | 3 | scan_all | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | folio | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | 0 | &si->global_cluster_lock |