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, line 1520
- drivers/vfio/pci/ism/main.c, line 60
- drivers/vfio/pci/mlx5/main.c, line 1330
- drivers/vfio/pci/nvgrace-gpu/main.c, line 184
- drivers/vfio/pci/pds/vfio_dev.c, line 166
- drivers/vfio/pci/qat/main.c, line 66
- drivers/vfio/pci/vfio_pci.c, line 110
- drivers/vfio/pci/vfio_pci_core.c, line 681
- drivers/vfio/pci/virtio/main.c, line 28
- drivers/vfio/pci/xe/main.c, line 153
Smatch caller information:
drivers/vfio/pci/pds/vfio_dev.c pds_vfio_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| 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_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| BUF_SIZE | 0 | vdev | 3208 |
| 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_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| BUF_SIZE | 0 | vdev | 3208 |
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/vfio_pci.c vfio_pci_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| 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_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| BUF_SIZE | 0 | vdev | 3208 |
| 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_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| BUF_SIZE | 0 | vdev | 3208 |
| 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_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| BUF_SIZE | 0 | vdev | 3208 |
| 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_open_device() -> vfio_pci_core_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |