Searched refs:iommu_notifiers (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/system/ |
H A D | physmem.c | 618 for (i = 0; i < cpu->iommu_notifiers->len; i++) { in tcg_register_iommu_notifier() 619 notifier = g_array_index(cpu->iommu_notifiers, TCGIOMMUNotifier *, i); in tcg_register_iommu_notifier() 624 if (i == cpu->iommu_notifiers->len) { in tcg_register_iommu_notifier() 626 cpu->iommu_notifiers = g_array_set_size(cpu->iommu_notifiers, i + 1); in tcg_register_iommu_notifier() 628 g_array_index(cpu->iommu_notifiers, TCGIOMMUNotifier *, i) = notifier; in tcg_register_iommu_notifier() 660 for (i = 0; i < cpu->iommu_notifiers->len; i++) { in tcg_iommu_free_notifier_list() 661 notifier = g_array_index(cpu->iommu_notifiers, TCGIOMMUNotifier *, i); in tcg_iommu_free_notifier_list() 665 g_array_free(cpu->iommu_notifiers, true); in tcg_iommu_free_notifier_list() 670 cpu->iommu_notifiers = g_array_new(false, true, sizeof(TCGIOMMUNotifier *)); in tcg_iommu_init_notifier_list()
|
/openbmc/qemu/include/hw/core/ |
H A D | cpu.h | 572 GArray *iommu_notifiers; member
|