Lines Matching refs:pf_dev
521 struct vfio_device **pf_dev) in get_pf_vdev() argument
528 *pf_dev = vfio_device_get_from_dev(&physfn->dev); in get_pf_vdev()
529 if (!*pf_dev) in get_pf_vdev()
533 vfio_device_put(*pf_dev); in get_pf_vdev()
537 return vfio_device_data(*pf_dev); in get_pf_vdev()
542 struct vfio_device *pf_dev; in vfio_pci_vf_token_user_add() local
543 struct vfio_pci_device *pf_vdev = get_pf_vdev(vdev, &pf_dev); in vfio_pci_vf_token_user_add()
553 vfio_device_put(pf_dev); in vfio_pci_vf_token_user_add()
1787 struct vfio_device *pf_dev; in vfio_pci_validate_vf_token() local
1788 struct vfio_pci_device *pf_vdev = get_pf_vdev(vdev, &pf_dev); in vfio_pci_validate_vf_token()
1801 vfio_device_put(pf_dev); in vfio_pci_validate_vf_token()
1811 vfio_device_put(pf_dev); in vfio_pci_validate_vf_token()