Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swapfile.c __do_sys_swapon() -> read_swap_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio | 0 |
| PARAM_VALUE | 0 | si->comp.done | 0 |
| PARAM_VALUE | 0 | si->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | si->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | si->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->flags | 1,65 |
| PARAM_VALUE | 0 | si->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | si->list.prio | 0 |
| PARAM_VALUE | 0 | si->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | si->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 0 | si->users.data->ref | 4096-ptr_max |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 2 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 2 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | si | (-1),952 |
| BUF_SIZE | 0 | si | (-1),952 |
| DATA_SOURCE | 0 | si | r alloc_swap_info |
| DATA_SOURCE | 1 | swap_header | r kmap_local_folio |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 2 | inode->i_flags | 0x0,0xffffbeff |
| LOCK2 | 2 | &inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |
mm/swapfile.c __do_sys_swapon() -> read_swap_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->avail_list.prio | 0 |
| PARAM_VALUE | 0 | si->comp.done | 0 |
| PARAM_VALUE | 0 | si->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | si->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | si->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->flags | 1,65 |
| PARAM_VALUE | 0 | si->inuse_pages.counter | 1073741824 |
| PARAM_VALUE | 0 | si->list.prio | 0 |
| PARAM_VALUE | 0 | si->users.data->confirm_switch | 0 |
| PARAM_VALUE | 0 | si->users.data->count.counter | s64min-(-9223372036854775807),0-s64max |
| PARAM_VALUE | 0 | si->users.data->ref | 4096-ptr_max |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 2 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 2 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | si | (-1),952 |
| BUF_SIZE | 0 | si | (-1),952 |
| DATA_SOURCE | 0 | si | r alloc_swap_info |
| DATA_SOURCE | 1 | swap_header | r kmap_local_folio |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 2 | inode->i_flags | 0x0,0xffffbeff |
| LOCK2 | 2 | &inode->i_rwsem | |
| TYPE_LOCK | (struct inode)->i_rwsem |