Lines Matching refs:tn
93 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_find() local
100 hlist_for_each_entry_rcu(node, &tn->node_htable[tipc_hashfn(addr)], in tipc_node_find()
114 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_create() local
117 spin_lock_bh(&tn->node_list_lock); in tipc_node_create()
135 hlist_add_head_rcu(&n_ptr->hash, &tn->node_htable[tipc_hashfn(addr)]); in tipc_node_create()
136 list_for_each_entry_rcu(temp_node, &tn->node_list, list) { in tipc_node_create()
145 spin_unlock_bh(&tn->node_list_lock); in tipc_node_create()
158 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_stop() local
161 spin_lock_bh(&tn->node_list_lock); in tipc_node_stop()
162 list_for_each_entry_safe(node, t_node, &tn->node_list, list) in tipc_node_stop()
164 spin_unlock_bh(&tn->node_list_lock); in tipc_node_stop()
293 struct tipc_net *tn = net_generic(n_ptr->net, tipc_net_id); in tipc_node_link_down() local
327 if (n_ptr->addr == tn->own_addr) { in tipc_node_link_down()
375 struct tipc_net *tn = net_generic(n_ptr->net, tipc_net_id); in node_lost_contact() local
420 SHORT_H_SIZE, 0, tn->own_addr, in node_lost_contact()
565 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nl_node_dump() local
596 list_for_each_entry_rcu(node, &tn->node_list, list) { in tipc_nl_node_dump()