Lines Matching refs:tipc_node
117 struct tipc_node { struct
176 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
179 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
181 static void node_lost_contact(struct tipc_node *n, struct sk_buff_head *inputq);
182 static void tipc_node_delete(struct tipc_node *node);
184 static void tipc_node_fsm_evt(struct tipc_node *n, int evt);
185 static struct tipc_node *tipc_node_find(struct net *net, u32 addr);
186 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id);
187 static bool node_is_up(struct tipc_node *n);
188 static void tipc_node_delete_from_list(struct tipc_node *node);
197 static struct tipc_link *node_active_link(struct tipc_node *n, int sel) in node_active_link()
209 struct tipc_node *n; in tipc_node_get_mtu()
235 struct tipc_node *n; in tipc_node_get_id()
255 struct tipc_node *n; in tipc_node_get_capabilities()
266 u32 tipc_node_get_addr(struct tipc_node *node) in tipc_node_get_addr()
271 char *tipc_node_get_id_str(struct tipc_node *node) in tipc_node_get_id_str()
282 struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n) in tipc_node_crypto_rx()
289 return container_of(pos, struct tipc_node, list)->crypto_rx; in tipc_node_crypto_rx_by_list()
294 struct tipc_node *n; in tipc_node_crypto_rx_by_addr()
303 struct tipc_node *n = container_of(rp, struct tipc_node, rcu); in tipc_node_free()
313 struct tipc_node *n = container_of(kref, struct tipc_node, kref); in tipc_node_kref_release()
319 void tipc_node_put(struct tipc_node *node) in tipc_node_put()
324 void tipc_node_get(struct tipc_node *node) in tipc_node_get()
332 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
335 struct tipc_node *node; in tipc_node_find()
354 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
357 struct tipc_node *n; in tipc_node_find_by_id()
374 static void tipc_node_read_lock(struct tipc_node *n) in tipc_node_read_lock()
380 static void tipc_node_read_unlock(struct tipc_node *n) in tipc_node_read_unlock()
386 static void tipc_node_write_lock(struct tipc_node *n) in tipc_node_write_lock()
392 static void tipc_node_write_unlock_fast(struct tipc_node *n) in tipc_node_write_unlock_fast()
398 static void tipc_node_write_unlock(struct tipc_node *n) in tipc_node_write_unlock()
442 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes) in tipc_node_assign_peer_net()
470 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id, in tipc_node_create()
476 struct tipc_node *n, *temp_node; in tipc_node_create()
615 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l) in tipc_node_calculate_timer()
628 static void tipc_node_delete_from_list(struct tipc_node *node) in tipc_node_delete_from_list()
638 static void tipc_node_delete(struct tipc_node *node) in tipc_node_delete()
650 struct tipc_node *node, *t_node; in tipc_node_stop()
660 struct tipc_node *n; in tipc_node_subscribe()
678 struct tipc_node *n; in tipc_node_unsubscribe()
696 struct tipc_node *node; in tipc_node_add_conn()
727 struct tipc_node *node; in tipc_node_remove_conn()
748 static void tipc_node_clear_links(struct tipc_node *node) in tipc_node_clear_links()
766 static bool tipc_node_cleanup(struct tipc_node *peer) in tipc_node_cleanup()
768 struct tipc_node *temp_node; in tipc_node_cleanup()
805 struct tipc_node *n = from_timer(n, t, timer); in tipc_node_timeout()
858 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, in __tipc_node_link_up()
927 static void tipc_node_link_up(struct tipc_node *n, int bearer_id, in tipc_node_link_up()
960 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l, in tipc_node_link_failover()
990 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, in __tipc_node_link_down()
1064 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) in tipc_node_link_down()
1099 static bool node_is_up(struct tipc_node *n) in node_is_up()
1106 struct tipc_node *n; in tipc_node_is_up()
1122 struct tipc_node *n; in tipc_node_suggest_addr()
1138 struct tipc_node *n; in tipc_node_try_addr()
1176 struct tipc_node *n; in tipc_node_check_dest()
1314 struct tipc_node *n; in tipc_node_delete_links()
1323 static void tipc_node_reset_links(struct tipc_node *n) in tipc_node_reset_links()
1338 static void tipc_node_fsm_evt(struct tipc_node *n, int evt) in tipc_node_fsm_evt()
1514 static void node_lost_contact(struct tipc_node *n, in node_lost_contact()
1571 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
1592 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) in __tipc_nl_add_node()
1689 struct tipc_node *n; in tipc_node_xmit()
1788 struct tipc_node *n; in tipc_node_broadcast()
1818 static void tipc_node_mcast_rcv(struct tipc_node *n) in tipc_node_mcast_rcv()
1831 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr, in tipc_node_bc_sync_rcv()
1876 struct tipc_node *n; in tipc_node_bc_rcv()
1928 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb, in tipc_node_check_state()
2086 struct tipc_node *n; in tipc_rcv()
2209 struct tipc_node *n; in tipc_node_apply_property()
2241 struct tipc_node *peer, *temp_node; in tipc_nl_peer_rm()
2318 struct tipc_node *node; in tipc_nl_node_dump()
2382 static struct tipc_node *tipc_node_find_by_name(struct net *net, in tipc_node_find_by_name()
2388 struct tipc_node *n; in tipc_node_find_by_name()
2389 struct tipc_node *found_node = NULL; in tipc_node_find_by_name()
2420 struct tipc_node *node; in tipc_nl_node_set_link()
2529 struct tipc_node *node; in tipc_nl_node_get_link()
2565 struct tipc_node *node; in tipc_nl_node_reset_link_stats()
2628 struct tipc_node *node, u32 *prev_link, in __tipc_nl_add_node_links()
2664 struct tipc_node *node; in tipc_nl_node_dump_link()
2962 struct tipc_node *n = NULL; in __tipc_nl_node_set_key()
3054 struct tipc_node *n; in __tipc_nl_node_flush_key()
3085 int tipc_node_dump(struct tipc_node *n, bool more, char *buf) in tipc_node_dump()
3136 struct tipc_node *n; in tipc_node_pre_cleanup_net()