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()
441 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes) in tipc_node_assign_peer_net()
469 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()
595 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l) in tipc_node_calculate_timer()
608 static void tipc_node_delete_from_list(struct tipc_node *node) in tipc_node_delete_from_list()
618 static void tipc_node_delete(struct tipc_node *node) in tipc_node_delete()
630 struct tipc_node *node, *t_node; in tipc_node_stop()
640 struct tipc_node *n; in tipc_node_subscribe()
658 struct tipc_node *n; in tipc_node_unsubscribe()
676 struct tipc_node *node; in tipc_node_add_conn()
707 struct tipc_node *node; in tipc_node_remove_conn()
728 static void tipc_node_clear_links(struct tipc_node *node) in tipc_node_clear_links()
746 static bool tipc_node_cleanup(struct tipc_node *peer) in tipc_node_cleanup()
748 struct tipc_node *temp_node; in tipc_node_cleanup()
785 struct tipc_node *n = from_timer(n, t, timer); in tipc_node_timeout()
838 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, in __tipc_node_link_up()
907 static void tipc_node_link_up(struct tipc_node *n, int bearer_id, in tipc_node_link_up()
940 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l, in tipc_node_link_failover()
970 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, in __tipc_node_link_down()
1044 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) in tipc_node_link_down()
1079 static bool node_is_up(struct tipc_node *n) in node_is_up()
1086 struct tipc_node *n; in tipc_node_is_up()
1102 struct tipc_node *n; in tipc_node_suggest_addr()
1118 struct tipc_node *n; in tipc_node_try_addr()
1156 struct tipc_node *n; in tipc_node_check_dest()
1310 struct tipc_node *n; in tipc_node_delete_links()
1319 static void tipc_node_reset_links(struct tipc_node *n) in tipc_node_reset_links()
1334 static void tipc_node_fsm_evt(struct tipc_node *n, int evt) in tipc_node_fsm_evt()
1510 static void node_lost_contact(struct tipc_node *n, in node_lost_contact()
1567 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
1588 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) in __tipc_nl_add_node()
1685 struct tipc_node *n; in tipc_node_xmit()
1778 struct tipc_node *n; in tipc_node_broadcast()
1808 static void tipc_node_mcast_rcv(struct tipc_node *n) in tipc_node_mcast_rcv()
1821 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr, in tipc_node_bc_sync_rcv()
1866 struct tipc_node *n; in tipc_node_bc_rcv()
1918 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb, in tipc_node_check_state()
2076 struct tipc_node *n; in tipc_rcv()
2199 struct tipc_node *n; in tipc_node_apply_property()
2231 struct tipc_node *peer, *temp_node; in tipc_nl_peer_rm()
2308 struct tipc_node *node; in tipc_nl_node_dump()
2372 static struct tipc_node *tipc_node_find_by_name(struct net *net, in tipc_node_find_by_name()
2378 struct tipc_node *n; in tipc_node_find_by_name()
2379 struct tipc_node *found_node = NULL; in tipc_node_find_by_name()
2410 struct tipc_node *node; in tipc_nl_node_set_link()
2519 struct tipc_node *node; in tipc_nl_node_get_link()
2555 struct tipc_node *node; in tipc_nl_node_reset_link_stats()
2618 struct tipc_node *node, u32 *prev_link, in __tipc_nl_add_node_links()
2654 struct tipc_node *node; in tipc_nl_node_dump_link()
2952 struct tipc_node *n = NULL; in __tipc_nl_node_set_key()
3044 struct tipc_node *n; in __tipc_nl_node_flush_key()
3075 int tipc_node_dump(struct tipc_node *n, bool more, char *buf) in tipc_node_dump()
3126 struct tipc_node *n; in tipc_node_pre_cleanup_net()