Home
last modified time | relevance | path

Searched refs:ctx_obj (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/x86/iommu/
H A Dintel_utils.c412 VM_OBJECT_RLOCK(unit->ctx_obj); in dmar_load_root_entry_ptr()
413 root_entry = vm_page_lookup(unit->ctx_obj, 0); in dmar_load_root_entry_ptr()
414 VM_OBJECT_RUNLOCK(unit->ctx_obj); in dmar_load_root_entry_ptr()
H A Dintel_drv.c269 if (unit->ctx_obj != NULL) { in dmar_release_resources()
270 vm_object_deallocate(unit->ctx_obj); in dmar_release_resources()
271 unit->ctx_obj = NULL; in dmar_release_resources()
485 unit->ctx_obj = vm_pager_allocate(OBJT_PHYS, NULL, IDX_TO_OFF(1 + in dmar_attach()
493 dmar_pgalloc(unit->ctx_obj, 0, IOMMU_PGF_WAITOK | IOMMU_PGF_ZERO); in dmar_attach()
H A Dintel_ctx.c91 ctxm = dmar_pgalloc(dmar->ctx_obj, 1 + bus, IOMMU_PGF_NOALLOC); in dmar_ensure_ctx_page()
102 ctxm = dmar_pgalloc(dmar->ctx_obj, 1 + bus, IOMMU_PGF_ZERO | in dmar_ensure_ctx_page()
104 re = dmar_map_pgtbl(dmar->ctx_obj, 0, IOMMU_PGF_NOALLOC, &sf); in dmar_ensure_ctx_page()
121 ctxp = dmar_map_pgtbl(dmar->ctx_obj, 1 + PCI_RID2BUS(ctx->context.rid), in dmar_map_ctx_entry()
H A Dintel_dmar.h148 vm_object_t ctx_obj; member