Lines Matching defs:iopt
31 struct io_pagetable *iopt, in iopt_area_contig_init()
108 static int iopt_alloc_iova(struct io_pagetable *iopt, unsigned long *iova, in iopt_alloc_iova()
171 static int iopt_check_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_check_iova()
197 static int iopt_insert_area(struct io_pagetable *iopt, struct iopt_area *area, in iopt_insert_area()
244 static int iopt_alloc_area_pages(struct io_pagetable *iopt, in iopt_alloc_area_pages()
352 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages()
405 int iopt_map_user_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, in iopt_map_user_pages()
435 int iopt_get_pages(struct io_pagetable *iopt, unsigned long iova, in iopt_get_pages()
476 static int iopt_unmap_iova_range(struct io_pagetable *iopt, unsigned long start, in iopt_unmap_iova_range()
565 int iopt_unmap_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_unmap_iova()
579 int iopt_unmap_all(struct io_pagetable *iopt, unsigned long *unmapped) in iopt_unmap_all()
591 int iopt_set_allow_iova(struct io_pagetable *iopt, in iopt_set_allow_iova()
612 int iopt_reserve_iova(struct io_pagetable *iopt, unsigned long start, in iopt_reserve_iova()
633 static void __iopt_remove_reserved_iova(struct io_pagetable *iopt, void *owner) in __iopt_remove_reserved_iova()
651 void iopt_remove_reserved_iova(struct io_pagetable *iopt, void *owner) in iopt_remove_reserved_iova()
658 void iopt_init_table(struct io_pagetable *iopt) in iopt_init_table()
676 void iopt_destroy_table(struct io_pagetable *iopt) in iopt_destroy_table()
704 static void iopt_unfill_domain(struct io_pagetable *iopt, in iopt_unfill_domain()
764 static int iopt_fill_domain(struct io_pagetable *iopt, in iopt_fill_domain()
820 static int iopt_check_iova_alignment(struct io_pagetable *iopt, in iopt_check_iova_alignment()
848 int iopt_table_add_domain(struct io_pagetable *iopt, in iopt_table_add_domain()
926 static int iopt_calculate_iova_alignment(struct io_pagetable *iopt) in iopt_calculate_iova_alignment()
962 void iopt_table_remove_domain(struct io_pagetable *iopt, in iopt_table_remove_domain()
1010 struct io_pagetable *iopt = area->iopt; in iopt_area_split() local
1107 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, in iopt_cut_iova()
1128 void iopt_enable_large_pages(struct io_pagetable *iopt) in iopt_enable_large_pages()
1141 int iopt_disable_large_pages(struct io_pagetable *iopt) in iopt_disable_large_pages()
1167 int iopt_add_access(struct io_pagetable *iopt, struct iommufd_access *access) in iopt_add_access()
1193 void iopt_remove_access(struct io_pagetable *iopt, in iopt_remove_access()
1206 int iopt_table_enforce_dev_resv_regions(struct io_pagetable *iopt, in iopt_table_enforce_dev_resv_regions()