/linux-6.1.9/tools/lib/ |
D | rbtree.c | 154 tmp = node->rb_left; in __rb_insert() 156 WRITE_ONCE(node->rb_left, parent); in __rb_insert() 176 WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ in __rb_insert() 184 tmp = gparent->rb_left; in __rb_insert() 195 tmp = parent->rb_left; in __rb_insert() 199 WRITE_ONCE(parent->rb_left, tmp); in __rb_insert() 207 tmp = node->rb_left; in __rb_insert() 212 WRITE_ONCE(parent->rb_left, gparent); in __rb_insert() 252 tmp1 = sibling->rb_left; in ____rb_erase_color() 254 WRITE_ONCE(sibling->rb_left, parent); in ____rb_erase_color() [all …]
|
/linux-6.1.9/lib/ |
D | rbtree.c | 154 tmp = node->rb_left; in __rb_insert() 156 WRITE_ONCE(node->rb_left, parent); in __rb_insert() 176 WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ in __rb_insert() 184 tmp = gparent->rb_left; in __rb_insert() 195 tmp = parent->rb_left; in __rb_insert() 199 WRITE_ONCE(parent->rb_left, tmp); in __rb_insert() 207 tmp = node->rb_left; in __rb_insert() 212 WRITE_ONCE(parent->rb_left, gparent); in __rb_insert() 252 tmp1 = sibling->rb_left; in ____rb_erase_color() 254 WRITE_ONCE(sibling->rb_left, parent); in ____rb_erase_color() [all …]
|
D | rbtree_test.c | 40 new = &parent->rb_left; in insert() 58 new = &parent->rb_left; in insert_cached() 99 new = &parent->rb.rb_left; in RB_DECLARE_CALLBACKS_MAX() 124 new = &parent->rb.rb_left; in insert_augmented_cached() 205 WARN_ON_ONCE((!rb->rb_left || !rb->rb_right) && in check() 226 if (node->rb.rb_left) { in check_augmented() 227 subtree = rb_entry(node->rb.rb_left, struct test_node, in check_augmented()
|
/linux-6.1.9/include/linux/ |
D | rbtree_augmented.h | 126 if (node->RBFIELD.rb_left) { \ 127 child = rb_entry(node->RBFIELD.rb_left, RBSTRUCT, RBFIELD); \ 173 if (parent->rb_left == old) in __rb_change_child() 174 WRITE_ONCE(parent->rb_left, new); in __rb_change_child() 186 if (parent->rb_left == old) in __rb_change_child_rcu() 187 rcu_assign_pointer(parent->rb_left, new); in __rb_change_child_rcu() 202 struct rb_node *tmp = node->rb_left; in __rb_erase_augmented() 233 tmp = child->rb_left; in __rb_erase_augmented() 266 tmp = tmp->rb_left; in __rb_erase_augmented() 269 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented() [all …]
|
D | rbtree.h | 63 node->rb_left = node->rb_right = NULL; in rb_link_node() 72 node->rb_left = node->rb_right = NULL; in rb_link_node_rcu() 175 link = &parent->rb_left; in rb_add_cached() 204 link = &parent->rb_left; in rb_add() 235 link = &parent->rb_left; in rb_find_add() 265 node = node->rb_left; in rb_find() 296 node = node->rb_left; in rb_find_first()
|
D | interval_tree_generic.h | 52 link = &parent->ITRB.rb_left; \ 88 if (node->ITRB.rb_left) { \ 89 ITSTRUCT *left = rb_entry(node->ITRB.rb_left, \
|
D | rbtree_latch.h | 90 link = &parent->rb_left; in __lt_insert() 118 node = rcu_dereference_raw(node->rb_left); in __lt_find()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_interval.c | 40 new = &(*new)->rb_left; in drbd_insert_interval() 44 new = &(*new)->rb_left; in drbd_insert_interval() 79 node = node->rb_left; in drbd_contains_interval() 83 node = node->rb_left; in drbd_contains_interval() 126 if (node->rb_left && in drbd_find_overlap() 127 sector < interval_end(node->rb_left)) { in drbd_find_overlap() 129 node = node->rb_left; in drbd_find_overlap()
|
/linux-6.1.9/tools/include/linux/ |
D | rbtree_augmented.h | 128 if (node->RBFIELD.rb_left) { \ 129 child = rb_entry(node->RBFIELD.rb_left, RBSTRUCT, RBFIELD); \ 175 if (parent->rb_left == old) in __rb_change_child() 176 WRITE_ONCE(parent->rb_left, new); in __rb_change_child() 191 struct rb_node *tmp = node->rb_left; in __rb_erase_augmented() 222 tmp = child->rb_left; in __rb_erase_augmented() 255 tmp = tmp->rb_left; in __rb_erase_augmented() 258 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented() 266 tmp = node->rb_left; in __rb_erase_augmented() 267 WRITE_ONCE(successor->rb_left, tmp); in __rb_erase_augmented()
|
D | rbtree.h | 26 struct rb_node *rb_left; member 70 node->rb_left = node->rb_right = NULL; in rb_link_node() 188 link = &parent->rb_left; in rb_add_cached() 215 link = &parent->rb_left; in rb_add() 246 link = &parent->rb_left; in rb_find_add() 276 node = node->rb_left; in rb_find() 307 node = node->rb_left; in rb_find_first()
|
/linux-6.1.9/net/netfilter/ |
D | nft_set_rbtree.c | 68 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup() 79 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup() 89 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup() 150 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get() 159 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get() 176 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get() 288 p = &parent->rb_left; in __nft_rbtree_insert() 297 p = &parent->rb_left; in __nft_rbtree_insert() 419 p = &parent->rb_left; in __nft_rbtree_insert() 423 p = &parent->rb_left; in __nft_rbtree_insert() [all …]
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_vma_manager.c | 160 iter = iter->rb_left; in drm_vma_offset_lookup_locked() 272 iter = &(*iter)->rb_left; in vma_node_allow() 377 iter = iter->rb_left; in drm_vma_node_revoke() 414 iter = iter->rb_left; in drm_vma_node_is_allowed()
|
D | drm_mm.c | 200 link = &parent->rb.rb_left; in drm_mm_interval_tree_add_node() 230 link = &rb->rb_left; in insert_hole_size() 257 link = &parent->rb_hole_addr.rb_left; in RB_DECLARE_CALLBACKS_MAX() 318 rb = rb->rb_left; in best_hole() 345 rb = node->rb_hole_addr.rb_left; in find_hole_addr() 410 DECLARE_NEXT_HOLE_ADDR(next_hole_high_addr, rb_left, rb_right) in DECLARE_NEXT_HOLE_ADDR() argument 411 DECLARE_NEXT_HOLE_ADDR(next_hole_low_addr, rb_right, rb_left) in DECLARE_NEXT_HOLE_ADDR()
|
/linux-6.1.9/fs/btrfs/ |
D | misc.h | 82 node = node->rb_left; in rb_simple_search() 115 node = node->rb_left; in rb_simple_search_first() 138 p = &(*p)->rb_left; in rb_simple_insert()
|
/linux-6.1.9/mm/ |
D | interval_tree.c | 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() 52 link = &parent->shared.rb.rb_left; in vma_interval_tree_insert_after()
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | rbtree.rst | 90 node = node->rb_left; 121 new = &((*new)->rb_left); 274 if (node->rb.rb_left) { 276 rb_entry(node->rb.rb_left, 311 if (node->rb.rb_left) { 312 subtree_last = rb_entry(node->rb.rb_left, 377 link = &parent->rb.rb_left;
|
/linux-6.1.9/block/ |
D | bfq-wf2q.c | 364 node = &parent->rb_left; in bfq_insert() 410 bfq_update_min(entity, node->rb_left); in bfq_update_active_node() 434 if (node == parent->rb_left && parent->rb_right) in bfq_update_active_tree() 436 else if (parent->rb_left) in bfq_update_active_tree() 437 bfq_update_active_node(parent->rb_left); in bfq_update_active_tree() 467 if (node->rb_left) in bfq_active_insert() 468 node = node->rb_left; in bfq_active_insert() 534 if (!node->rb_right && !node->rb_left) in bfq_find_deepest() 537 deepest = node->rb_left; in bfq_find_deepest() 538 else if (!node->rb_left) in bfq_find_deepest() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | block-range.c | 44 p = &parent->rb_left; in block_range__find() 56 struct rb_node **p = &node->rb_left; in rb_link_left_of_node() 69 p = &node->rb_left; in rb_link_right_of_node() 93 p = &parent->rb_left; in block_range__create()
|
D | rblist.c | 26 p = &(*p)->rb_left; in rblist__add_node() 68 p = &(*p)->rb_left; in __rblist__findnew()
|
D | mem2node.c | 29 p = &(*p)->rb_left; in phys_entry__insert() 129 p = &(*p)->rb_left; in mem2node__node()
|
/linux-6.1.9/arch/arm/xen/ |
D | p2m.c | 48 link = &(*link)->rb_left; in xen_add_phys_to_mach_entry() 81 n = n->rb_left; in __pfn_to_mfn() 171 n = n->rb_left; in __set_phys_to_machine_multi()
|
/linux-6.1.9/net/ceph/ |
D | string_table.c | 24 p = &(*p)->rb_left; in ceph_find_or_create_string() 59 p = &(*p)->rb_left; in ceph_find_or_create_string()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_extent_busy.c | 52 rbp = &(*rbp)->rb_left; in xfs_extent_busy_insert() 98 rbp = rbp->rb_left; in xfs_extent_busy_search() 294 rbp = rbp->rb_left; in xfs_extent_busy_reuse() 346 rbp = rbp->rb_left; in xfs_extent_busy_trim()
|
/linux-6.1.9/drivers/iommu/ |
D | iova.c | 132 while (node->rb_left && to_iova(node->rb_left)->pfn_lo >= limit_pfn) in iova_find_limit() 133 node = node->rb_left; in iova_find_limit() 135 if (!node->rb_left) in iova_find_limit() 138 next = node->rb_left; in iova_find_limit() 165 new = &((*new)->rb_left); in iova_insert_rbtree() 348 node = node->rb_left; in private_find_iova()
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 84 (this->pgnr > pgnr && !this->node.rb_left)) { in __bo_search_and_remove_from_free_rbtree() 94 this->node.rb_left, pgnr); in __bo_search_and_remove_from_free_rbtree() 138 if (!n->rb_left) in __bo_search_by_addr() 140 n = n->rb_left; in __bo_search_by_addr() 163 if (!n->rb_left) in __bo_search_by_addr_in_range() 165 n = n->rb_left; in __bo_search_by_addr_in_range() 191 new = &((*new)->rb_left); in __bo_insert_to_free_rbtree() 224 new = &((*new)->rb_left); in __bo_insert_to_alloc_rbtree()
|