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()
163 static int iopt_check_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_check_iova()
189 static int iopt_insert_area(struct io_pagetable *iopt, struct iopt_area *area, in iopt_insert_area()
236 static int iopt_alloc_area_pages(struct io_pagetable *iopt, in iopt_alloc_area_pages()
344 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages()
397 int iopt_map_user_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, in iopt_map_user_pages()
427 int iopt_get_pages(struct io_pagetable *iopt, unsigned long iova, in iopt_get_pages()
468 static int iopt_unmap_iova_range(struct io_pagetable *iopt, unsigned long start, in iopt_unmap_iova_range()
557 int iopt_unmap_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_unmap_iova()
571 int iopt_unmap_all(struct io_pagetable *iopt, unsigned long *unmapped) in iopt_unmap_all()
583 int iopt_set_allow_iova(struct io_pagetable *iopt, in iopt_set_allow_iova()
604 int iopt_reserve_iova(struct io_pagetable *iopt, unsigned long start, in iopt_reserve_iova()
625 static void __iopt_remove_reserved_iova(struct io_pagetable *iopt, void *owner) in __iopt_remove_reserved_iova()
643 void iopt_remove_reserved_iova(struct io_pagetable *iopt, void *owner) in iopt_remove_reserved_iova()
650 void iopt_init_table(struct io_pagetable *iopt) in iopt_init_table()
668 void iopt_destroy_table(struct io_pagetable *iopt) in iopt_destroy_table()
696 static void iopt_unfill_domain(struct io_pagetable *iopt, in iopt_unfill_domain()
756 static int iopt_fill_domain(struct io_pagetable *iopt, in iopt_fill_domain()
812 static int iopt_check_iova_alignment(struct io_pagetable *iopt, in iopt_check_iova_alignment()
840 int iopt_table_add_domain(struct io_pagetable *iopt, in iopt_table_add_domain()
918 static int iopt_calculate_iova_alignment(struct io_pagetable *iopt) in iopt_calculate_iova_alignment()
954 void iopt_table_remove_domain(struct io_pagetable *iopt, in iopt_table_remove_domain()
1002 struct io_pagetable *iopt = area->iopt; in iopt_area_split() local
1099 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, in iopt_cut_iova()
1120 void iopt_enable_large_pages(struct io_pagetable *iopt) in iopt_enable_large_pages()
1133 int iopt_disable_large_pages(struct io_pagetable *iopt) in iopt_disable_large_pages()
1159 int iopt_add_access(struct io_pagetable *iopt, struct iommufd_access *access) in iopt_add_access()
1185 void iopt_remove_access(struct io_pagetable *iopt, in iopt_remove_access()
1198 int iopt_table_enforce_dev_resv_regions(struct io_pagetable *iopt, in iopt_table_enforce_dev_resv_regions()