Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
- drivers/vfio/pci/ism/main.c, line 332
- drivers/vfio/pci/mlx5/main.c, line 1383
- drivers/vfio/pci/nvgrace-gpu/main.c
- drivers/vfio/pci/pds/vfio_dev.c, line 156
- drivers/vfio/pci/qat/main.c
- drivers/vfio/pci/vfio_pci.c, line 152
- drivers/vfio/pci/vfio_pci_core.c, line 2218
- drivers/vfio/pci/virtio/main.c
- drivers/vfio/pci/xe/main.c, line 519
Smatch caller information:
drivers/vfio/pci/pds/vfio_dev.c pds_vfio_release_device() -> vfio_pci_core_release_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->release | 4096-ptr_max |
| CAPPED_DATA | 0 | core_vdev->dev_set | 1 |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/vfio/pci/virtio/main.c virtiovf_pci_core_release_dev() -> vfio_pci_core_release_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->release | 4096-ptr_max |
| CAPPED_DATA | 0 | core_vdev->dev_set | 1 |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/vfio/pci/mlx5/main.c mlx5vf_pci_release_dev() -> vfio_pci_core_release_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->release | 4096-ptr_max |
| CAPPED_DATA | 0 | core_vdev->dev_set | 1 |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/vfio/pci/xe/main.c xe_vfio_pci_release_dev() -> vfio_pci_core_release_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->release | 4096-ptr_max |
| CAPPED_DATA | 0 | core_vdev->dev_set | 1 |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/vfio/pci/qat/main.c qat_vf_pci_init_dev() -> vfio_pci_core_release_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->comp.done | 0 |
| PARAM_VALUE | 0 | core_vdev->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | core_vdev->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | core_vdev->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | core_vdev->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->index | 0-s32max |
| PARAM_VALUE | 0 | core_vdev->inode | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->inode->i_flags | 0,512-u32max |
| PARAM_VALUE | 0 | core_vdev->inode->i_ino | 1-u32max |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops | 9190924229941444608 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->bmap | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->direct_IO | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->dirty_folio | 6238236541637095424 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->error_remove_folio | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->free_folio | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->invalidate_folio | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->is_dirty_writeback | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->is_partially_uptodate | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->launder_folio | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->migrate_folio | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->read_folio | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->readahead | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->release_folio | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->swap_activate | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->swap_deactivate | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->swap_rw | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->write_begin | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->write_end | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mapping->a_ops->writepages | 0 |
| PARAM_VALUE | 0 | core_vdev->inode->i_mode | 384 |
| PARAM_VALUE | 0 | core_vdev->inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->inode->i_state.__state | 112 |
| PARAM_VALUE | 0 | core_vdev->mig_ops | 1531267796377374720 |
| PARAM_VALUE | 0 | core_vdev->migration_flags | 7 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| BUF_SIZE | 0 | core_vdev | 2440,2464,2488,2536,3208,3384,3392,3432,3464,3584,3592,3648,4024,5704,2110616 |
| BUF_SIZE | 0 | core_vdev | 2440,2464,2488,2536,3208,3384,3392,3432,3464,3584,3592,3648,4024,5704,2110616 |
| BUF_SIZE | 0 | core_vdev->mig_ops | 24 |
| CAPPED_DATA | 0 | core_vdev->inode->i_sb->s_time_max | 1 |
| DATA_SOURCE | 0 | core_vdev | $0 |
| BIT_INFO | 0 | core_vdev->ops | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/vfio/pci/qat/main.c qat_vf_pci_release_dev() -> vfio_pci_core_release_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->release | 4096-ptr_max |
| CAPPED_DATA | 0 | core_vdev->dev_set | 1 |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/vfio/vfio_main.c vfio_device_release() -> (struct vfio_device_ops)->release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set | 0,4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | core_vdev->dev_set->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->release | 4096-ptr_max |
| CAPPED_DATA | 0 | core_vdev->dev_set | 1 |
| CONTAINER | 0 | -16-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |