Searched refs:need_iommu (Results 1 – 21 of 21) sorted by relevance
178 d->need_iommu = !!iommu_dom0_strict; in iommu_hwdom_init()179 if ( need_iommu(d) && !iommu_use_hap_pt(d) ) in iommu_hwdom_init()217 d->need_iommu = 0; in iommu_teardown()224 if ( need_iommu(d) > 0 ) in iommu_construct()236 d->need_iommu = 1; in iommu_construct()496 if ( is_hardware_domain(d) || need_iommu(d) <= 0 ) in iommu_dump_p2m_table()
43 if ( need_iommu(d) <= 0 ) in iommu_assign_dt_device()
1388 if ( unlikely(!need_iommu(d) && in assign_device()1432 if ( !has_arch_pdevs(d) && need_iommu(d) ) in assign_device()1482 if ( !has_arch_pdevs(d) && need_iommu(d) ) in deassign_device()
72 (is_domain_direct_mapped(d) && need_iommu(d))
369 s8 need_iommu; member890 #define need_iommu(d) ((d)->need_iommu) macro892 #define need_iommu(d) (0) macro
98 (!paging_mode_translate(d) && need_iommu(d))
48 d->need_iommu = -1; in arch_iommu_populate_page_table()
753 if ( need_iommu(d) && d->vcpu && d->vcpu[0] ) in memory_type_changed()801 if ( !need_iommu(d) && !cache_flush_permitted(d) ) in epte_get_entry_emt()
721 if ( need_iommu(p2m->domain) ) in p2m_remove_page()780 if ( need_iommu(d) && t == p2m_ram_rw ) in guest_physmap_add_entry()1165 if ( !need_iommu(d) ) in set_identity_p2m_entry()1255 if ( !need_iommu(d) ) in clear_identity_p2m_entry()2076 if ( !need_iommu(d) || !iommu_use_hap_pt(d) || in mmio_order()
222 if ( need_iommu(d) && log_global ) in paging_log_dirty_enable()
686 if ( iommu_enabled && need_iommu(p2m->domain) && in p2m_pt_set_entry()
866 if ( rc == 0 && p2m_is_hostp2m(p2m) && need_iommu(d) && in ept_set_entry()
1618 if ( unlikely(need_iommu(d) && mec->u.enable) ) in mem_sharing_domctl()
647 if ( unlikely(need_iommu(d)) ) in vm_event_domctl()
773 if ( need_iommu(d) ) in xenmem_add_to_physmap()796 if ( need_iommu(d) ) in xenmem_add_to_physmap()
886 bool_t need_iommu; in map_grant_ref() local1096 need_iommu = gnttab_need_iommu_mapping(ld); in map_grant_ref()1097 if ( need_iommu ) in map_grant_ref()1143 if ( need_iommu ) in map_grant_ref()
259 if ( !iommu_passthrough && !need_iommu(d) ) in amd_iommu_hwdom_init()
964 if ( need_iommu(p2m->domain) && in __p2m_set_entry()
1429 if ( iommu_enabled && !iommu_passthrough && !need_iommu(hardware_domain) ) in memory_add()
1301 if ( !iommu_passthrough && !need_iommu(d) ) in intel_iommu_hwdom_init()
2654 if ( d && is_pv_domain(d) && unlikely(need_iommu(d)) ) in __get_page_type()
Completed in 54 milliseconds