Searched refs:virtvdev (Results 1 – 1 of 1) sorted by relevance
33 virtiovf_issue_legacy_rw_cmd(struct virtiovf_pci_core_device *virtvdev, in virtiovf_issue_legacy_rw_cmd() argument38 (virtvdev->core_device.irq_type == VFIO_PCI_MSIX_IRQ_INDEX); in virtiovf_issue_legacy_rw_cmd()39 struct pci_dev *pdev = virtvdev->core_device.pdev; in virtiovf_issue_legacy_rw_cmd()40 u8 *bar0_buf = virtvdev->bar0_virtual_buf; in virtiovf_issue_legacy_rw_cmd()48 mutex_lock(&virtvdev->bar_mutex); in virtiovf_issue_legacy_rw_cmd()74 mutex_unlock(&virtvdev->bar_mutex); in virtiovf_issue_legacy_rw_cmd()79 virtiovf_pci_bar0_rw(struct virtiovf_pci_core_device *virtvdev, in virtiovf_pci_bar0_rw() argument83 struct vfio_pci_core_device *core_device = &virtvdev->core_device; in virtiovf_pci_bar0_rw()88 if (!(le16_to_cpu(virtvdev->pci_cmd) & PCI_COMMAND_IO)) in virtiovf_pci_bar0_rw()91 if (pos + count > virtvdev->bar0_virtual_buf_size) in virtiovf_pci_bar0_rw()[all …]