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()
224 static int iopt_alloc_area_pages(struct io_pagetable *iopt, in iopt_alloc_area_pages()
332 int iopt_map_pages(struct io_pagetable *iopt, struct list_head *pages_list, in iopt_map_pages()
385 int iopt_map_user_pages(struct iommufd_ctx *ictx, struct io_pagetable *iopt, in iopt_map_user_pages()
415 int iopt_get_pages(struct io_pagetable *iopt, unsigned long iova, in iopt_get_pages()
456 static int iopt_unmap_iova_range(struct io_pagetable *iopt, unsigned long start, in iopt_unmap_iova_range()
545 int iopt_unmap_iova(struct io_pagetable *iopt, unsigned long iova, in iopt_unmap_iova()
559 int iopt_unmap_all(struct io_pagetable *iopt, unsigned long *unmapped) in iopt_unmap_all()
571 int iopt_set_allow_iova(struct io_pagetable *iopt, in iopt_set_allow_iova()
592 int iopt_reserve_iova(struct io_pagetable *iopt, unsigned long start, in iopt_reserve_iova()
613 static void __iopt_remove_reserved_iova(struct io_pagetable *iopt, void *owner) in __iopt_remove_reserved_iova()
631 void iopt_remove_reserved_iova(struct io_pagetable *iopt, void *owner) in iopt_remove_reserved_iova()
638 void iopt_init_table(struct io_pagetable *iopt) in iopt_init_table()
656 void iopt_destroy_table(struct io_pagetable *iopt) in iopt_destroy_table()
684 static void iopt_unfill_domain(struct io_pagetable *iopt, in iopt_unfill_domain()
744 static int iopt_fill_domain(struct io_pagetable *iopt, in iopt_fill_domain()
800 static int iopt_check_iova_alignment(struct io_pagetable *iopt, in iopt_check_iova_alignment()
828 int iopt_table_add_domain(struct io_pagetable *iopt, in iopt_table_add_domain()
906 static int iopt_calculate_iova_alignment(struct io_pagetable *iopt) in iopt_calculate_iova_alignment()
942 void iopt_table_remove_domain(struct io_pagetable *iopt, in iopt_table_remove_domain()
990 struct io_pagetable *iopt = area->iopt; in iopt_area_split() local
1077 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, in iopt_cut_iova()
1098 void iopt_enable_large_pages(struct io_pagetable *iopt) in iopt_enable_large_pages()
1111 int iopt_disable_large_pages(struct io_pagetable *iopt) in iopt_disable_large_pages()
1137 int iopt_add_access(struct io_pagetable *iopt, struct iommufd_access *access) in iopt_add_access()
1160 void iopt_remove_access(struct io_pagetable *iopt, in iopt_remove_access()
1173 int iopt_table_enforce_dev_resv_regions(struct io_pagetable *iopt, in iopt_table_enforce_dev_resv_regions()