Lines Matching full:mappings
71 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
355 next = interval_tree_iter_first(&vdomain->mappings, iova, last); in viommu_del_mappings()
371 interval_tree_remove(node, &vdomain->mappings); in viommu_del_mappings()
383 * mappings were deleted from the device. Re-create the mappings available in
395 node = interval_tree_iter_first(&vdomain->mappings, 0, -1UL); in viommu_replay_mappings()
599 vdomain->mappings = RB_ROOT_CACHED; in viommu_domain_alloc()
648 /* Free all remaining mappings (size 2^64) */ in viommu_domain_free()
685 * old domain isn't attached to any endpoint, all mappings are removed in viommu_attach_dev()
688 * In the driver the old domain still exists, and its mappings will be in viommu_attach_dev()
713 * Replay existing mappings (e.g. SW MSI). in viommu_attach_dev()
776 /* Device already removed all mappings after detach. */ in viommu_unmap()
801 node = interval_tree_iter_first(&vdomain->mappings, iova, iova); in viommu_iova_to_phys()