Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_core.c692 if (vdev->sriov_pf_core_dev) { in vfio_pci_core_close_device()
693 mutex_lock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_close_device()
694 WARN_ON(!vdev->sriov_pf_core_dev->vf_token->users); in vfio_pci_core_close_device()
695 vdev->sriov_pf_core_dev->vf_token->users--; in vfio_pci_core_close_device()
696 mutex_unlock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_close_device()
723 if (vdev->sriov_pf_core_dev) { in vfio_pci_core_finish_enable()
724 mutex_lock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_finish_enable()
725 vdev->sriov_pf_core_dev->vf_token->users++; in vfio_pci_core_finish_enable()
726 mutex_unlock(&vdev->sriov_pf_core_dev->vf_token->lock); in vfio_pci_core_finish_enable()
1925 struct vfio_pci_core_device *pf_vdev = vdev->sriov_pf_core_dev; in vfio_pci_validate_vf_token()
[all …]
/linux-6.6.21/include/linux/
Dvfio_pci_core.h94 struct vfio_pci_core_device *sriov_pf_core_dev; member