Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_core.c693 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()
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()
1478 if (!vdev->vf_token) in vfio_pci_core_feature_token()
1492 mutex_lock(&vdev->vf_token->lock); in vfio_pci_core_feature_token()
1493 uuid_copy(&vdev->vf_token->uuid, &uuid); in vfio_pci_core_feature_token()
[all …]
/linux-6.6.21/include/linux/
Dvfio_pci_core.h92 struct vfio_pci_vf_token *vf_token; member