Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci.c548 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() argument
1783 if (!vdev->pdev->is_virtfn && !vdev->vf_token && !vf_token) in vfio_pci_validate_vf_token()
[all …]
Dvfio_pci_private.h140 struct vfio_pci_vf_token *vf_token; member