Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/vfio/pci/vfio_pci_core.c vfio_pci_core_register_device() -> vfio_assign_device_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->log_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->mig_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set_id | 4096-ptr_max |
| DATA_SOURCE | 1 | set_id | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_core_register_device() -> vfio_assign_device_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->log_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->mig_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set_id | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_core_register_device() -> vfio_assign_device_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->log_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->mig_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set_id | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/vfio/vfio_main.c __vfio_register_dev() -> vfio_assign_device_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev_set | 0 |
| PARAM_VALUE | 0 | device->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ops->attach_ioas | 0,1440527574664003584,2870165480332972032 |
| PARAM_VALUE | 0 | device->ops->bind_iommufd | 0,5884758885010452480,8528398329957732352 |
| PARAM_VALUE | 0 | device->ops->detach_ioas | 0,2843062832344907776,7636109330980913152 |
| PARAM_VALUE | 0 | device->ops->unbind_iommufd | 0,411220427582353408,6641231486141259776 |
| PARAM_VALUE | 1 | set_id | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | set_id | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vfio/fsl-mc/vfio_fsl_mc.c vfio_fsl_mc_init_dev() -> vfio_assign_device_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.done | 0 |
| PARAM_VALUE | 0 | device->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | device->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | device->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->index | 0-s32max |
| PARAM_VALUE | 0 | device->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | device->inode->i_flags | 0,512-u32max |
| PARAM_VALUE | 0 | device->inode->i_ino | 1-u32max |
| PARAM_VALUE | 0 | device->inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | device->inode->i_mapping->a_ops | 9190924229941444608 |
| PARAM_VALUE | 0 | device->inode->i_mapping->a_ops->dirty_folio | 6238236541637095424 |
| PARAM_VALUE | 0 | device->inode->i_mode | 384 |
| PARAM_VALUE | 0 | device->inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | device->inode->i_state.__state | 112 |
| PARAM_VALUE | 0 | device->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | set_id | 4096-ptr_max |
| BUF_SIZE | 0 | device | 2440,2464,2488,2536,3208,3384,3392,3432,3464,3584,3592,3648,4024,5704,2110616 |
| BUF_SIZE | 0 | device | 2440,2464,2488,2536,3208,3384,3392,3432,3464,3584,3592,3648,4024,5704,2110616 |
| BUF_SIZE | 1 | set_id | 1616 |
| CAPPED_DATA | 0 | device->inode->i_sb->s_time_max | 1 |
| DATA_SOURCE | 0 | device | $0 |
| BIT_INFO | 0 | device->ops | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/vfio/fsl-mc/vfio_fsl_mc.c vfio_fsl_mc_init_dev() -> vfio_assign_device_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.done | 0 |
| PARAM_VALUE | 0 | device->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | device->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | device->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->index | 0-s32max |
| PARAM_VALUE | 0 | device->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | device->inode->i_flags | 0,512-u32max |
| PARAM_VALUE | 0 | device->inode->i_ino | 1-u32max |
| PARAM_VALUE | 0 | device->inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | device->inode->i_mapping->a_ops | 9190924229941444608 |
| PARAM_VALUE | 0 | device->inode->i_mapping->a_ops->dirty_folio | 6238236541637095424 |
| PARAM_VALUE | 0 | device->inode->i_mode | 384 |
| PARAM_VALUE | 0 | device->inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | device->inode->i_state.__state | 112 |
| PARAM_VALUE | 0 | device->ops | 4096-ptr_max |
| BUF_SIZE | 0 | device | 2440,2464,2488,2536,3208,3384,3392,3432,3464,3584,3592,3648,4024,5704,2110616 |
| BUF_SIZE | 0 | device | 2440,2464,2488,2536,3208,3384,3392,3432,3464,3584,3592,3648,4024,5704,2110616 |
| CAPPED_DATA | 0 | device->inode->i_sb->s_time_max | 1 |
| DATA_SOURCE | 0 | device | $0 |
| BIT_INFO | 0 | device->ops | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | set_id | unit_byte |