Searched refs:vf_token (Results 1 – 4 of 4) sorted by relevance
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()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()1498 if (!vdev->vf_token) in vfio_pci_core_feature_token()1512 mutex_lock(&vdev->vf_token->lock); in vfio_pci_core_feature_token()1513 uuid_copy(&vdev->vf_token->uuid, &uuid); in vfio_pci_core_feature_token()[all …]
92 struct vfio_pci_vf_token *vf_token; member
141 QemuUUID vf_token; member
3007 if (!qemu_uuid_is_null(&vdev->vf_token)) { in vfio_realize()3008 qemu_uuid_unparse(&vdev->vf_token, uuid); in vfio_realize()3359 DEFINE_PROP_UUID_NODEFAULT("vf-token", VFIOPCIDevice, vf_token),