Home
last modified time | relevance | path

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

12

/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()
706 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1() local
708 key = (struct rt6key *)((u8 *)leaf + offset); in fib6_add_1()
734 RCU_INIT_POINTER(fn->leaf, NULL); in fib6_add_1()
735 fib6_info_release(leaf); in fib6_add_1()
738 rcu_access_pointer(fn->leaf) == in fib6_add_1()
740 RCU_INIT_POINTER(fn->leaf, NULL); in fib6_add_1()
[all …]
Droute.c850 static void find_rr_leaf(struct fib6_node *fn, struct fib6_info *leaf, in find_rr_leaf() argument
861 __find_rr_leaf(leaf, rr_head, metric, res, &cont, in find_rr_leaf()
874 struct fib6_info *leaf = rcu_dereference(fn->leaf); in rt6_select() local
882 if (!leaf || leaf == net->ipv6.fib6_null_entry) in rt6_select()
887 rt0 = leaf; in rt6_select()
902 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
908 next = leaf; in rt6_select()
911 spin_lock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
915 spin_unlock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
1228 res.f6i = rcu_dereference(fn->leaf); in ip6_pol_route_lookup()
[all …]
/net/sched/
Dsch_htb.c127 } leaf; member
557 WARN_ON(cl->level || !cl->leaf.q || !cl->leaf.q->q.qlen); in htb_activate()
602 } else if ((ret = qdisc_enqueue(skb, cl->leaf.q, in htb_enqueue()
844 if (unlikely(cl->leaf.q->q.qlen == 0)) { in htb_dequeue_tree()
860 skb = cl->leaf.q->dequeue(cl->leaf.q); in htb_dequeue_tree()
864 qdisc_warn_nonwc("htb", cl->leaf.q); in htb_dequeue_tree()
873 cl->leaf.deficit[level] -= qdisc_pkt_len(skb); in htb_dequeue_tree()
874 if (cl->leaf.deficit[level] < 0) { in htb_dequeue_tree()
875 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
882 if (!cl->leaf.q->q.qlen) in htb_dequeue_tree()
[all …]
Dsch_ingress.c118 .leaf = ingress_leaf,
251 .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()
1379 struct Qdisc *leaf; in check_loop_fn() local
1383 leaf = cops->leaf(q, cl); in check_loop_fn()
1384 if (leaf) { in check_loop_fn()
1385 if (leaf == arg->p || arg->depth > 7) in check_loop_fn()
1387 return check_loop(leaf, arg->p, arg->depth + 1); in check_loop_fn()
Dsch_skbprio.c281 .leaf = skbprio_leaf,
Dsch_mq.c277 .leaf = mq_leaf,
Dsch_multiq.c382 .leaf = multiq_leaf,
Dsch_prio.c405 .leaf = prio_leaf,
Dsch_red.c421 .leaf = red_leaf,
Dsch_cbs.c524 .leaf = cbs_leaf,
Dsch_tbf.c526 .leaf = tbf_leaf,
Dsch_drr.c475 .leaf = drr_class_leaf,
Dsch_dsmark.c482 .leaf = dsmark_leaf,
Dsch_sfb.c688 .leaf = sfb_leaf,
Dsch_mqprio.c611 .leaf = mqprio_leaf,
Dsch_atm.c669 .leaf = atm_tc_leaf,
Dsch_fq_codel.c685 .leaf = fq_codel_leaf,
Dsch_sfq.c896 .leaf = sfq_leaf,
Dsch_netem.c1261 .leaf = netem_leaf,
Dsch_qfq.c1495 .leaf = qfq_class_leaf,
Dsch_hfsc.c1650 .leaf = hfsc_class_leaf,
Dsch_taprio.c1889 .leaf = taprio_leaf,
Dsch_cbq.c1777 .leaf = cbq_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()
1499 res->fa_head = &n->leaf; in fib_table_lookup()
1528 if (hlist_empty(&l->leaf)) { in fib_remove_alias()
1567 fa = fib_find_alias(&l->leaf, slen, tos, 0, tb->tb_id); in fib_table_delete()
[all …]

12