Searched refs:vf_token (Results 1 – 2 of 2) sorted by relevance
548 mutex_lock(&pf_vdev->vf_token->lock); in vfio_pci_vf_token_user_add()549 pf_vdev->vf_token->users += val; in vfio_pci_vf_token_user_add()550 WARN_ON(pf_vdev->vf_token->users < 0); in vfio_pci_vf_token_user_add()551 mutex_unlock(&pf_vdev->vf_token->lock); in vfio_pci_vf_token_user_add()1370 if (!vdev->vf_token) in vfio_pci_ioctl()1394 mutex_lock(&vdev->vf_token->lock); in vfio_pci_ioctl()1395 uuid_copy(&vdev->vf_token->uuid, &uuid); in vfio_pci_ioctl()1396 mutex_unlock(&vdev->vf_token->lock); in vfio_pci_ioctl()1756 bool vf_token, uuid_t *uuid) in vfio_pci_validate_vf_token() argument1783 if (!vdev->pdev->is_virtfn && !vdev->vf_token && !vf_token) in vfio_pci_validate_vf_token()[all …]
140 struct vfio_pci_vf_token *vf_token; member