Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/
Diova.c63 iovad->rbroot = RB_ROOT; in init_iova_domain()
71 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
72 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
127 node = iovad->rbroot.rb_node; in iova_find_limit()
228 iova_insert_rbtree(&iovad->rbroot, new, prev); in __alloc_and_insert_iova_range()
340 struct rb_node *node = iovad->rbroot.rb_node; in private_find_iova()
362 rb_erase(&iova->node, &iovad->rbroot); in remove_iova()
515 rbtree_postorder_for_each_entry_safe(iova, tmp, &iovad->rbroot, node) in put_iova_domain()
553 iova_insert_rbtree(&iovad->rbroot, iova, NULL); in __insert_new_range()
590 for (node = rb_first(&iovad->rbroot); node; node = rb_next(node)) { in reserve_iova()
/linux-6.6.21/mm/
Dzswap.c221 struct rb_root rbroot; member
628 if (zswap_rb_erase(&tree->rbroot, entry)) in zswap_invalidate_entry()
658 if (entry != zswap_rb_search(&tree->rbroot, swpoffset)) { in zswap_reclaim_entry()
1100 if (zswap_rb_search(&tree->rbroot, swp_offset(entry->swpentry)) != entry) { in zswap_writeback_entry()
1229 dupentry = zswap_rb_search(&tree->rbroot, offset); in zswap_store()
1360 while (zswap_rb_insert(&tree->rbroot, entry, &dupentry) == -EEXIST) { in zswap_store()
1415 entry = zswap_entry_find_get(&tree->rbroot, offset); in zswap_load()
1492 entry = zswap_rb_search(&tree->rbroot, offset); in zswap_invalidate()
1512 tree->rbroot = RB_ROOT; in zswap_swapon()
1527 rbtree_postorder_for_each_entry_safe(entry, n, &tree->rbroot, rbnode) in zswap_swapoff()
[all …]
/linux-6.6.21/include/linux/
Diova.h30 struct rb_root rbroot; /* iova domain rbtree root */ member
/linux-6.6.21/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