Home
last modified time | relevance | path

Searched refs:rbroot (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/iommu/
Diova.c58 iovad->rbroot = RB_ROOT; in init_iova_domain()
66 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
67 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
122 node = iovad->rbroot.rb_node; in iova_find_limit()
223 iova_insert_rbtree(&iovad->rbroot, new, prev); in __alloc_and_insert_iova_range()
335 struct rb_node *node = iovad->rbroot.rb_node; in private_find_iova()
357 rb_erase(&iova->node, &iovad->rbroot); in remove_iova()
510 rbtree_postorder_for_each_entry_safe(iova, tmp, &iovad->rbroot, node) in put_iova_domain()
548 iova_insert_rbtree(&iovad->rbroot, iova, NULL); in __insert_new_range()
585 for (node = rb_first(&iovad->rbroot); node; node = rb_next(node)) { in reserve_iova()
/linux-5.19.10/mm/
Dzswap.c204 struct rb_root rbroot; member
394 zswap_rb_erase(&tree->rbroot, entry); in zswap_entry_put()
974 entry = zswap_entry_find_get(&tree->rbroot, offset); in zswap_writeback_entry()
1044 if (entry == zswap_rb_search(&tree->rbroot, offset)) in zswap_writeback_entry()
1245 ret = zswap_rb_insert(&tree->rbroot, entry, &dupentry); in zswap_frontswap_store()
1249 zswap_rb_erase(&tree->rbroot, dupentry); in zswap_frontswap_store()
1297 entry = zswap_entry_find_get(&tree->rbroot, offset); in zswap_frontswap_load()
1368 entry = zswap_rb_search(&tree->rbroot, offset); in zswap_frontswap_invalidate_page()
1376 zswap_rb_erase(&tree->rbroot, entry); in zswap_frontswap_invalidate_page()
1395 rbtree_postorder_for_each_entry_safe(entry, n, &tree->rbroot, rbnode) in zswap_frontswap_invalidate_area()
[all …]
/linux-5.19.10/mm/damon/
Dvaddr.c122 struct rb_root rbroot; in __damon_va_three_regions() local
132 rbroot.rb_node = &vma->vm_rb; in __damon_va_three_regions()
133 vma = rb_entry(rb_last(&rbroot), in __damon_va_three_regions()
/linux-5.19.10/include/linux/
Diova.h30 struct rb_root rbroot; /* iova domain rbtree root */ member
/linux-5.19.10/drivers/mtd/
Dmtdswap.c79 #define MTDSWAP_ECNT_MIN(rbroot) (rb_entry(rb_first(rbroot), struct swap_eb, \ argument
81 #define MTDSWAP_ECNT_MAX(rbroot) (rb_entry(rb_last(rbroot), struct swap_eb, \ argument