/net/bridge/ |
D | br_stp_bpdu.c | 96 buf[5] = bpdu->root.prio[0]; in br_send_config_bpdu() 97 buf[6] = bpdu->root.prio[1]; in br_send_config_bpdu() 98 buf[7] = bpdu->root.addr[0]; in br_send_config_bpdu() 99 buf[8] = bpdu->root.addr[1]; in br_send_config_bpdu() 100 buf[9] = bpdu->root.addr[2]; in br_send_config_bpdu() 101 buf[10] = bpdu->root.addr[3]; in br_send_config_bpdu() 102 buf[11] = bpdu->root.addr[4]; in br_send_config_bpdu() 103 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 …]
|
D | br_stp.c | 190 bpdu.root = br->designated_root; in br_transmit_config() 197 struct net_bridge_port *root in br_transmit_config() local 199 bpdu.message_age = (jiffies - root->designated_age) in br_transmit_config() 220 p->designated_root = bpdu->root; in br_record_config_information() 302 t = memcmp(&bpdu->root, &p->designated_root, 8); in br_supersedes_port_info()
|
D | br_private_stp.h | 35 bridge_id root; member
|
/net/6lowpan/ |
D | debugfs.c | 176 struct dentry *dentry, *root; in lowpan_dev_debugfs_ctx_init() local 183 root = debugfs_create_dir(buf, ctx); in lowpan_dev_debugfs_ctx_init() 184 if (!root) in lowpan_dev_debugfs_ctx_init() 187 dentry = debugfs_create_file("active", 0644, root, in lowpan_dev_debugfs_ctx_init() 193 dentry = debugfs_create_file("compression", 0644, root, in lowpan_dev_debugfs_ctx_init() 199 dentry = debugfs_create_file("prefix", 0644, root, in lowpan_dev_debugfs_ctx_init() 205 dentry = debugfs_create_file("prefix_len", 0644, root, in lowpan_dev_debugfs_ctx_init() 265 struct dentry *dentry, *root; in lowpan_dev_debugfs_802154_init() local 270 root = debugfs_create_dir("ieee802154", ldev->iface_debugfs); in lowpan_dev_debugfs_802154_init() 271 if (!root) in lowpan_dev_debugfs_802154_init() [all …]
|
/net/sched/ |
D | cls_cgroup.c | 35 struct cls_cgroup_head *head = rcu_dereference_bh(tp->root); in cls_cgroup_classify() 81 static void cls_cgroup_destroy_rcu(struct rcu_head *root) in cls_cgroup_destroy_rcu() argument 83 struct cls_cgroup_head *head = container_of(root, in cls_cgroup_destroy_rcu() 97 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_change() 132 rcu_assign_pointer(tp->root, new); in cls_cgroup_change() 146 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_destroy() 164 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_walk() 180 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_dump()
|
D | cls_basic.c | 47 struct basic_head *head = rcu_dereference_bh(tp->root); in basic_classify() 64 struct basic_head *head = rtnl_dereference(tp->root); in basic_get() 84 rcu_assign_pointer(tp->root, head); in basic_init() 115 struct basic_head *head = rtnl_dereference(tp->root); in basic_destroy() 131 struct basic_head *head = rtnl_dereference(tp->root); in basic_delete() 176 struct basic_head *head = rtnl_dereference(tp->root); in basic_change() 246 struct basic_head *head = rtnl_dereference(tp->root); in basic_walk()
|
D | cls_fw.c | 65 struct fw_head *head = rcu_dereference_bh(tp->root); in fw_classify() 103 struct fw_head *head = rtnl_dereference(tp->root); in fw_get() 151 struct fw_head *head = rtnl_dereference(tp->root); in fw_destroy() 174 struct fw_head *head = rtnl_dereference(tp->root); in fw_delete() 220 struct fw_head *head = rtnl_dereference(tp->root); in fw_set_parms() 259 struct fw_head *head = rtnl_dereference(tp->root); in fw_change() 332 rcu_assign_pointer(tp->root, head); in fw_change() 363 struct fw_head *head = rtnl_dereference(tp->root); in fw_walk() 393 struct fw_head *head = rtnl_dereference(tp->root); in fw_dump()
|
D | sch_hfsc.c | 171 struct hfsc_class root; /* root class */ member 1017 parent = &q->root; in hfsc_change_class() 1096 if (cl != &q->root) in hfsc_destroy_class() 1106 if (cl->level > 0 || cl->filter_cnt > 0 || cl == &q->root) in hfsc_delete_class() 1138 head = &q->root; in hfsc_classify() 1139 tcf = rcu_dereference_bh(q->root.filter_list); in hfsc_classify() 1254 cl = &q->root; in hfsc_tcf_block() 1381 if (q->root.cl_cfmin != 0) { in hfsc_schedule_watchdog() 1382 if (next_time == 0 || next_time > q->root.cl_cfmin) in hfsc_schedule_watchdog() 1383 next_time = q->root.cl_cfmin; in hfsc_schedule_watchdog() [all …]
|
D | cls_matchall.c | 33 struct cls_mall_head *head = rcu_dereference_bh(tp->root); in mall_classify() 109 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_destroy() 128 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_get() 165 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_change() 220 rcu_assign_pointer(tp->root, new); in mall_change() 238 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_walk()
|
D | sch_fq.c | 192 struct rb_root *root, in fq_gc() argument 199 p = &root->rb_node; in fq_gc() 226 rb_erase(&f->fq_node, root); in fq_gc() 235 struct rb_root *root; in fq_classify() local 261 root = &q->fq_root[hash_ptr(sk, q->fq_trees_log)]; in fq_classify() 265 fq_gc(q, root, sk); in fq_classify() 267 p = &root->rb_node; in fq_classify() 307 rb_insert_color(&f->fq_node, root); in fq_classify() 571 struct rb_root *root; in fq_reset() local 585 root = &q->fq_root[idx]; in fq_reset() [all …]
|
D | cls_tcindex.c | 90 struct tcindex_data *p = rcu_dereference_bh(tp->root); in tcindex_classify() 115 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_get() 138 rcu_assign_pointer(tp->root, p); in tcindex_init() 195 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_delete() 477 rcu_assign_pointer(tp->root, cp); in tcindex_set_parms() 520 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_change() 541 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_walk() 577 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_destroy() 593 struct tcindex_data *p = rtnl_dereference(tp->root); in tcindex_dump()
|
D | cls_rsvp.h | 137 struct rsvp_head *head = rcu_dereference_bh(tp->root); in rsvp_classify() 229 struct rsvp_head *head = rtnl_dereference(tp->root); in rsvp_replace() 256 struct rsvp_head *head = rtnl_dereference(tp->root); in rsvp_get() 282 rcu_assign_pointer(tp->root, data); in rsvp_init() 327 struct rsvp_head *data = rtnl_dereference(tp->root); in rsvp_destroy() 355 struct rsvp_head *head = rtnl_dereference(tp->root); in rsvp_delete() 405 struct rsvp_head *data = rtnl_dereference(tp->root); in gen_handle() 489 struct rsvp_head *data = rtnl_dereference(tp->root); in rsvp_change() 666 struct rsvp_head *head = rtnl_dereference(tp->root); in rsvp_walk()
|
D | sch_api.c | 262 static struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle) in qdisc_match_from_root() argument 266 if (!qdisc_dev(root)) in qdisc_match_from_root() 267 return (root->handle == handle ? root : NULL); in qdisc_match_from_root() 269 if (!(root->flags & TCQ_F_BUILTIN) && in qdisc_match_from_root() 270 root->handle == handle) in qdisc_match_from_root() 271 return root; in qdisc_match_from_root() 273 hash_for_each_possible_rcu(qdisc_dev(root)->qdisc_hash, q, hash, handle) { in qdisc_match_from_root() 1456 static int tc_dump_qdisc_root(struct Qdisc *root, struct sk_buff *skb, in tc_dump_qdisc_root() argument 1465 if (!root) in tc_dump_qdisc_root() 1468 q = root; in tc_dump_qdisc_root() [all …]
|
D | cls_route.c | 134 struct route4_head *head = rcu_dereference_bh(tp->root); in route4_classify() 224 struct route4_head *head = rtnl_dereference(tp->root); in route4_get() 256 rcu_assign_pointer(tp->root, head); in route4_init() 286 struct route4_head *head = rtnl_dereference(tp->root); in route4_destroy() 321 struct route4_head *head = rtnl_dereference(tp->root); in route4_delete() 476 struct route4_head *head = rtnl_dereference(tp->root); in route4_change() 568 struct route4_head *head = rtnl_dereference(tp->root); in route4_walk()
|
D | cls_bpf.c | 88 struct cls_bpf_head *head = rcu_dereference_bh(tp->root); in cls_bpf_classify() 244 rcu_assign_pointer(tp->root, head); in cls_bpf_init() 299 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_delete() 308 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_destroy() 319 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_get() 474 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_change() 645 struct cls_bpf_head *head = rtnl_dereference(tp->root); in cls_bpf_walk()
|
D | cls_flow.c | 305 struct flow_head *head = rcu_dereference_bh(tp->root); in flow_classify() 406 struct flow_head *head = rtnl_dereference(tp->root); in flow_change() 577 struct flow_head *head = rtnl_dereference(tp->root); in flow_delete() 595 rcu_assign_pointer(tp->root, head); in flow_init() 601 struct flow_head *head = rtnl_dereference(tp->root); in flow_destroy() 616 struct flow_head *head = rtnl_dereference(tp->root); in flow_get() 688 struct flow_head *head = rtnl_dereference(tp->root); in flow_walk()
|
D | cls_u32.c | 121 struct tc_u_hnode *ht = rcu_dereference_bh(tp->root); in u32_classify() 304 ht = rtnl_dereference(tp->root); in u32_get() 393 rcu_assign_pointer(tp->root, root_ht); in u32_init() 642 struct tc_u_hnode *root_ht = rtnl_dereference(tp->root); in u32_destroy() 674 struct tc_u_hnode *root_ht = rtnl_dereference(tp->root); in u32_delete() 824 ht = rtnl_dereference(tp->root); in u32_replace_knode() 1002 ht = rtnl_dereference(tp->root); in u32_change() 1010 ht = rtnl_dereference(tp->root); in u32_change()
|
D | sch_htb.c | 277 static void htb_add_to_id_tree(struct rb_root *root, in htb_add_to_id_tree() argument 280 struct rb_node **p = &root->rb_node, *parent = NULL; in htb_add_to_id_tree() 293 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree() 358 static void htb_safe_rb_erase(struct rb_node *rb, struct rb_root *root) in htb_safe_rb_erase() argument 363 rb_erase(rb, root); in htb_safe_rb_erase() 786 struct rb_node *root; in htb_lookup_leaf() member 792 sp->root = hprio->row.rb_node; in htb_lookup_leaf() 802 htb_id_find_next_upper(prio, sp->root, *sp->pid); in htb_lookup_leaf() 808 *sp->pptr = sp->root; in htb_lookup_leaf() 827 (++sp)->root = clp->feed.rb_node; in htb_lookup_leaf()
|
D | cls_flower.c | 154 struct cls_fl_head *head = rcu_dereference_bh(tp->root); in fl_classify() 216 rcu_assign_pointer(tp->root, head); in fl_init() 321 struct cls_fl_head *head = rtnl_dereference(tp->root); in __fl_delete() 354 struct cls_fl_head *head = rtnl_dereference(tp->root); in fl_destroy() 367 struct cls_fl_head *head = rtnl_dereference(tp->root); in fl_get() 894 struct cls_fl_head *head = rtnl_dereference(tp->root); in fl_change() 1024 struct cls_fl_head *head = rtnl_dereference(tp->root); in fl_delete() 1037 struct cls_fl_head *head = rtnl_dereference(tp->root); in fl_walk() 1181 struct cls_fl_head *head = rtnl_dereference(tp->root); in fl_dump()
|
/net/netfilter/ |
D | nft_set_rbtree.c | 22 struct rb_root root; member 55 parent = rcu_dereference_raw(priv->root.rb_node); in __nft_rbtree_lookup() 127 p = &priv->root.rb_node; in __nft_rbtree_insert() 154 rb_insert_color(&new->node, &priv->root); in __nft_rbtree_insert() 184 rb_erase(&rbe->node, &priv->root); in nft_rbtree_remove() 212 const struct rb_node *parent = priv->root.rb_node; in nft_rbtree_deactivate() 256 for (node = rb_first(&priv->root); node != NULL; node = rb_next(node)) { in nft_rbtree_walk() 291 priv->root = RB_ROOT; in nft_rbtree_init() 301 while ((node = priv->root.rb_node) != NULL) { in nft_rbtree_destroy() 302 rb_erase(node, &priv->root); in nft_rbtree_destroy()
|
D | xt_connlimit.c | 227 static void tree_nodes_free(struct rb_root *root, in tree_nodes_free() argument 235 rb_erase(&rbconn->node, root); in tree_nodes_free() 241 count_tree(struct net *net, struct rb_root *root, in count_tree() argument 256 rbnode = &(root->rb_node); in count_tree() 276 tree_nodes_free(root, gc_nodes, gc_count); in count_tree() 297 tree_nodes_free(root, gc_nodes, gc_count); in count_tree() 326 rb_insert_color(&rbconn->node, root); in count_tree() 338 struct rb_root *root; in count_them() local 346 root = &data->climit_root[hash]; in count_them() 350 count = count_tree(net, root, tuple, addr, mask, family, zone); in count_them()
|
/net/ipv6/ |
D | ip6_fib.c | 384 w->root = &tb->tb6_root; in fib6_table_dump() 477 w->root = &table->tb6_root; in fib6_dump_table() 488 cb->args[5] = w->root->fn_sernum; in fib6_dump_table() 491 if (cb->args[5] != w->root->fn_sernum) { in fib6_dump_table() 493 cb->args[5] = w->root->fn_sernum; in fib6_dump_table() 495 w->node = w->root; in fib6_dump_table() 583 static struct fib6_node *fib6_add_1(struct fib6_node *root, in fib6_add_1() argument 599 fn = root; in fib6_add_1() 1087 int fib6_add(struct fib6_node *root, struct rt6_info *rt, in fib6_add() argument 1109 fn = fib6_add_1(root, &rt->rt6i_dst.addr, rt->rt6i_dst.plen, in fib6_add() [all …]
|
/net/bridge/netfilter/ |
D | ebt_stp.c | 30 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/ |
D | rpc_pipe.c | 1326 rpc_gssd_dummy_populate(struct dentry *root, struct rpc_pipe *pipe_data) in rpc_gssd_dummy_populate() argument 1336 gssd_dentry = d_hash_and_lookup(root, &q); in rpc_gssd_dummy_populate() 1389 struct dentry *root, *gssd_dentry; in rpc_fill_super() local 1402 sb->s_root = root = d_make_root(inode); in rpc_fill_super() 1403 if (!root) in rpc_fill_super() 1405 if (rpc_populate(root, files, RPCAUTH_lockd, RPCAUTH_RootEOF, NULL)) in rpc_fill_super() 1408 gssd_dentry = rpc_gssd_dummy_populate(root, sn->gssd_dummy); in rpc_fill_super() 1410 __rpc_depopulate(root, files, RPCAUTH_lockd, RPCAUTH_RootEOF); in rpc_fill_super() 1432 __rpc_depopulate(root, files, RPCAUTH_lockd, RPCAUTH_RootEOF); in rpc_fill_super()
|
/net/ipv4/ |
D | inet_fragment.c | 181 unsigned int inet_frag_rbtree_purge(struct rb_root *root) in inet_frag_rbtree_purge() argument 183 struct rb_node *p = rb_first(root); in inet_frag_rbtree_purge() 190 rb_erase(&skb->rbnode, root); in inet_frag_rbtree_purge()
|