Lines Matching refs:node_db
61 static struct hsr_node *find_node_by_addr_A(struct list_head *node_db,
66 list_for_each_entry_rcu(node, node_db, mac_list) {
112 void hsr_del_nodes(struct list_head *node_db)
117 list_for_each_entry_safe(node, tmp, node_db, mac_list)
134 /* Allocate an hsr_node and add it to node_db. 'addr' is the node's address_A;
139 struct list_head *node_db,
170 list_for_each_entry_rcu(node, node_db, mac_list,
177 list_add_tail_rcu(&new_node->mac_list, node_db);
197 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db,
213 list_for_each_entry_rcu(node, node_db, mac_list) {
250 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out,
267 struct list_head *node_db;
309 node_db = &port_rcv->hsr->node_db;
310 node_real = find_node_by_addr_A(node_db, hsr_sp->macaddress_A);
313 node_real = hsr_add_node(hsr, node_db, hsr_sp->macaddress_A,
419 node_dst = find_node_by_addr_A(&port->hsr->node_db,
506 list_for_each_entry_safe(node, tmp, &hsr->node_db, mac_list) {
570 node = list_first_or_null_rcu(&hsr->node_db,
578 list_for_each_entry_continue_rcu(node, &hsr->node_db, mac_list) {
599 node = find_node_by_addr_A(&hsr->node_db, addr);