Searched refs:DOM2IODOM (Results 1 – 7 of 7) sorted by relevance
153 iodom = DOM2IODOM(domain); in amdiommu_domain_destroy()200 end = DOM2IODOM(domain)->end; in amdiommu_domain_init_pglvl()243 iodom = DOM2IODOM(domain); in amdiommu_domain_alloc()252 iommu_gas_init_domain(DOM2IODOM(domain)); in amdiommu_domain_alloc()280 ctx->context.domain = DOM2IODOM(domain); in amdiommu_ctx_alloc()463 if ((DOM2IODOM(domain)->flags & IOMMU_DOMAIN_IDMAP) != 0) { in dte_entry_init_one()
346 KASSERT(base < DOM2IODOM(domain)->end, in amdiommu_unmap_buf_locked()348 (uintmax_t)size, (uintmax_t)DOM2IODOM(domain)->end)); in amdiommu_unmap_buf_locked()349 KASSERT(base + size < DOM2IODOM(domain)->end, in amdiommu_unmap_buf_locked()351 (uintmax_t)size, (uintmax_t)DOM2IODOM(domain)->end)); in amdiommu_unmap_buf_locked()
267 error1 = iommu_gas_map_region(DOM2IODOM(domain), entry, in domain_init_rmrr()319 iodom = DOM2IODOM(domain); in dmar_reserve_pci_regions()374 iodom = DOM2IODOM(domain); in dmar_domain_alloc()397 iommu_gas_init_domain(DOM2IODOM(domain)); in dmar_domain_alloc()428 ctx->context.domain = DOM2IODOM(domain); in dmar_ctx_alloc()474 iodom = DOM2IODOM(domain); in dmar_domain_destroy()
118 #define DOM2IODOM(domain) (&((domain)->iodom)) macro
91 #define DOM2IODOM(domain) (&((domain)->iodom)) macro
927 entry = iommu_gas_alloc_entry(DOM2IODOM(ria->domain), in dmar_rmrr_iter()1107 iodom = DOM2IODOM(domain); in dmar_print_domain()
1110 iodom = DOM2IODOM(domain); in amdiommu_print_domain()