DELTA 363929 112 106 SVN s q q void iommu_domain_init(struct iommu_unit *unit, struct iommu_domain *domain, const struct iommu_domain_map_ops *ops) { domain->ops = ops; domain->iommu = unit; RB_INIT(&domain->rb_root); TAILQ_INIT(&domain->unload_entries); mtx_init(&domain->lock, "iodom", NULL, MTX_DEF); } void iommu_domain_fini(struct iommu_domain *domain) { mtx_destroy(&domain->lockENDREP DELTA 363747 0 330 SVNK . @,_=,void iommu_domain_init(struct iommu_unit *unit, struct iommu_domain *domain, const struct iommu_domain_map_ops *ops); void iommu_domain_fini(struct iommu_domain *domainENDREP DELTA 363864 0 508 SVNZ#&b%Wwk0InTDS$6`iommu_unit *unitunit = DMAR2IOMMU(dmar); domain->domain = id; LIST_INIT(&domain->contexts); TASK_INIT(&domain->iodom.unload_task, 0, dmar_domain_unload_task, domain); iommu_domain_init(unit, iodom, &dmar_domain_map_ops); domain->dmar = dmariommu_domain *iodom; struct dmar_unit *dmar; iodom = DOM2IODOM(domain)iodomiommu_domain_fini(iodomENDREP DELTA 363864 536 527 SVNnx = /?