Lines Matching refs:node_db

60 static struct hsr_node *find_node_by_addr_A(struct list_head *node_db,  in find_node_by_addr_A()  argument
65 list_for_each_entry_rcu(node, node_db, mac_list) { in find_node_by_addr_A()
119 void hsr_del_nodes(struct list_head *node_db) in hsr_del_nodes() argument
124 list_for_each_entry_safe(node, tmp, node_db, mac_list) in hsr_del_nodes()
146 struct list_head *node_db, in hsr_add_node() argument
177 list_for_each_entry_rcu(node, node_db, mac_list, in hsr_add_node()
184 list_add_tail_rcu(&new_node->mac_list, node_db); in hsr_add_node()
204 struct hsr_node *hsr_get_node(struct hsr_port *port, struct list_head *node_db, in hsr_get_node() argument
220 list_for_each_entry_rcu(node, node_db, mac_list) { in hsr_get_node()
253 return hsr_add_node(hsr, node_db, ethhdr->h_source, seq_out, in hsr_get_node()
270 struct list_head *node_db; in hsr_handle_sup_frame() local
312 node_db = &port_rcv->hsr->node_db; in hsr_handle_sup_frame()
313 node_real = find_node_by_addr_A(node_db, hsr_sp->macaddress_A); in hsr_handle_sup_frame()
316 node_real = hsr_add_node(hsr, node_db, hsr_sp->macaddress_A, in hsr_handle_sup_frame()
422 node_dst = find_node_by_addr_A(&port->hsr->node_db, in hsr_addr_subst_dest()
509 list_for_each_entry_safe(node, tmp, &hsr->node_db, mac_list) { in hsr_prune_nodes()
573 node = list_first_or_null_rcu(&hsr->node_db, in hsr_get_next_node()
581 list_for_each_entry_continue_rcu(node, &hsr->node_db, mac_list) { in hsr_get_next_node()
602 node = find_node_by_addr_A(&hsr->node_db, addr); in hsr_get_node_data()