Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 40) sorted by relevance

12

/net/bridge/
A Dbr_stp_bpdu.c92 buf[5] = bpdu->root.prio[0]; in br_send_config_bpdu()
93 buf[6] = bpdu->root.prio[1]; in br_send_config_bpdu()
94 buf[7] = bpdu->root.addr[0]; in br_send_config_bpdu()
95 buf[8] = bpdu->root.addr[1]; in br_send_config_bpdu()
96 buf[9] = bpdu->root.addr[2]; in br_send_config_bpdu()
97 buf[10] = bpdu->root.addr[3]; in br_send_config_bpdu()
98 buf[11] = bpdu->root.addr[4]; in br_send_config_bpdu()
99 buf[12] = bpdu->root.addr[5]; in br_send_config_bpdu()
200 bpdu.root.prio[0] = buf[2]; in br_stp_rcv()
201 bpdu.root.prio[1] = buf[3]; in br_stp_rcv()
[all …]
A Dbr_stp.c224 bpdu.root = br->designated_root; in br_transmit_config()
231 struct net_bridge_port *root in br_transmit_config() local
233 bpdu.message_age = (jiffies - root->designated_age) in br_transmit_config()
254 p->designated_root = bpdu->root; in br_record_config_information()
336 t = memcmp(&bpdu->root, &p->designated_root, 8); in br_supersedes_port_info()
A Dbr_private_stp.h31 bridge_id root; member
/net/netfilter/
A Dnf_conncount.c60 struct rb_root root[CONNCOUNT_SLOTS]; member
297 rb_erase(&rbconn->node, root); in tree_nodes_free()
313 struct rb_root *root, in insert_tree() argument
329 rbnode = &(root->rb_node); in insert_tree()
403 struct rb_root *root; in count_tree() local
409 root = &data->root[hash]; in count_tree()
459 struct rb_root *root; in tree_gc_worker() local
464 root = &data->root[tree]; in tree_gc_worker()
483 node = rb_first(root); in tree_gc_worker()
544 data->root[i] = RB_ROOT; in nf_conncount_init()
[all …]
A Dnft_set_rbtree.c19 struct rb_root root; member
65 parent = rcu_dereference_raw(priv->root.rb_node); in __nft_rbtree_lookup()
230 rb_erase(&rbe->node, &priv->root); in nft_rbtree_gc_elem_remove()
322 p = &priv->root.rb_node; in __nft_rbtree_insert()
345 first = rb_first(&priv->root); in __nft_rbtree_insert()
463 p = &priv->root.rb_node; in __nft_rbtree_insert()
480 rb_insert_color(&new->node, &priv->root); in __nft_rbtree_insert()
512 rb_erase(&rbe->node, &priv->root); in nft_rbtree_erase()
699 priv->root = RB_ROOT; in nft_rbtree_init()
712 rb_erase(node, &priv->root); in nft_rbtree_destroy()
[all …]
/net/6lowpan/
A Ddebugfs.c170 struct dentry *root; in lowpan_dev_debugfs_ctx_init() local
178 root = debugfs_create_dir(buf, ctx); in lowpan_dev_debugfs_ctx_init()
180 debugfs_create_file("active", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
183 debugfs_create_file("compression", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
186 debugfs_create_file("prefix", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
189 debugfs_create_file("prefix_len", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
233 struct dentry *root; in lowpan_dev_debugfs_802154_init() local
238 root = debugfs_create_dir("ieee802154", ldev->iface_debugfs); in lowpan_dev_debugfs_802154_init()
240 debugfs_create_file("short_addr", 0444, root, in lowpan_dev_debugfs_802154_init()
/net/sched/
A Dcls_cgroup.c30 struct cls_cgroup_head *head = rcu_dereference_bh(tp->root); in cls_cgroup_classify()
85 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_change()
122 rcu_assign_pointer(tp->root, new); in cls_cgroup_change()
137 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_destroy()
157 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_walk()
175 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_dump()
A Dsch_hfsc.c1013 parent = &q->root; in hfsc_change_class()
1098 if (cl != &q->root) in hfsc_destroy_class()
1110 cl == &q->root) { in hfsc_delete_class()
1144 head = &q->root; in hfsc_classify()
1264 cl = &q->root; in hfsc_tcf_block()
1385 if (q->root.cl_cfmin != 0) { in hfsc_schedule_watchdog()
1413 err = tcf_block_get(&q->root.block, &q->root.filter_list, sch, extack); in hfsc_init_qdisc()
1419 q->root.sched = q; in hfsc_init_qdisc()
1422 if (q->root.qdisc == NULL) in hfsc_init_qdisc()
1427 q->root.vt_tree = RB_ROOT; in hfsc_init_qdisc()
[all …]
A Dcls_fw.c55 struct fw_head *head = rcu_dereference_bh(tp->root); in fw_classify()
93 struct fw_head *head = rtnl_dereference(tp->root); in fw_get()
135 struct fw_head *head = rtnl_dereference(tp->root); in fw_destroy()
159 struct fw_head *head = rtnl_dereference(tp->root); in fw_delete()
206 struct fw_head *head = rtnl_dereference(tp->root); in fw_set_parms()
244 struct fw_head *head = rtnl_dereference(tp->root); in fw_change()
316 rcu_assign_pointer(tp->root, head); in fw_change()
348 struct fw_head *head = rtnl_dereference(tp->root); in fw_walk()
371 struct fw_head *head = rtnl_dereference(tp->root); in fw_dump()
A Dcls_matchall.c32 struct cls_mall_head *head = rcu_dereference_bh(tp->root); in mall_classify()
130 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_destroy()
148 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_get()
168 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_change()
234 rcu_assign_pointer(tp->root, new); in mall_change()
252 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_delete()
262 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_walk()
278 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_reoffload()
A Dcls_basic.c45 struct basic_head *head = rcu_dereference_bh(tp->root); in basic_classify()
64 struct basic_head *head = rtnl_dereference(tp->root); in basic_get()
85 rcu_assign_pointer(tp->root, head); in basic_init()
111 struct basic_head *head = rtnl_dereference(tp->root); in basic_destroy()
130 struct basic_head *head = rtnl_dereference(tp->root); in basic_delete()
178 struct basic_head *head = rtnl_dereference(tp->root); in basic_change()
252 struct basic_head *head = rtnl_dereference(tp->root); in basic_walk()
A Dcls_bpf.c85 struct cls_bpf_head *head = rcu_dereference_bh(tp->root); in cls_bpf_classify()
253 rcu_assign_pointer(tp->root, head); in cls_bpf_init()
291 struct cls_bpf_head *head = rtnl_dereference(tp->root); in __cls_bpf_delete()
306 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_delete()
316 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_destroy()
328 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_get()
415 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_change()
643 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_walk()
655 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_reoffload()
A Dcls_route.c129 struct route4_head *head = rcu_dereference_bh(tp->root); in route4_classify()
219 struct route4_head *head = rtnl_dereference(tp->root); in route4_get()
251 rcu_assign_pointer(tp->root, head); in route4_init()
280 struct route4_head *head = rtnl_dereference(tp->root); in route4_destroy()
316 struct route4_head *head = rtnl_dereference(tp->root); in route4_delete()
481 struct route4_head *head = rtnl_dereference(tp->root); in route4_change()
580 struct route4_head *head = rtnl_dereference(tp->root); in route4_walk()
A Dcls_flow.c300 struct flow_head *head = rcu_dereference_bh(tp->root); in flow_classify()
396 struct flow_head *head = rtnl_dereference(tp->root); in flow_change()
572 struct flow_head *head = rtnl_dereference(tp->root); in flow_delete()
590 rcu_assign_pointer(tp->root, head); in flow_init()
597 struct flow_head *head = rtnl_dereference(tp->root); in flow_destroy()
612 struct flow_head *head = rtnl_dereference(tp->root); in flow_get()
685 struct flow_head *head = rtnl_dereference(tp->root); in flow_walk()
A Dsch_fq.c259 struct rb_root *root, in fq_gc() argument
267 p = &root->rb_node; in fq_gc()
293 rb_erase(&f->fq_node, root); in fq_gc()
360 struct rb_root *root; in fq_classify() local
405 fq_gc(q, root, sk); in fq_classify()
407 p = &root->rb_node; in fq_classify()
456 rb_insert_color(&f->fq_node, root); in fq_classify()
802 struct rb_root *root; in fq_reset() local
816 root = &q->fq_root[idx]; in fq_reset()
817 while ((p = rb_first(root)) != NULL) { in fq_reset()
[all …]
A Dsch_api.c267 if (!qdisc_dev(root)) in qdisc_match_from_root()
268 return (root->handle == handle ? root : NULL); in qdisc_match_from_root()
270 if (!(root->flags & TCQ_F_BUILTIN) && in qdisc_match_from_root()
271 root->handle == handle) in qdisc_match_from_root()
272 return root; in qdisc_match_from_root()
1827 if (!root) in tc_dump_qdisc_root()
1830 q = root; in tc_dump_qdisc_root()
1848 if (!qdisc_dev(root) || !recur) in tc_dump_qdisc_root()
2362 if (!root) in tc_dump_tclass_root()
2368 if (!qdisc_dev(root) || !recur) in tc_dump_tclass_root()
[all …]
A Dsch_taprio.c90 struct Qdisc *root; member
122 struct net_device *dev = qdisc_dev(q->root); in taprio_calculate_gate_durations()
275 struct net_device *dev = qdisc_dev(q->root); in taprio_update_queue_max_sdu()
665 struct net_device *dev = qdisc_dev(q->root); in taprio_set_budgets()
925 struct Qdisc *sch = q->root; in advance_sched()
1339 if (dev != qdisc_dev(q->root)) in taprio_dev_notifier()
1344 stab = rtnl_dereference(q->root->stab); in taprio_dev_notifier()
2073 q->root = sch; in taprio_init()
2247 const struct sched_gate_list *root) in dump_schedule() argument
2253 root->base_time, TCA_TAPRIO_PAD)) in dump_schedule()
[all …]
A Dsch_netem.c981 struct Qdisc *root, *q; in check_netem_in_tree() local
984 root = qdisc_root_sleeping(sch); in check_netem_in_tree()
986 if (sch != root && root->ops->cl_ops == &netem_class_ops) { in check_netem_in_tree()
988 ((struct netem_sched_data *)qdisc_priv(root))->duplicate) in check_netem_in_tree()
992 if (!qdisc_dev(root)) in check_netem_in_tree()
995 hash_for_each(qdisc_dev(root)->qdisc_hash, i, q, hash) { in check_netem_in_tree()
A Dsch_htb.c287 static void htb_add_to_id_tree(struct rb_root *root, in htb_add_to_id_tree() argument
290 struct rb_node **p = &root->rb_node, *parent = NULL; in htb_add_to_id_tree()
303 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree()
376 static void htb_safe_rb_erase(struct rb_node *rb, struct rb_root *root) in htb_safe_rb_erase() argument
381 rb_erase(rb, root); in htb_safe_rb_erase()
819 struct rb_node *root; in htb_lookup_leaf() member
827 sp->root = hprio->row.rb_node; in htb_lookup_leaf()
837 htb_id_find_next_upper(prio, sp->root, *sp->pid); in htb_lookup_leaf()
843 *sp->pptr = sp->root; in htb_lookup_leaf()
862 (++sp)->root = clp->feed.rb_node; in htb_lookup_leaf()
A Dcls_u32.c123 struct tc_u_hnode *ht = rcu_dereference_bh(tp->root); in u32_classify()
304 ht = rtnl_dereference(tp->root); in u32_get()
398 rcu_assign_pointer(tp->root, root_ht); in u32_init()
639 struct tc_u_hnode *root_ht = rtnl_dereference(tp->root); in u32_destroy()
803 ht = rtnl_dereference(tp->root); in u32_replace_knode()
1019 ht = rtnl_dereference(tp->root); in u32_change()
1029 ht = rtnl_dereference(tp->root); in u32_change()
/net/ipv6/
A Dip6_fib.c481 w->root = &tb->tb6_root; in fib6_table_dump()
590 w->root = &table->tb6_root; in fib6_dump_table()
610 w->node = w->root; in fib6_dump_table()
770 fn = root; in fib6_add_1()
1618 fn = root; in fib6_node_lookup_1()
1697 fn = root; in fib6_node_lookup()
1721 for (fn = root; fn ; ) { in fib6_locate_1()
2182 if (fn == w->root) in fib6_walk_continue()
2216 w->node = w->root; in fib6_walk()
2288 c.w.root = root; in fib6_clean_tree()
[all …]
/net/bridge/netfilter/
A Debt_stp.c30 u8 root[8]; member
55 v16 = NR16(stpc->root); in ebt_filter_config()
62 !ether_addr_equal_masked(&stpc->root[2], in ebt_filter_config()
/net/sunrpc/
A Drpc_pipe.c1099 rpc_gssd_dummy_populate(struct dentry *root, struct rpc_pipe *pipe_data) in rpc_gssd_dummy_populate() argument
1104 gssd_dentry = rpc_new_dir(root, "gssd", 0555); in rpc_gssd_dummy_populate()
1123 struct dentry *root; in rpc_fill_super() local
1136 sb->s_root = root = d_make_root(inode); in rpc_fill_super()
1137 if (!root) in rpc_fill_super()
1139 if (rpc_populate(root, files, RPCAUTH_lockd, RPCAUTH_RootEOF, NULL)) in rpc_fill_super()
1142 err = rpc_gssd_dummy_populate(root, sn->gssd_dummy); in rpc_fill_super()
/net/ipv4/
A Dinet_fragment.c266 unsigned int inet_frag_rbtree_purge(struct rb_root *root, in inet_frag_rbtree_purge() argument
269 struct rb_node *p = rb_first(root); in inet_frag_rbtree_purge()
276 rb_erase(&skb->rbnode, root); in inet_frag_rbtree_purge()
A Dnexthop.c2571 struct rb_root *root = &net->nexthop.rb_root; in insert_nexthop() local
2578 pp = &root->rb_node; in insert_nexthop()
2638 rb_insert_color(&new_nh->rb_node, root); in insert_nexthop()
2684 struct rb_root *root = &net->nexthop.rb_root; in flush_all_nexthops() local
2688 while ((node = rb_first(root))) { in flush_all_nexthops()
3502 struct rb_root *root, in rtm_dump_walk_nexthops() argument
3549 struct rb_root *root = &net->nexthop.rb_root; in rtm_dump_nexthop() local
3557 err = rtm_dump_walk_nexthops(skb, cb, root, ctx, in rtm_dump_nexthop()
3747 struct rb_root *root = &net->nexthop.rb_root; in rtm_dump_nexthop_bucket() local
3749 err = rtm_dump_walk_nexthops(skb, cb, root, &ctx->nh, in rtm_dump_nexthop_bucket()
[all …]

Completed in 73 milliseconds

12