Lines Matching refs:pf_dev
523 struct vfio_device **pf_dev) in get_pf_vdev() argument
530 *pf_dev = vfio_device_get_from_dev(&physfn->dev); in get_pf_vdev()
531 if (!*pf_dev) in get_pf_vdev()
535 vfio_device_put(*pf_dev); in get_pf_vdev()
539 return vfio_device_data(*pf_dev); in get_pf_vdev()
544 struct vfio_device *pf_dev; in vfio_pci_vf_token_user_add() local
545 struct vfio_pci_device *pf_vdev = get_pf_vdev(vdev, &pf_dev); in vfio_pci_vf_token_user_add()
555 vfio_device_put(pf_dev); in vfio_pci_vf_token_user_add()
1774 struct vfio_device *pf_dev; in vfio_pci_validate_vf_token() local
1775 struct vfio_pci_device *pf_vdev = get_pf_vdev(vdev, &pf_dev); in vfio_pci_validate_vf_token()
1788 vfio_device_put(pf_dev); in vfio_pci_validate_vf_token()
1798 vfio_device_put(pf_dev); in vfio_pci_validate_vf_token()