Searched refs:iopt_area (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | io_pagetable.h | 39 struct iopt_area { struct 68 void iopt_area_unmap_domain(struct iopt_area *area, 71 static inline unsigned long iopt_area_index(struct iopt_area *area) in iopt_area_index() 76 static inline unsigned long iopt_area_last_index(struct iopt_area *area) in iopt_area_last_index() 81 static inline unsigned long iopt_area_iova(struct iopt_area *area) in iopt_area_iova() 86 static inline unsigned long iopt_area_last_iova(struct iopt_area *area) in iopt_area_last_iova() 91 static inline size_t iopt_area_length(struct iopt_area *area) in iopt_area_length() 101 static inline unsigned long iopt_area_start_byte(struct iopt_area *area, in iopt_area_start_byte() 111 static inline unsigned long iopt_area_iova_to_index(struct iopt_area *area, in iopt_area_iova_to_index() 150 struct iopt_area *area; [all …]
|
H A D | io_pagetable.c | 24 struct iopt_area *area; 234 struct iopt_area *area; in iopt_area_alloc() 440 struct iopt_area *area; in iopt_get_pages() 479 struct iopt_area *area; in iopt_unmap_iova_range() 707 struct iopt_area *area; in iopt_unfill_domain() 767 struct iopt_area *end_area; in iopt_fill_domain() 768 struct iopt_area *area; in iopt_fill_domain() 824 struct iopt_area *area; in iopt_check_iova_alignment() 1012 struct iopt_area *lhs; in iopt_area_split() 1013 struct iopt_area *rhs; in iopt_area_split() [all …]
|
H A D | pages.c | 197 static unsigned long iopt_area_index_to_iova(struct iopt_area *area, in iopt_area_index_to_iova() 237 static void iopt_area_unmap_domain_range(struct iopt_area *area, in iopt_area_unmap_domain_range() 257 return container_of(node, struct iopt_area, pages_node); in iopt_pages_find_domain_area() 377 struct iopt_area *area, unsigned long start_index, in batch_from_domain() 403 struct iopt_area *area, in raw_pages_from_domain() 428 struct iopt_area *area, in batch_from_domain_continue() 476 struct iopt_area *area, unsigned long start_index) in batch_to_domain() 980 struct iopt_area *area; in pfn_reader_fill_span() 1257 static void __iopt_area_unfill_domain(struct iopt_area *area, in __iopt_area_unfill_domain() 1309 static void iopt_area_unfill_partial_domain(struct iopt_area *area, in iopt_area_unfill_partial_domain() [all …]
|
H A D | device.c | 915 struct iopt_area *area; in iommufd_access_unpin_pages() 957 static bool check_area_prot(struct iopt_area *area, unsigned int flags) in check_area_prot() 990 struct iopt_area *area; in iommufd_access_pin_pages() 1077 struct iopt_area *area; in iommufd_access_rw()
|
H A D | selftest.c | 56 struct iopt_area *area; in __iommufd_test_syz_conv_iova()
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | iommufd.rst | 146 - struct iopt_area's representing populated portions of IOVA 164 Multiple io_pagetable-s, through their iopt_area-s, can share a single
|