/linux/drivers/infiniband/hw/hfi1/ |
H A D | mmu_rb.c | 80 struct mmu_rb_node *rbnode; in hfi1_mmu_rb_unregister() local 101 rbnode = rb_entry(node, struct mmu_rb_node, node); in hfi1_mmu_rb_unregister() 104 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_unregister() 109 rbnode = list_first_entry(&del_list, struct mmu_rb_node, list); in hfi1_mmu_rb_unregister() 110 list_del(&rbnode->list); in hfi1_mmu_rb_unregister() 111 kref_put(&rbnode->refcount, release_immediate); in hfi1_mmu_rb_unregister() 228 struct mmu_rb_node *rbnode, *ptr; in hfi1_mmu_rb_evict() local 239 list_for_each_entry_safe(rbnode, ptr, &handler->lru_list, list) { in hfi1_mmu_rb_evict() 241 if (kref_read(&rbnode->refcount) > 1) in hfi1_mmu_rb_evict() 244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict() [all …]
|
/linux/net/ipv4/ |
H A D | inet_fragment.c | 51 RB_CLEAR_NODE(&skb->rbnode); in fragcb_clear() 74 rb_link_node(&skb->rbnode, &q->last_run_head->rbnode, in fragrun_create() 75 &q->last_run_head->rbnode.rb_right); in fragrun_create() 77 rb_link_node(&skb->rbnode, NULL, &q->rb_fragments.rb_node); in fragrun_create() 78 rb_insert_color(&skb->rbnode, &q->rb_fragments); in fragrun_create() 274 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); in inet_frag_rbtree_purge() 277 rb_erase(&skb->rbnode, root); in inet_frag_rbtree_purge() 440 rb_link_node(&skb->rbnode, parent, rbn); in inet_frag_queue_insert() 441 rb_insert_color(&skb->rbnode, &q->rb_fragments); in inet_frag_queue_insert() 477 if (RB_EMPTY_NODE(&skb->rbnode)) in inet_frag_reasm_prepare() [all …]
|
H A D | tcp_input.c | 4967 rb_erase(&skb->rbnode, &tp->out_of_order_queue); in tcp_ofo_queue() 5048 rb_link_node(&skb->rbnode, NULL, p); in tcp_data_queue_ofo() 5049 rb_insert_color(&skb->rbnode, &tp->out_of_order_queue); in tcp_data_queue_ofo() 5071 parent = &tp->ooo_last_skb->rbnode; in tcp_data_queue_ofo() 5103 rb_replace_node(&skb1->rbnode, &skb->rbnode, in tcp_data_queue_ofo() 5122 rb_link_node(&skb->rbnode, parent, p); in tcp_data_queue_ofo() 5123 rb_insert_color(&skb->rbnode, &tp->out_of_order_queue); in tcp_data_queue_ofo() 5135 rb_erase(&skb1->rbnode, &tp->out_of_order_queue); in tcp_data_queue_ofo() 5383 rb_erase(&skb->rbnode, root); in tcp_collapse_one() 5406 rb_link_node(&skb->rbnode, parent, p); in tcp_rbtree_insert() [all …]
|
/linux/net/netfilter/ |
H A D | nf_conncount.c | 320 struct rb_node **rbnode, *parent; in insert_tree() local 329 rbnode = &(root->rb_node); in insert_tree() 330 while (*rbnode) { in insert_tree() 332 rbconn = rb_entry(*rbnode, struct nf_conncount_rb, node); in insert_tree() 334 parent = *rbnode; in insert_tree() 337 rbnode = &((*rbnode)->rb_left); in insert_tree() 339 rbnode = &((*rbnode)->rb_right); in insert_tree() 389 rb_link_node_rcu(&rbconn->node, parent, rbnode); in insert_tree()
|
/linux/net/sched/ |
H 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()
|
H A D | sch_netem.c | 381 rb_erase(&skb->rbnode, &q->t_root); in tfifo_reset() 415 rb_link_node(&nskb->rbnode, parent, p); in tfifo_enqueue() 416 rb_insert_color(&nskb->rbnode, &q->t_root); in tfifo_enqueue() 697 rb_erase(&skb->rbnode, &q->t_root); in netem_erase_head()
|
/linux/fs/btrfs/ |
H A D | backref.c | 257 rb_entry(new, struct prelim_ref, rbnode); in prelim_ref_rb_add_cmp() 259 rb_entry(exist, struct prelim_ref, rbnode); in prelim_ref_rb_add_cmp() 299 exist = rb_find_add_cached(&newref->rbnode, root, prelim_ref_rb_add_cmp); in prelim_ref_insert() 301 struct prelim_ref *ref = rb_entry(exist, struct prelim_ref, rbnode); in prelim_ref_insert() 340 &preftree->root.rb_root, rbnode) { in prelim_release() 454 ref = rb_entry(parent, struct prelim_ref, rbnode); in is_shared_data_backref() 756 ref = rb_entry(rnode, struct prelim_ref, rbnode); in resolve_indirect_refs() 763 rb_erase_cached(&ref->rbnode, &preftrees->indirect.root); in resolve_indirect_refs() 847 ref = rb_entry(node, struct prelim_ref, rbnode); in add_missing_keys() 1585 ref = rb_entry(node, struct prelim_ref, rbnode); in find_parent_nodes() [all …]
|
H A D | backref.h | 259 struct rb_node rbnode; member
|
/linux/net/mptcp/ |
H A D | protocol.c | 236 rb_link_node(&skb->rbnode, NULL, p); in mptcp_data_queue_ofo() 237 rb_insert_color(&skb->rbnode, &msk->out_of_order_queue); in mptcp_data_queue_ofo() 254 parent = &msk->ooo_last_skb->rbnode; in mptcp_data_queue_ofo() 285 rb_replace_node(&skb1->rbnode, &skb->rbnode, in mptcp_data_queue_ofo() 300 rb_link_node(&skb->rbnode, parent, p); in mptcp_data_queue_ofo() 301 rb_insert_color(&skb->rbnode, &msk->out_of_order_queue); in mptcp_data_queue_ofo() 308 rb_erase(&skb1->rbnode, &msk->out_of_order_queue); in mptcp_data_queue_ofo() 753 rb_erase(&skb->rbnode, &msk->out_of_order_queue); in __mptcp_ofo_queue()
|
/linux/Documentation/networking/ |
H A D | rds.rst | 318 wraps the raw congestion bitmap, contains rbnode, waitq, etc.
|
/linux/include/net/ |
H A D | tcp.h | 2101 rb_erase(&skb->rbnode, &sk->tcp_rtx_queue); in tcp_rtx_queue_unlink()
|
/linux/net/core/ |
H A D | skbuff.c | 3875 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); in skb_rbtree_purge() 3878 rb_erase(&skb->rbnode, root); in skb_rbtree_purge()
|