Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/exfat/iomap.c, line 278
- fs/ext4/inode.c, line 3944
- fs/iomap/swapfile.c, line 192
- fs/ntfs/aops.c, line 289
- fs/xfs/xfs_aops.c, line 847
- fs/zonefs/file.c, line 186
Smatch caller information:
fs/ext4/inode.c ext4_iomap_swap_activate() -> iomap_swapfile_activate()
| 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 | 4294967295 |
| PARAM_VALUE | 0 | sis->flags | 1,65 |
| PARAM_VALUE | 0 | sis->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | sis->list.prio | 0 |
| PARAM_VALUE | 0 | sis->ops | 4066553769318047744 |
| PARAM_VALUE | 0 | sis->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | sis->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 1 | swap_file | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->read_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->swap_activate | 4096-ptr_max |
| 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->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 |
| PARAM_VALUE | 1 | swap_file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | pagespan | 366894672675893248 |
| PARAM_VALUE | 3 | ops | 5745149443797716992 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis->ops | 32 |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| CAPPED_DATA | 0 | sis->max | 1 |
| CAPPED_DATA | 0 | sis->pages | 1 |
| DATA_SOURCE | 0 | sis | $0 |
| DATA_SOURCE | 1 | swap_file | $1 |
| DATA_SOURCE | 2 | pagespan | $2 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/aops.c ntfs_swap_activate() -> iomap_swapfile_activate()
| 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 | 4294967295 |
| PARAM_VALUE | 0 | sis->flags | 1,65 |
| PARAM_VALUE | 0 | sis->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | sis->list.prio | 0 |
| PARAM_VALUE | 0 | sis->ops | 4066553769318047744 |
| PARAM_VALUE | 0 | sis->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | sis->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 1 | swap_file | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->read_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->swap_activate | 4096-ptr_max |
| 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->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 |
| PARAM_VALUE | 1 | swap_file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | pagespan | 366894672675893248 |
| PARAM_VALUE | 3 | ops | 202422952840523776 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis->ops | 32 |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| CAPPED_DATA | 0 | sis->max | 1 |
| CAPPED_DATA | 0 | sis->pages | 1 |
| DATA_SOURCE | 0 | sis | $0 |
| DATA_SOURCE | 1 | swap_file | $1 |
| DATA_SOURCE | 2 | pagespan | $2 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/xfs/xfs_aops.c xfs_vm_swap_activate() -> iomap_swapfile_activate()
| 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,65 |
| PARAM_VALUE | 0 | sis->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | sis->list.prio | 0 |
| PARAM_VALUE | 0 | sis->ops | 4066553769318047744 |
| 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 | 1 | swap_file | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->read_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->swap_activate | 4096-ptr_max |
| 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->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 |
| PARAM_VALUE | 1 | swap_file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | pagespan | 366894672675893248 |
| PARAM_VALUE | 3 | ops | 261349953401536512 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis->ops | 32 |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| CAPPED_DATA | 0 | sis->max | 1 |
| CAPPED_DATA | 0 | sis->pages | 1 |
| DATA_SOURCE | 0 | sis | $0 |
| DATA_SOURCE | 1 | swap_file | $1 |
| DATA_SOURCE | 2 | pagespan | $2 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/exfat/iomap.c exfat_iomap_swap_activate() -> iomap_swapfile_activate()
| 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 | 4294967295 |
| PARAM_VALUE | 0 | sis->flags | 1,65 |
| PARAM_VALUE | 0 | sis->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | sis->list.prio | 0 |
| PARAM_VALUE | 0 | sis->ops | 4066553769318047744 |
| PARAM_VALUE | 0 | sis->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | sis->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 1 | swap_file | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->read_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->swap_activate | 4096-ptr_max |
| 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->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 |
| PARAM_VALUE | 1 | swap_file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | pagespan | 366894672675893248 |
| PARAM_VALUE | 3 | ops | 7653402913462484992 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis->ops | 32 |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| CAPPED_DATA | 0 | sis->max | 1 |
| CAPPED_DATA | 0 | sis->pages | 1 |
| DATA_SOURCE | 0 | sis | $0 |
| DATA_SOURCE | 1 | swap_file | $1 |
| DATA_SOURCE | 2 | pagespan | $2 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/zonefs/file.c zonefs_swap_activate() -> iomap_swapfile_activate()
| 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 | 4294967295 |
| PARAM_VALUE | 0 | sis->flags | 1,65 |
| PARAM_VALUE | 0 | sis->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | sis->list.prio | 0 |
| PARAM_VALUE | 0 | sis->ops | 4066553769318047744 |
| PARAM_VALUE | 0 | sis->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | sis->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 1 | swap_file | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->read_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | swap_file->f_mapping->a_ops->swap_activate | 4096-ptr_max |
| 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->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 |
| PARAM_VALUE | 1 | swap_file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | pagespan | 366894672675893248 |
| PARAM_VALUE | 3 | ops | 6642428417340542976 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis | (-1),952 |
| BUF_SIZE | 0 | sis->ops | 32 |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| BUF_SIZE | 1 | swap_file | (-1),1-s32max |
| CAPPED_DATA | 0 | sis->max | 1 |
| CAPPED_DATA | 0 | sis->pages | 1 |
| DATA_SOURCE | 0 | sis | $0 |
| DATA_SOURCE | 1 | swap_file | $1 |
| DATA_SOURCE | 2 | pagespan | $2 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |