Lines Matching refs:net
91 struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find() argument
93 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_find()
96 if (unlikely(!in_own_cluster_exact(net, addr))) in tipc_node_find()
112 struct tipc_node *tipc_node_create(struct net *net, u32 addr) in tipc_node_create() argument
114 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_create()
118 n_ptr = tipc_node_find(net, addr); in tipc_node_create()
127 n_ptr->net = net; in tipc_node_create()
156 void tipc_node_stop(struct net *net) in tipc_node_stop() argument
158 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_stop()
167 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() argument
173 if (in_own_node(net, dnode)) in tipc_node_add_conn()
176 node = tipc_node_find(net, dnode); in tipc_node_add_conn()
198 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() argument
203 if (in_own_node(net, dnode)) in tipc_node_remove_conn()
206 node = tipc_node_find(net, dnode); in tipc_node_remove_conn()
293 struct tipc_net *tn = net_generic(n_ptr->net, tipc_net_id); in tipc_node_link_down()
365 n_ptr->bclink.acked = tipc_bclink_get_last_sent(n_ptr->net); in node_established_contact()
366 tipc_bclink_add_node(n_ptr->net, n_ptr->addr); in node_established_contact()
375 struct tipc_net *tn = net_generic(n_ptr->net, tipc_net_id); in node_lost_contact()
390 tipc_bclink_remove_node(n_ptr->net, n_ptr->addr); in node_lost_contact()
441 int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 addr, in tipc_node_get_linkname() argument
446 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
468 struct net *net = node->net; in tipc_node_unlock() local
480 tipc_sk_rcv(net, inputq); in tipc_node_unlock()
498 tipc_publ_notify(net, publ_list, addr); in tipc_node_unlock()
501 tipc_bclink_wakeup_users(net); in tipc_node_unlock()
504 tipc_named_node_up(net, addr); in tipc_node_unlock()
507 tipc_nametbl_publish(net, TIPC_LINK_STATE, addr, addr, in tipc_node_unlock()
511 tipc_nametbl_withdraw(net, TIPC_LINK_STATE, addr, in tipc_node_unlock()
515 tipc_sk_rcv(net, inputq); in tipc_node_unlock()
518 tipc_named_rcv(net, namedq); in tipc_node_unlock()
521 tipc_bclink_input(net); in tipc_node_unlock()
564 struct net *net = sock_net(skb->sk); in tipc_nl_node_dump() local
565 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nl_node_dump()
580 node = tipc_node_find(net, last_addr); in tipc_nl_node_dump()