Lines Matching refs:tipc_node

115 struct tipc_node {  struct
174 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
177 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
179 static void node_lost_contact(struct tipc_node *n, struct sk_buff_head *inputq);
180 static void tipc_node_delete(struct tipc_node *node);
182 static void tipc_node_fsm_evt(struct tipc_node *n, int evt);
183 static struct tipc_node *tipc_node_find(struct net *net, u32 addr);
184 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id);
185 static bool node_is_up(struct tipc_node *n);
186 static void tipc_node_delete_from_list(struct tipc_node *node);
195 static struct tipc_link *node_active_link(struct tipc_node *n, int sel) in node_active_link()
207 struct tipc_node *n; in tipc_node_get_mtu()
233 struct tipc_node *n; in tipc_node_get_id()
253 struct tipc_node *n; in tipc_node_get_capabilities()
264 u32 tipc_node_get_addr(struct tipc_node *node) in tipc_node_get_addr()
269 char *tipc_node_get_id_str(struct tipc_node *node) in tipc_node_get_id_str()
280 struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n) in tipc_node_crypto_rx()
287 return container_of(pos, struct tipc_node, list)->crypto_rx; in tipc_node_crypto_rx_by_list()
292 struct tipc_node *n; in tipc_node_crypto_rx_by_addr()
301 struct tipc_node *n = container_of(rp, struct tipc_node, rcu); in tipc_node_free()
311 struct tipc_node *n = container_of(kref, struct tipc_node, kref); in tipc_node_kref_release()
317 void tipc_node_put(struct tipc_node *node) in tipc_node_put()
322 void tipc_node_get(struct tipc_node *node) in tipc_node_get()
330 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
333 struct tipc_node *node; in tipc_node_find()
352 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
355 struct tipc_node *n; in tipc_node_find_by_id()
372 static void tipc_node_read_lock(struct tipc_node *n) in tipc_node_read_lock()
378 static void tipc_node_read_unlock(struct tipc_node *n) in tipc_node_read_unlock()
384 static void tipc_node_write_lock(struct tipc_node *n) in tipc_node_write_lock()
390 static void tipc_node_write_unlock_fast(struct tipc_node *n) in tipc_node_write_unlock_fast()
396 static void tipc_node_write_unlock(struct tipc_node *n) in tipc_node_write_unlock()
440 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes) in tipc_node_assign_peer_net()
468 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id, in tipc_node_create()
474 struct tipc_node *n, *temp_node; in tipc_node_create()
613 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l) in tipc_node_calculate_timer()
626 static void tipc_node_delete_from_list(struct tipc_node *node) in tipc_node_delete_from_list()
636 static void tipc_node_delete(struct tipc_node *node) in tipc_node_delete()
648 struct tipc_node *node, *t_node; in tipc_node_stop()
658 struct tipc_node *n; in tipc_node_subscribe()
676 struct tipc_node *n; in tipc_node_unsubscribe()
694 struct tipc_node *node; in tipc_node_add_conn()
725 struct tipc_node *node; in tipc_node_remove_conn()
746 static void tipc_node_clear_links(struct tipc_node *node) in tipc_node_clear_links()
764 static bool tipc_node_cleanup(struct tipc_node *peer) in tipc_node_cleanup()
766 struct tipc_node *temp_node; in tipc_node_cleanup()
803 struct tipc_node *n = from_timer(n, t, timer); in tipc_node_timeout()
856 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, in __tipc_node_link_up()
925 static void tipc_node_link_up(struct tipc_node *n, int bearer_id, in tipc_node_link_up()
958 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l, in tipc_node_link_failover()
988 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, in __tipc_node_link_down()
1062 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) in tipc_node_link_down()
1097 static bool node_is_up(struct tipc_node *n) in node_is_up()
1104 struct tipc_node *n; in tipc_node_is_up()
1120 struct tipc_node *n; in tipc_node_suggest_addr()
1136 struct tipc_node *n; in tipc_node_try_addr()
1174 struct tipc_node *n; in tipc_node_check_dest()
1316 struct tipc_node *n; in tipc_node_delete_links()
1325 static void tipc_node_reset_links(struct tipc_node *n) in tipc_node_reset_links()
1340 static void tipc_node_fsm_evt(struct tipc_node *n, int evt) in tipc_node_fsm_evt()
1516 static void node_lost_contact(struct tipc_node *n, in node_lost_contact()
1573 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
1594 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) in __tipc_nl_add_node()
1691 struct tipc_node *n; in tipc_node_xmit()
1790 struct tipc_node *n; in tipc_node_broadcast()
1820 static void tipc_node_mcast_rcv(struct tipc_node *n) in tipc_node_mcast_rcv()
1833 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr, in tipc_node_bc_sync_rcv()
1878 struct tipc_node *n; in tipc_node_bc_rcv()
1930 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb, in tipc_node_check_state()
2088 struct tipc_node *n; in tipc_rcv()
2212 struct tipc_node *n; in tipc_node_apply_property()
2244 struct tipc_node *peer, *temp_node; in tipc_nl_peer_rm()
2321 struct tipc_node *node; in tipc_nl_node_dump()
2385 static struct tipc_node *tipc_node_find_by_name(struct net *net, in tipc_node_find_by_name()
2391 struct tipc_node *n; in tipc_node_find_by_name()
2392 struct tipc_node *found_node = NULL; in tipc_node_find_by_name()
2423 struct tipc_node *node; in tipc_nl_node_set_link()
2532 struct tipc_node *node; in tipc_nl_node_get_link()
2568 struct tipc_node *node; in tipc_nl_node_reset_link_stats()
2631 struct tipc_node *node, u32 *prev_link, in __tipc_nl_add_node_links()
2667 struct tipc_node *node; in tipc_nl_node_dump_link()
2965 struct tipc_node *n = NULL; in __tipc_nl_node_set_key()
3057 struct tipc_node *n; in __tipc_nl_node_flush_key()
3088 int tipc_node_dump(struct tipc_node *n, bool more, char *buf) in tipc_node_dump()
3139 struct tipc_node *n; in tipc_node_pre_cleanup_net()