Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swapfile.c __do_sys_swapoff() -> destroy_swap_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sis | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | sis->comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sis->swap_file | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->users.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sis->users.data->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sis->users.data->rcu.next | 0 |
| PARAM_VALUE | 1 | swap_file | 4096-ptr_max |
| CAPPED_DATA | 0 | sis->pages | 1 |
| CAPPED_DATA | 0 | sis->swap_file->f_mapping | 1 |
| CAPPED_DATA | 0 | sis->type | 1 |
| CAPPED_DATA | 0 | &sis->discard_work | 1 |
| CAPPED_DATA | 0 | &sis->list.node_list | 1 |
| CAPPED_DATA | 0 | &sis->reclaim_work | 1 |
| CAPPED_DATA | 1 | swap_file->f_mapping | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
mm/swapfile.c __do_sys_swapoff() -> destroy_swap_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sis | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.node_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | sis->comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.node_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.node_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.prio_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->list.prio_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sis->swap_file | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->users.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sis->users.data->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sis->users.data->rcu.next | 0 |
| PARAM_VALUE | 1 | swap_file | 4096-ptr_max |
| CAPPED_DATA | 0 | sis->pages | 1 |
| CAPPED_DATA | 0 | sis->swap_file->f_mapping | 1 |
| CAPPED_DATA | 0 | sis->type | 1 |
| CAPPED_DATA | 0 | &sis->discard_work | 1 |
| CAPPED_DATA | 0 | &sis->list.node_list | 1 |
| CAPPED_DATA | 0 | &sis->reclaim_work | 1 |
| CAPPED_DATA | 1 | swap_file->f_mapping | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
mm/swapfile.c __do_sys_swapon() -> destroy_swap_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sis | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio | 0 |
| PARAM_VALUE | 0 | sis->comp.done | 0 |
| PARAM_VALUE | 0 | sis->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->flags | 1,17,65,81,129,145,193,209,516-7893 |
| PARAM_VALUE | 0 | sis->global_cluster | 0 |
| PARAM_VALUE | 0 | sis->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | sis->list.prio | 0 |
| PARAM_VALUE | 0 | sis->ops->can_merge | 3963433155706200064,4306922423022067712 |
| PARAM_VALUE | 0 | sis->ops->flags | 0-1 |
| PARAM_VALUE | 0 | sis->ops->submit_read | 4787638740464234496,8122949791060992000 |
| PARAM_VALUE | 0 | sis->ops->submit_write | 125136390775549952,5694646140364562432 |
| PARAM_VALUE | 0 | sis->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | sis->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 0 | sis->users.data->ref | 4096-ptr_max |
| PARAM_VALUE | 0 | *sis->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | swap_file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_mapping->nrpages | 0-1 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 1 | swap_file | (-1)-s32max |
| BUF_SIZE | 1 | swap_file | (-1)-s32max |
| DATA_SOURCE | 0 | sis | r alloc_swap_info |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
mm/swapfile.c __do_sys_swapon() -> destroy_swap_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sis | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->avail_list.prio | 0 |
| PARAM_VALUE | 0 | sis->comp.done | 0 |
| PARAM_VALUE | 0 | sis->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | sis->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sis->flags | 1,17,65,81,129,145,193,209,516-7893 |
| PARAM_VALUE | 0 | sis->global_cluster | 0 |
| PARAM_VALUE | 0 | sis->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | sis->list.prio | 0 |
| PARAM_VALUE | 0 | sis->ops->can_merge | 3963433155706200064,4306922423022067712 |
| PARAM_VALUE | 0 | sis->ops->flags | 0-1 |
| PARAM_VALUE | 0 | sis->ops->submit_read | 4787638740464234496,8122949791060992000 |
| PARAM_VALUE | 0 | sis->ops->submit_write | 125136390775549952,5694646140364562432 |
| PARAM_VALUE | 0 | sis->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | sis->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 0 | sis->users.data->ref | 4096-ptr_max |
| PARAM_VALUE | 0 | *sis->global_cluster->next | 0-4294967295 |
| PARAM_VALUE | 1 | swap_file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_mapping->nrpages | 0-1 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | swap_file->f_mapping->host->i_rwsem.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 1 | swap_file | (-1)-s32max |
| BUF_SIZE | 1 | swap_file | (-1)-s32max |
| DATA_SOURCE | 0 | sis | r alloc_swap_info |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |