Lines Matching full:mappings
70 struct rb_root_cached mappings; member
329 interval_tree_insert(&mapping->iova, &vdomain->mappings); in viommu_add_mapping()
336 * viommu_del_mappings - remove mappings from the internal tree
353 next = interval_tree_iter_first(&vdomain->mappings, iova, end); in viommu_del_mappings()
369 interval_tree_remove(node, &vdomain->mappings); in viommu_del_mappings()
378 * Fill the domain with identity mappings, skipping the device's reserved
430 * mappings were deleted from the device. Re-create the mappings available in
442 node = interval_tree_iter_first(&vdomain->mappings, 0, -1UL); in viommu_replay_mappings()
655 vdomain->mappings = RB_ROOT_CACHED; in viommu_domain_alloc()
711 /* Free all remaining mappings */ in viommu_domain_free()
748 * old domain isn't attached to any endpoint, all mappings are removed in viommu_attach_dev()
751 * In the driver the old domain still exists, and its mappings will be in viommu_attach_dev()
779 * Replay existing mappings (e.g. SW MSI). in viommu_attach_dev()
849 /* Device already removed all mappings after detach. */ in viommu_unmap_pages()
874 node = interval_tree_iter_first(&vdomain->mappings, iova, iova); in viommu_iova_to_phys()