Home
last modified time | relevance | path

Searched refs:leaf (Results 1 – 23 of 23) sorted by relevance

/net/ipv6/
Dip6_fib.c244 rcu_assign_pointer(table->tb6_root.leaf, in fib6_alloc_table()
419 w->leaf = NULL; in fib6_node_dump()
470 w->leaf = rt; in fib6_dump_node()
491 w->leaf = NULL; in fib6_dump_node()
707 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1() local
709 key = (struct rt6key *)((u8 *)leaf + offset); in fib6_add_1()
735 RCU_INIT_POINTER(fn->leaf, NULL); in fib6_add_1()
736 fib6_info_release(leaf); in fib6_add_1()
739 rcu_access_pointer(fn->leaf) == in fib6_add_1()
741 RCU_INIT_POINTER(fn->leaf, NULL); in fib6_add_1()
[all …]
Droute.c854 static void find_rr_leaf(struct fib6_node *fn, struct fib6_info *leaf, in find_rr_leaf() argument
865 __find_rr_leaf(leaf, rr_head, metric, res, &cont, in find_rr_leaf()
878 struct fib6_info *leaf = rcu_dereference(fn->leaf); in rt6_select() local
886 if (!leaf || leaf == net->ipv6.fib6_null_entry) in rt6_select()
891 rt0 = leaf; in rt6_select()
906 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
912 next = leaf; in rt6_select()
915 spin_lock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
919 spin_unlock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
1232 res.f6i = rcu_dereference(fn->leaf); in ip6_pol_route_lookup()
[all …]
/net/sched/
Dsch_htb.c127 } leaf; member
560 WARN_ON(cl->level || !cl->leaf.q || !cl->leaf.q->q.qlen); in htb_activate()
605 } else if ((ret = qdisc_enqueue(skb, cl->leaf.q, in htb_enqueue()
847 if (unlikely(cl->leaf.q->q.qlen == 0)) { in htb_dequeue_tree()
863 skb = cl->leaf.q->dequeue(cl->leaf.q); in htb_dequeue_tree()
867 qdisc_warn_nonwc("htb", cl->leaf.q); in htb_dequeue_tree()
876 cl->leaf.deficit[level] -= qdisc_pkt_len(skb); in htb_dequeue_tree()
877 if (cl->leaf.deficit[level] < 0) { in htb_dequeue_tree()
878 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
885 if (!cl->leaf.q->q.qlen) in htb_dequeue_tree()
[all …]
Dsch_ingress.c124 .leaf = ingress_leaf,
263 .leaf = ingress_leaf,
Dsch_api.c152 if (!(cops->find && cops->walk && cops->leaf)) in register_qdisc()
342 return cops->leaf(p, cl); in qdisc_leaf()
1397 struct Qdisc *leaf; in check_loop_fn() local
1401 leaf = cops->leaf(q, cl); in check_loop_fn()
1402 if (leaf) { in check_loop_fn()
1403 if (leaf == arg->p || arg->depth > 7) in check_loop_fn()
1405 return check_loop(leaf, arg->p, arg->depth + 1); in check_loop_fn()
Dsch_skbprio.c284 .leaf = skbprio_leaf,
Dsch_mq.c277 .leaf = mq_leaf,
Dsch_multiq.c382 .leaf = multiq_leaf,
Dsch_prio.c405 .leaf = prio_leaf,
Dsch_cbs.c534 .leaf = cbs_leaf,
Dsch_tbf.c528 .leaf = tbf_leaf,
Dsch_drr.c475 .leaf = drr_class_leaf,
Dsch_red.c426 .leaf = red_leaf,
Dsch_mqprio.c659 .leaf = mqprio_leaf,
Dsch_sfb.c691 .leaf = sfb_leaf,
Dsch_fq_codel.c693 .leaf = fq_codel_leaf,
Dsch_sfq.c905 .leaf = sfq_leaf,
Dsch_netem.c1263 .leaf = netem_leaf,
Dsch_qfq.c1509 .leaf = qfq_class_leaf,
Dsch_hfsc.c1664 .leaf = hfsc_class_leaf,
Dsch_taprio.c1980 .leaf = taprio_leaf,
Dsch_cake.c3074 .leaf = cake_leaf,
/net/ipv4/
Dfib_trie.c127 struct hlist_head leaf; member
372 INIT_HLIST_HEAD(&l->leaf); in leaf_new()
373 hlist_add_head(&fa->fa_list, &l->leaf); in leaf_new()
1079 hlist_for_each_entry(last, &l->leaf, fa_list) { in fib_insert_alias()
1091 hlist_add_head_rcu(&new->fa_list, &l->leaf); in fib_insert_alias()
1149 fa = l ? fib_find_alias(&l->leaf, slen, tos, fi->fib_priority, in fib_table_insert()
1441 hlist_for_each_entry_rcu(fa, &n->leaf, fa_list) { in fib_table_lookup()
1500 res->fa_head = &n->leaf; in fib_table_lookup()
1529 if (hlist_empty(&l->leaf)) { in fib_remove_alias()
1568 fa = fib_find_alias(&l->leaf, slen, tos, 0, tb->tb_id); in fib_table_delete()
[all …]