Home
last modified time | relevance | path

Searched refs:node_db (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/net/hsr/
Dhsr_framereg.c69 static struct hsr_node *find_node_by_addr_A(struct list_head *node_db, in find_node_by_addr_A() argument
74 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
84 bool hsr_is_node_in_db(struct list_head *node_db, in hsr_is_node_in_db() argument
87 return !!find_node_by_addr_A(node_db, addr); in hsr_is_node_in_db()
128 void hsr_del_nodes(struct list_head *node_db) in hsr_del_nodes() argument
133 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes()
155 struct list_head *node_db, in hsr_add_node() argument
186 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node()
193 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node()
213 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db, in hsr_get_node() argument
[all …]
Dhsr_framereg.h33 void hsr_del_nodes(struct list_head *node_db);
34 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db,
73 bool hsr_is_node_in_db(struct list_head *node_db,
Dhsr_debugfs.c34 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
Dhsr_main.h197 struct list_head node_db; /* Known HSR nodes */ member
Dhsr_forward.c462 hsr_is_node_in_db(&port->hsr->node_db, in hsr_drop_frame()
674 n_db = &hsr->node_db; in fill_frame_info()
Dhsr_netlink.c140 hsr_del_nodes(&hsr->node_db); in hsr_dellink()
Dhsr_device.c605 INIT_LIST_HEAD(&hsr->node_db); in hsr_dev_finalize()