Lines Matching refs:node_db
62 static struct hsr_node *find_node_by_addr_A(struct list_head *node_db,
67 list_for_each_entry_rcu(node, node_db, mac_list) {
121 void hsr_del_nodes(struct list_head *node_db)
126 list_for_each_entry_safe(node, tmp, node_db, mac_list)
143 /* Allocate an hsr_node and add it to node_db. 'addr' is the node's address_A;
148 struct list_head *node_db,
179 list_for_each_entry_rcu(node, node_db, mac_list,
186 list_add_tail_rcu(&new_node->mac_list, node_db);
206 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db,
222 list_for_each_entry_rcu(node, node_db, mac_list) {
255 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out,
271 struct list_head *node_db;
301 node_db = &port_rcv->hsr->node_db;
302 node_real = find_node_by_addr_A(node_db, hsr_sp->macaddress_A);
305 node_real = hsr_add_node(hsr, node_db, hsr_sp->macaddress_A,
380 node_dst = find_node_by_addr_A(&port->hsr->node_db,
466 list_for_each_entry_safe(node, tmp, &hsr->node_db, mac_list) {
527 node = list_first_or_null_rcu(&hsr->node_db,
535 list_for_each_entry_continue_rcu(node, &hsr->node_db, mac_list) {
556 node = find_node_by_addr_A(&hsr->node_db, addr);