Searched refs:rbroot (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/iommu/ |
D | iova.c | 63 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-v6.6/mm/ |
D | zswap.c | 221 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() 1227 dupentry = zswap_rb_search(&tree->rbroot, offset); in zswap_store() 1355 while (zswap_rb_insert(&tree->rbroot, entry, &dupentry) == -EEXIST) { in zswap_store() 1410 entry = zswap_entry_find_get(&tree->rbroot, offset); in zswap_load() 1487 entry = zswap_rb_search(&tree->rbroot, offset); in zswap_invalidate() 1507 tree->rbroot = RB_ROOT; in zswap_swapon() 1522 rbtree_postorder_for_each_entry_safe(entry, n, &tree->rbroot, rbnode) in zswap_swapoff() [all …]
|
/Linux-v6.6/include/linux/ |
D | iova.h | 30 struct rb_root rbroot; /* iova domain rbtree root */ member
|
/Linux-v6.6/drivers/mtd/ |
D | mtdswap.c | 79 #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
|