Lines Matching refs:tipc_node

108 struct tipc_node {  struct
167 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
170 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
172 static void node_lost_contact(struct tipc_node *n, struct sk_buff_head *inputq);
173 static void tipc_node_delete(struct tipc_node *node);
175 static void tipc_node_fsm_evt(struct tipc_node *n, int evt);
176 static struct tipc_node *tipc_node_find(struct net *net, u32 addr);
177 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id);
178 static bool node_is_up(struct tipc_node *n);
179 static void tipc_node_delete_from_list(struct tipc_node *node);
188 static struct tipc_link *node_active_link(struct tipc_node *n, int sel) in node_active_link()
200 struct tipc_node *n; in tipc_node_get_mtu()
226 struct tipc_node *n; in tipc_node_get_id()
246 struct tipc_node *n; in tipc_node_get_capabilities()
257 u32 tipc_node_get_addr(struct tipc_node *node) in tipc_node_get_addr()
262 char *tipc_node_get_id_str(struct tipc_node *node) in tipc_node_get_id_str()
272 struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n) in tipc_node_crypto_rx()
279 return container_of(pos, struct tipc_node, list)->crypto_rx; in tipc_node_crypto_rx_by_list()
284 struct tipc_node *n; in tipc_node_crypto_rx_by_addr()
293 struct tipc_node *n = container_of(rp, struct tipc_node, rcu); in tipc_node_free()
303 struct tipc_node *n = container_of(kref, struct tipc_node, kref); in tipc_node_kref_release()
309 void tipc_node_put(struct tipc_node *node) in tipc_node_put()
314 void tipc_node_get(struct tipc_node *node) in tipc_node_get()
322 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
325 struct tipc_node *node; in tipc_node_find()
344 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
347 struct tipc_node *n; in tipc_node_find_by_id()
364 static void tipc_node_read_lock(struct tipc_node *n) in tipc_node_read_lock()
369 static void tipc_node_read_unlock(struct tipc_node *n) in tipc_node_read_unlock()
374 static void tipc_node_write_lock(struct tipc_node *n) in tipc_node_write_lock()
379 static void tipc_node_write_unlock_fast(struct tipc_node *n) in tipc_node_write_unlock_fast()
384 static void tipc_node_write_unlock(struct tipc_node *n) in tipc_node_write_unlock()
426 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes) in tipc_node_assign_peer_net()
454 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id, in tipc_node_create()
460 struct tipc_node *n, *temp_node; in tipc_node_create()
599 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l) in tipc_node_calculate_timer()
612 static void tipc_node_delete_from_list(struct tipc_node *node) in tipc_node_delete_from_list()
622 static void tipc_node_delete(struct tipc_node *node) in tipc_node_delete()
634 struct tipc_node *node, *t_node; in tipc_node_stop()
644 struct tipc_node *n; in tipc_node_subscribe()
662 struct tipc_node *n; in tipc_node_unsubscribe()
680 struct tipc_node *node; in tipc_node_add_conn()
711 struct tipc_node *node; in tipc_node_remove_conn()
732 static void tipc_node_clear_links(struct tipc_node *node) in tipc_node_clear_links()
750 static bool tipc_node_cleanup(struct tipc_node *peer) in tipc_node_cleanup()
752 struct tipc_node *temp_node; in tipc_node_cleanup()
789 struct tipc_node *n = from_timer(n, t, timer); in tipc_node_timeout()
839 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, in __tipc_node_link_up()
905 static void tipc_node_link_up(struct tipc_node *n, int bearer_id, in tipc_node_link_up()
937 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l, in tipc_node_link_failover()
963 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, in __tipc_node_link_down()
1037 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) in tipc_node_link_down()
1072 static bool node_is_up(struct tipc_node *n) in node_is_up()
1079 struct tipc_node *n; in tipc_node_is_up()
1095 struct tipc_node *n; in tipc_node_suggest_addr()
1111 struct tipc_node *n; in tipc_node_try_addr()
1149 struct tipc_node *n; in tipc_node_check_dest()
1287 struct tipc_node *n; in tipc_node_delete_links()
1296 static void tipc_node_reset_links(struct tipc_node *n) in tipc_node_reset_links()
1311 static void tipc_node_fsm_evt(struct tipc_node *n, int evt) in tipc_node_fsm_evt()
1487 static void node_lost_contact(struct tipc_node *n, in node_lost_contact()
1542 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
1563 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) in __tipc_nl_add_node()
1660 struct tipc_node *n; in tipc_node_xmit()
1759 struct tipc_node *n; in tipc_node_broadcast()
1789 static void tipc_node_mcast_rcv(struct tipc_node *n) in tipc_node_mcast_rcv()
1802 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr, in tipc_node_bc_sync_rcv()
1847 struct tipc_node *n; in tipc_node_bc_rcv()
1897 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb, in tipc_node_check_state()
2055 struct tipc_node *n; in tipc_rcv()
2178 struct tipc_node *n; in tipc_node_apply_property()
2210 struct tipc_node *peer, *temp_node; in tipc_nl_peer_rm()
2272 struct tipc_node *node; in tipc_nl_node_dump()
2336 static struct tipc_node *tipc_node_find_by_name(struct net *net, in tipc_node_find_by_name()
2342 struct tipc_node *n; in tipc_node_find_by_name()
2343 struct tipc_node *found_node = NULL; in tipc_node_find_by_name()
2374 struct tipc_node *node; in tipc_nl_node_set_link()
2483 struct tipc_node *node; in tipc_nl_node_get_link()
2519 struct tipc_node *node; in tipc_nl_node_reset_link_stats()
2582 struct tipc_node *node, u32 *prev_link, in __tipc_nl_add_node_links()
2618 struct tipc_node *node; in tipc_nl_node_dump_link()
2916 struct tipc_node *n = NULL; in __tipc_nl_node_set_key()
3008 struct tipc_node *n; in __tipc_nl_node_flush_key()
3039 int tipc_node_dump(struct tipc_node *n, bool more, char *buf) in tipc_node_dump()
3090 struct tipc_node *n; in tipc_node_pre_cleanup_net()