/linux-6.3-rc2/drivers/base/regmap/ |
A D | regcache-rbtree.c | 45 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); in regcache_rbtree_get_base_top_reg() 71 if (rbnode) { in regcache_rbtree_lookup() 75 return rbnode; in regcache_rbtree_lookup() 85 return rbnode; in regcache_rbtree_lookup() 249 if (rbnode) { in regcache_rbtree_read() 323 rbnode = kzalloc(sizeof(*rbnode), GFP_KERNEL); in regcache_rbtree_node_alloc() 324 if (!rbnode) in regcache_rbtree_node_alloc() 359 return rbnode; in regcache_rbtree_node_alloc() 364 kfree(rbnode); in regcache_rbtree_node_alloc() 383 if (rbnode) { in regcache_rbtree_write() [all …]
|
/linux-6.3-rc2/net/ipv4/ |
A D | inet_fragment.c | 48 RB_CLEAR_NODE(&skb->rbnode); in fragcb_clear() 71 rb_link_node(&skb->rbnode, &q->last_run_head->rbnode, in fragrun_create() 72 &q->last_run_head->rbnode.rb_right); in fragrun_create() 274 rb_erase(&skb->rbnode, root); in inet_frag_rbtree_purge() 459 if (RB_EMPTY_NODE(&skb->rbnode)) in inet_frag_reasm_prepare() 462 rb_replace_node(&skb->rbnode, &fp->rbnode, in inet_frag_reasm_prepare() 468 rb_replace_node(&head->rbnode, &skb->rbnode, in inet_frag_reasm_prepare() 528 rbn = rb_next(&head->rbnode); in inet_frag_reasm_finish() 553 memset(&fp->rbnode, 0, sizeof(fp->rbnode)); in inet_frag_reasm_finish() 594 rb_replace_node(&head->rbnode, &skb->rbnode, in inet_frag_pull_head() [all …]
|
A D | tcp_input.c | 4742 rb_erase(&skb->rbnode, &tp->out_of_order_queue); in tcp_ofo_queue() 4822 rb_link_node(&skb->rbnode, NULL, p); in tcp_data_queue_ofo() 4845 parent = &tp->ooo_last_skb->rbnode; in tcp_data_queue_ofo() 4877 rb_replace_node(&skb1->rbnode, &skb->rbnode, in tcp_data_queue_ofo() 4896 rb_link_node(&skb->rbnode, parent, p); in tcp_data_queue_ofo() 4897 rb_insert_color(&skb->rbnode, &tp->out_of_order_queue); in tcp_data_queue_ofo() 4909 rb_erase(&skb1->rbnode, &tp->out_of_order_queue); in tcp_data_queue_ofo() 5141 rb_erase(&skb->rbnode, root); in tcp_collapse_one() 5164 rb_link_node(&skb->rbnode, parent, p); in tcp_rbtree_insert() 5165 rb_insert_color(&skb->rbnode, root); in tcp_rbtree_insert() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | mmu_rb.c | 78 struct mmu_rb_node *rbnode; in hfi1_mmu_rb_unregister() local 99 rbnode = rb_entry(node, struct mmu_rb_node, node); in hfi1_mmu_rb_unregister() 102 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_unregister() 198 struct mmu_rb_node *rbnode, *ptr; in hfi1_mmu_rb_evict() local 209 list_for_each_entry_safe_reverse(rbnode, ptr, &handler->lru_list, in hfi1_mmu_rb_evict() 211 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict() 213 __mmu_int_rb_remove(rbnode, &handler->root); in hfi1_mmu_rb_evict() 215 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_evict() 223 rbnode = list_first_entry(&del_list, struct mmu_rb_node, list); in hfi1_mmu_rb_evict() 224 list_del(&rbnode->list); in hfi1_mmu_rb_evict() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_conncount.c | 320 struct rb_node **rbnode, *parent; in insert_tree() local 330 rbnode = &(root->rb_node); in insert_tree() 331 while (*rbnode) { in insert_tree() 333 rbconn = rb_entry(*rbnode, struct nf_conncount_rb, node); in insert_tree() 335 parent = *rbnode; in insert_tree() 338 rbnode = &((*rbnode)->rb_left); in insert_tree() 340 rbnode = &((*rbnode)->rb_right); in insert_tree() 388 rb_link_node_rcu(&rbconn->node, parent, rbnode); in insert_tree()
|
/linux-6.3-rc2/net/sched/ |
A D | sch_etf.c | 188 rb_link_node(&nskb->rbnode, parent, p); in etf_enqueue_timesortedlist() 189 rb_insert_color_cached(&nskb->rbnode, &q->head, leftmost); in etf_enqueue_timesortedlist() 211 rb_erase_cached(&skb->rbnode, &q->head); in timesortedlist_drop() 235 rb_erase_cached(&skb->rbnode, &q->head); in timesortedlist_remove() 427 rb_erase_cached(&skb->rbnode, &q->head); in timesortedlist_clear()
|
A D | sch_fq.c | 386 rb_erase(&skb->rbnode, &flow->t_root); in fq_erase_head() 432 rb_link_node(&skb->rbnode, parent, p); in flow_queue_add() 433 rb_insert_color(&skb->rbnode, &flow->t_root); in flow_queue_add() 654 rb_erase(&skb->rbnode, &flow->t_root); in fq_flow_purge()
|
A D | sch_netem.c | 369 rb_erase(&skb->rbnode, &q->t_root); in tfifo_reset() 402 rb_link_node(&nskb->rbnode, parent, p); in tfifo_enqueue() 403 rb_insert_color(&nskb->rbnode, &q->t_root); in tfifo_enqueue() 672 rb_erase(&skb->rbnode, &q->t_root); in netem_erase_head()
|
/linux-6.3-rc2/mm/ |
A D | zswap.c | 182 struct rb_node rbnode; member 293 RB_CLEAR_NODE(&entry->rbnode); in zswap_entry_cache_alloc() 311 entry = rb_entry(node, struct zswap_entry, rbnode); in zswap_rb_search() 334 myentry = rb_entry(parent, struct zswap_entry, rbnode); in zswap_rb_insert() 344 rb_link_node(&entry->rbnode, parent, link); in zswap_rb_insert() 345 rb_insert_color(&entry->rbnode, root); in zswap_rb_insert() 351 if (!RB_EMPTY_NODE(&entry->rbnode)) { in zswap_rb_erase() 352 rb_erase(&entry->rbnode, root); in zswap_rb_erase() 353 RB_CLEAR_NODE(&entry->rbnode); in zswap_rb_erase() 1398 rbtree_postorder_for_each_entry_safe(entry, n, &tree->rbroot, rbnode) in zswap_frontswap_invalidate_area()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | backref.c | 294 ref = rb_entry(parent, struct prelim_ref, rbnode); in prelim_ref_insert() 330 rb_link_node(&newref->rbnode, parent, p); in prelim_ref_insert() 331 rb_insert_color_cached(&newref->rbnode, root, leftmost); in prelim_ref_insert() 343 &preftree->root.rb_root, rbnode) { in prelim_release() 457 ref = rb_entry(parent, struct prelim_ref, rbnode); in is_shared_data_backref() 759 ref = rb_entry(rnode, struct prelim_ref, rbnode); in resolve_indirect_refs() 766 rb_erase_cached(&ref->rbnode, &preftrees->indirect.root); in resolve_indirect_refs() 850 ref = rb_entry(node, struct prelim_ref, rbnode); in add_missing_keys() 1590 ref = rb_entry(node, struct prelim_ref, rbnode); in find_parent_nodes() 1591 node = rb_next(&ref->rbnode); in find_parent_nodes()
|
A D | backref.h | 241 struct rb_node rbnode; member
|
/linux-6.3-rc2/net/mptcp/ |
A D | protocol.c | 233 rb_link_node(&skb->rbnode, NULL, p); in mptcp_data_queue_ofo() 234 rb_insert_color(&skb->rbnode, &msk->out_of_order_queue); in mptcp_data_queue_ofo() 251 parent = &msk->ooo_last_skb->rbnode; in mptcp_data_queue_ofo() 282 rb_replace_node(&skb1->rbnode, &skb->rbnode, in mptcp_data_queue_ofo() 297 rb_link_node(&skb->rbnode, parent, p); in mptcp_data_queue_ofo() 298 rb_insert_color(&skb->rbnode, &msk->out_of_order_queue); in mptcp_data_queue_ofo() 305 rb_erase(&skb1->rbnode, &msk->out_of_order_queue); in mptcp_data_queue_ofo() 728 rb_erase(&skb->rbnode, &msk->out_of_order_queue); in __mptcp_ofo_queue()
|
/linux-6.3-rc2/include/linux/ |
A D | skbuff.h | 866 struct rb_node rbnode; /* used in netem, ip4 defrag, and tcp stack */ member 3844 #define rb_to_skb(rb) rb_entry_safe(rb, struct sk_buff, rbnode) 3847 #define skb_rb_next(skb) rb_to_skb(rb_next(&(skb)->rbnode)) 3848 #define skb_rb_prev(skb) rb_to_skb(rb_prev(&(skb)->rbnode))
|
/linux-6.3-rc2/Documentation/networking/ |
A D | rds.rst | 318 wraps the raw congestion bitmap, contains rbnode, waitq, etc.
|
/linux-6.3-rc2/include/net/ |
A D | tcp.h | 1931 rb_erase(&skb->rbnode, &sk->tcp_rtx_queue); in tcp_rtx_queue_unlink()
|
/linux-6.3-rc2/net/core/ |
A D | skbuff.c | 3637 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); in skb_rbtree_purge() 3640 rb_erase(&skb->rbnode, root); in skb_rbtree_purge()
|