Lines Matching refs:tipc_node
103 struct tipc_node { struct
155 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
158 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
160 static void node_lost_contact(struct tipc_node *n, struct sk_buff_head *inputq);
161 static void tipc_node_delete(struct tipc_node *node);
163 static void tipc_node_fsm_evt(struct tipc_node *n, int evt);
164 static struct tipc_node *tipc_node_find(struct net *net, u32 addr);
165 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id);
166 static void tipc_node_put(struct tipc_node *node);
167 static bool node_is_up(struct tipc_node *n);
168 static void tipc_node_delete_from_list(struct tipc_node *node);
177 static struct tipc_link *node_active_link(struct tipc_node *n, int sel) in node_active_link()
189 struct tipc_node *n; in tipc_node_get_mtu()
207 struct tipc_node *n; in tipc_node_get_id()
227 struct tipc_node *n; in tipc_node_get_capabilities()
240 struct tipc_node *n = container_of(kref, struct tipc_node, kref); in tipc_node_kref_release()
246 static void tipc_node_put(struct tipc_node *node) in tipc_node_put()
251 static void tipc_node_get(struct tipc_node *node) in tipc_node_get()
259 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
262 struct tipc_node *node; in tipc_node_find()
281 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
284 struct tipc_node *n; in tipc_node_find_by_id()
301 static void tipc_node_read_lock(struct tipc_node *n) in tipc_node_read_lock()
306 static void tipc_node_read_unlock(struct tipc_node *n) in tipc_node_read_unlock()
311 static void tipc_node_write_lock(struct tipc_node *n) in tipc_node_write_lock()
316 static void tipc_node_write_unlock_fast(struct tipc_node *n) in tipc_node_write_unlock_fast()
321 static void tipc_node_write_unlock(struct tipc_node *n) in tipc_node_write_unlock()
363 static struct tipc_node *tipc_node_create(struct net *net, u32 addr, in tipc_node_create()
367 struct tipc_node *n, *temp_node; in tipc_node_create()
453 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l) in tipc_node_calculate_timer()
466 static void tipc_node_delete_from_list(struct tipc_node *node) in tipc_node_delete_from_list()
473 static void tipc_node_delete(struct tipc_node *node) in tipc_node_delete()
485 struct tipc_node *node, *t_node; in tipc_node_stop()
495 struct tipc_node *n; in tipc_node_subscribe()
513 struct tipc_node *n; in tipc_node_unsubscribe()
531 struct tipc_node *node; in tipc_node_add_conn()
562 struct tipc_node *node; in tipc_node_remove_conn()
583 static void tipc_node_clear_links(struct tipc_node *node) in tipc_node_clear_links()
601 static bool tipc_node_cleanup(struct tipc_node *peer) in tipc_node_cleanup()
603 struct tipc_node *temp_node; in tipc_node_cleanup()
634 struct tipc_node *n = from_timer(n, t, timer); in tipc_node_timeout()
680 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, in __tipc_node_link_up()
746 static void tipc_node_link_up(struct tipc_node *n, int bearer_id, in tipc_node_link_up()
778 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l, in tipc_node_link_failover()
804 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, in __tipc_node_link_down()
878 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) in tipc_node_link_down()
913 static bool node_is_up(struct tipc_node *n) in node_is_up()
920 struct tipc_node *n; in tipc_node_is_up()
936 struct tipc_node *n; in tipc_node_suggest_addr()
952 struct tipc_node *n; in tipc_node_try_addr()
986 struct tipc_node *n; in tipc_node_check_dest()
1120 struct tipc_node *n; in tipc_node_delete_links()
1129 static void tipc_node_reset_links(struct tipc_node *n) in tipc_node_reset_links()
1144 static void tipc_node_fsm_evt(struct tipc_node *n, int evt) in tipc_node_fsm_evt()
1320 static void node_lost_contact(struct tipc_node *n, in node_lost_contact()
1373 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
1394 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) in __tipc_nl_add_node()
1440 struct tipc_node *n; in tipc_node_xmit()
1520 struct tipc_node *n; in tipc_node_broadcast()
1541 static void tipc_node_mcast_rcv(struct tipc_node *n) in tipc_node_mcast_rcv()
1554 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr, in tipc_node_bc_sync_rcv()
1599 struct tipc_node *n; in tipc_node_bc_rcv()
1647 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb, in tipc_node_check_state()
1803 struct tipc_node *n; in tipc_rcv()
1901 struct tipc_node *n; in tipc_node_apply_property()
1929 struct tipc_node *peer; in tipc_nl_peer_rm()
1985 struct tipc_node *node; in tipc_nl_node_dump()
2047 static struct tipc_node *tipc_node_find_by_name(struct net *net, in tipc_node_find_by_name()
2053 struct tipc_node *n; in tipc_node_find_by_name()
2054 struct tipc_node *found_node = NULL; in tipc_node_find_by_name()
2085 struct tipc_node *node; in tipc_nl_node_set_link()
2192 struct tipc_node *node; in tipc_nl_node_get_link()
2228 struct tipc_node *node; in tipc_nl_node_reset_link_stats()
2275 struct tipc_node *node, u32 *prev_link) in __tipc_nl_add_node_links()
2300 struct tipc_node *node; in tipc_nl_node_dump_link()
2533 u32 tipc_node_get_addr(struct tipc_node *node) in tipc_node_get_addr()
2546 int tipc_node_dump(struct tipc_node *n, bool more, char *buf) in tipc_node_dump()