Home
last modified time | relevance | path

Searched refs:iommu_notifiers (Results 1 – 2 of 2) sorted by relevance

/qemu/system/
H A Dphysmem.c628 for (i = 0; i < cpu->iommu_notifiers->len; i++) { in tcg_register_iommu_notifier()
629 notifier = g_array_index(cpu->iommu_notifiers, TCGIOMMUNotifier *, i); in tcg_register_iommu_notifier()
634 if (i == cpu->iommu_notifiers->len) { in tcg_register_iommu_notifier()
636 cpu->iommu_notifiers = g_array_set_size(cpu->iommu_notifiers, i + 1); in tcg_register_iommu_notifier()
638 g_array_index(cpu->iommu_notifiers, TCGIOMMUNotifier *, i) = notifier; in tcg_register_iommu_notifier()
670 for (i = 0; i < cpu->iommu_notifiers->len; i++) { in tcg_iommu_free_notifier_list()
671 notifier = g_array_index(cpu->iommu_notifiers, TCGIOMMUNotifier *, i); in tcg_iommu_free_notifier_list()
675 g_array_free(cpu->iommu_notifiers, true); in tcg_iommu_free_notifier_list()
680 cpu->iommu_notifiers = g_array_new(false, true, sizeof(TCGIOMMUNotifier *)); in tcg_iommu_init_notifier_list()
/qemu/include/hw/core/
H A Dcpu.h575 GArray *iommu_notifiers; member