Searched refs:rb (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | interval_tree.c | 23 INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb, 38 if (!prev->shared.rb.rb_right) { in vma_interval_tree_insert_after() 40 link = &prev->shared.rb.rb_right; in vma_interval_tree_insert_after() 42 parent = rb_entry(prev->shared.rb.rb_right, in vma_interval_tree_insert_after() 43 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after() 46 while (parent->shared.rb.rb_left) { in vma_interval_tree_insert_after() 47 parent = rb_entry(parent->shared.rb.rb_left, in vma_interval_tree_insert_after() 48 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after() 52 link = &parent->shared.rb.rb_left; in vma_interval_tree_insert_after() 56 rb_link_node(&node->shared.rb, &parent->shared.rb, link); in vma_interval_tree_insert_after() [all …]
|
D | swapfile.c | 155 struct rb_node *rb = rb_first(&sis->swap_extent_root); in first_se() local 156 return rb_entry(rb, struct swap_extent, rb_node); in first_se() 161 struct rb_node *rb = rb_next(&se->rb_node); in next_se() local 162 return rb ? rb_entry(rb, struct swap_extent, rb_node) : NULL; in next_se() 206 struct rb_node *rb; in offset_to_swap_extent() local 208 rb = sis->swap_extent_root.rb_node; in offset_to_swap_extent() 209 while (rb) { in offset_to_swap_extent() 210 se = rb_entry(rb, struct swap_extent, rb_node); in offset_to_swap_extent() 212 rb = rb->rb_left; in offset_to_swap_extent() 214 rb = rb->rb_right; in offset_to_swap_extent() [all …]
|
D | mmu_notifier.c | 153 if (RB_EMPTY_NODE(&interval_sub->interval_tree.rb)) in mn_itree_inv_end() 920 RB_CLEAR_NODE(&interval_sub->interval_tree.rb); in __mmu_interval_notifier_insert() 1076 if (RB_EMPTY_NODE(&interval_sub->interval_tree.rb)) { in mmu_interval_notifier_remove() 1084 WARN_ON(RB_EMPTY_NODE(&interval_sub->interval_tree.rb)); in mmu_interval_notifier_remove()
|
D | nommu.c | 1075 struct rb_node *rb; in do_mmap() local 1135 for (rb = rb_first(&nommu_region_tree); rb; rb = rb_next(rb)) { in do_mmap() 1136 pregion = rb_entry(rb, struct vm_region, vm_rb); in do_mmap()
|
D | kmemleak.c | 383 struct rb_node *rb = object_tree_root.rb_node; in lookup_object() local 386 while (rb) { in lookup_object() 390 object = rb_entry(rb, struct kmemleak_object, rb_node); in lookup_object() 394 rb = object->rb_node.rb_left; in lookup_object() 396 rb = object->rb_node.rb_right; in lookup_object()
|