Lines Matching refs:domctl

1564     struct xen_domctl *domctl, struct domain *d,  in iommu_do_pci_domctl()  argument
1572 switch ( domctl->cmd ) in iommu_do_pci_domctl()
1581 ret = xsm_get_device_group(XSM_HOOK, domctl->u.get_device_group.machine_sbdf); in iommu_do_pci_domctl()
1585 seg = domctl->u.get_device_group.machine_sbdf >> 16; in iommu_do_pci_domctl()
1586 bus = PCI_BUS(domctl->u.get_device_group.machine_sbdf); in iommu_do_pci_domctl()
1587 devfn = PCI_DEVFN2(domctl->u.get_device_group.machine_sbdf); in iommu_do_pci_domctl()
1588 max_sdevs = domctl->u.get_device_group.max_sdevs; in iommu_do_pci_domctl()
1589 sdevs = domctl->u.get_device_group.sdev_array; in iommu_do_pci_domctl()
1596 domctl->u.get_device_group.num_sdevs = 0; in iommu_do_pci_domctl()
1600 domctl->u.get_device_group.num_sdevs = ret; in iommu_do_pci_domctl()
1603 if ( __copy_field_to_guest(u_domctl, domctl, u.get_device_group) ) in iommu_do_pci_domctl()
1620 if ( domctl->u.assign_device.dev != XEN_DOMCTL_DEV_PCI ) in iommu_do_pci_domctl()
1624 flags = domctl->u.assign_device.flags; in iommu_do_pci_domctl()
1625 if ( domctl->cmd == XEN_DOMCTL_assign_device in iommu_do_pci_domctl()
1630 machine_sbdf = domctl->u.assign_device.u.pci.machine_sbdf; in iommu_do_pci_domctl()
1641 if ( domctl->cmd == XEN_DOMCTL_test_assign_device ) in iommu_do_pci_domctl()
1674 if ( domctl->u.assign_device.dev != XEN_DOMCTL_DEV_PCI ) in iommu_do_pci_domctl()
1678 if ( domctl->u.assign_device.flags ) in iommu_do_pci_domctl()
1681 machine_sbdf = domctl->u.assign_device.u.pci.machine_sbdf; in iommu_do_pci_domctl()