Lines Matching full:mappings
71 struct rb_root_cached mappings; member
330 interval_tree_insert(&mapping->iova, &vdomain->mappings); in viommu_add_mapping()
337 * viommu_del_mappings - remove mappings from the internal tree
356 next = interval_tree_iter_first(&vdomain->mappings, iova, last); in viommu_del_mappings()
372 interval_tree_remove(node, &vdomain->mappings); in viommu_del_mappings()
384 * mappings were deleted from the device. Re-create the mappings available in
396 node = interval_tree_iter_first(&vdomain->mappings, 0, -1UL); in viommu_replay_mappings()
600 vdomain->mappings = RB_ROOT_CACHED; in viommu_domain_alloc()
637 /* Free all remaining mappings (size 2^64) */ in viommu_domain_free()
674 * old domain isn't attached to any endpoint, all mappings are removed in viommu_attach_dev()
677 * In the driver the old domain still exists, and its mappings will be in viommu_attach_dev()
702 * Replay existing mappings (e.g. SW MSI). in viommu_attach_dev()
765 /* Device already removed all mappings after detach. */ in viommu_unmap()
790 node = interval_tree_iter_first(&vdomain->mappings, iova, iova); in viommu_iova_to_phys()