Searched refs:node_db (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/net/hsr/ |
D | hsr_framereg.c | 69 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 …]
|
D | hsr_framereg.h | 33 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,
|
D | hsr_debugfs.c | 34 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
|
D | hsr_main.h | 197 struct list_head node_db; /* Known HSR nodes */ member
|
D | hsr_forward.c | 462 hsr_is_node_in_db(&port->hsr->node_db, in hsr_drop_frame() 674 n_db = &hsr->node_db; in fill_frame_info()
|
D | hsr_netlink.c | 140 hsr_del_nodes(&hsr->node_db); in hsr_dellink()
|
D | hsr_device.c | 605 INIT_LIST_HEAD(&hsr->node_db); in hsr_dev_finalize()
|