Home
last modified time | relevance | path

Searched refs:sriov_pf_core_dev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c688 if (vdev->sriov_pf_core_dev) { in vfio_pci_core_close_device()
689 mutex_lock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_close_device()
690 WARN_ON(!vdev->sriov_pf_core_dev->vf_token->users); in vfio_pci_core_close_device()
691 vdev->sriov_pf_core_dev->vf_token->users--; in vfio_pci_core_close_device()
692 mutex_unlock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_close_device()
719 if (vdev->sriov_pf_core_dev) { in vfio_pci_core_finish_enable()
720 mutex_lock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_finish_enable()
721 vdev->sriov_pf_core_dev->vf_token->users++; in vfio_pci_core_finish_enable()
722 mutex_unlock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_finish_enable()
1864 struct vfio_pci_core_device *pf_vdev = vdev->sriov_pf_core_dev; in vfio_pci_validate_vf_token()
[all …]
/linux/include/linux/
H A Dvfio_pci_core.h94 struct vfio_pci_core_device *sriov_pf_core_dev; member