Home
last modified time | relevance | path

Searched refs:pages_node (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/iommu/iommufd/
Dio_pagetable.h41 struct interval_tree_node pages_node; member
73 return area->pages_node.start; in iopt_area_index()
78 return area->pages_node.last; in iopt_area_last_index()
Dio_pagetable.c217 area->pages_node.start = start_byte / PAGE_SIZE; in iopt_insert_area()
218 if (check_add_overflow(start_byte, length - 1, &area->pages_node.last)) in iopt_insert_area()
220 area->pages_node.last = area->pages_node.last / PAGE_SIZE; in iopt_insert_area()
221 if (WARN_ON(area->pages_node.last >= pages->npages)) in iopt_insert_area()
241 RB_CLEAR_NODE(&area->pages_node.rb); in iopt_area_alloc()
920 interval_tree_remove(&area->pages_node, &pages->domains_itree); in iopt_unfill_domain()
962 interval_tree_insert(&area->pages_node, in iopt_fill_domain()
981 interval_tree_remove(&area->pages_node, in iopt_fill_domain()
1248 interval_tree_remove(&area->pages_node, &pages->domains_itree); in iopt_area_split()
1249 interval_tree_insert(&lhs->pages_node, &pages->domains_itree); in iopt_area_split()
[all …]
Dpages.c257 return container_of(node, struct iopt_area, pages_node); in iopt_pages_find_domain_area()
1450 interval_tree_insert(&area->pages_node, &pages->domains_itree); in iopt_area_fill_domains()
1512 WARN_ON(RB_EMPTY_NODE(&area->pages_node.rb)); in iopt_area_unfill_domains()
1513 interval_tree_remove(&area->pages_node, &pages->domains_itree); in iopt_area_unfill_domains()