Home
last modified time | relevance | path

Searched refs:domids (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/x86/iommu/
H A Dintel_drv.c282 if (unit->domids != NULL) { in dmar_release_resources()
283 delete_unrhdr(unit->domids); in dmar_release_resources()
284 unit->domids = NULL; in dmar_release_resources()
442 unit->domids = new_unrhdr(0, dmar_nd2mask(DMAR_CAP_ND(unit->hw_cap)), in dmar_attach()
454 alloc_unr_specific(unit->domids, 0); in dmar_attach()
H A Damd_ctx.c176 free_unr(unit->domids, domain->domain); in amdiommu_domain_destroy()
239 id = alloc_unr(unit->domids); in amdiommu_domain_alloc()
H A Damd_iommu.h86 struct unrhdr *domids; member
H A Dintel_ctx.c370 id = alloc_unr(dmar->domids); in dmar_domain_alloc()
496 free_unr(dmar->domids, domain->domain); in dmar_domain_destroy()
H A Dintel_dmar.h126 struct unrhdr *domids; member
H A Damd_drv.c476 sc->domids = new_unrhdr(0, 0xffff, &sc->iommu.lock); in amdiommu_attach()
576 delete_unrhdr(sc->domids); in amdiommu_attach()