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 340
- drivers/vfio/pci/mlx5/main.c, line 1346
- drivers/vfio/pci/nvgrace-gpu/main.c
- drivers/vfio/pci/pds/vfio_dev.c, line 188
- drivers/vfio/pci/qat/main.c, line 113
- drivers/vfio/pci/vfio_pci.c, line 154
- drivers/vfio/pci/vfio_pci_core.c, line 841
- drivers/vfio/pci/virtio/main.c
- drivers/vfio/pci/xe/main.c, line 172
Smatch caller information:
drivers/vfio/pci/pds/vfio_dev.c pds_vfio_close_device() -> vfio_pci_core_close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/virtio/main.c virtiovf_pci_close_device() -> vfio_pci_core_close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/mlx5/main.c mlx5vf_pci_close_device() -> vfio_pci_core_close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/xe/main.c xe_vfio_pci_close_device() -> vfio_pci_core_close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/qat/main.c qat_vf_pci_close_device() -> vfio_pci_core_close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c hisi_acc_vfio_pci_close_device() -> vfio_pci_core_close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/nvgrace-gpu/main.c nvgrace_gpu_close_device() -> vfio_pci_core_close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| DATA_SOURCE | 0 | core_vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/vfio_main.c vfio_df_device_last_close() -> (struct vfio_device_ops)->close_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | core_vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->open_count | 1 |
| PARAM_VALUE | 0 | core_vdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | core_vdev->ops->close_device | 4096-ptr_max |
| CONTAINER | 0 | -80-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |