Lines Matching refs:tipc_node
100 struct tipc_node { struct
149 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
152 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
154 static void node_lost_contact(struct tipc_node *n, struct sk_buff_head *inputq);
155 static void tipc_node_delete(struct tipc_node *node);
157 static void tipc_node_fsm_evt(struct tipc_node *n, int evt);
158 static struct tipc_node *tipc_node_find(struct net *net, u32 addr);
159 static void tipc_node_put(struct tipc_node *node);
160 static bool tipc_node_is_up(struct tipc_node *n);
169 static struct tipc_link *node_active_link(struct tipc_node *n, int sel) in node_active_link()
181 struct tipc_node *n; in tipc_node_get_mtu()
198 struct tipc_node *n; in tipc_node_get_capabilities()
211 struct tipc_node *n = container_of(kref, struct tipc_node, kref); in tipc_node_kref_release()
217 static void tipc_node_put(struct tipc_node *node) in tipc_node_put()
222 static void tipc_node_get(struct tipc_node *node) in tipc_node_get()
230 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
233 struct tipc_node *node; in tipc_node_find()
251 static void tipc_node_read_lock(struct tipc_node *n) in tipc_node_read_lock()
256 static void tipc_node_read_unlock(struct tipc_node *n) in tipc_node_read_unlock()
261 static void tipc_node_write_lock(struct tipc_node *n) in tipc_node_write_lock()
266 static void tipc_node_write_unlock_fast(struct tipc_node *n) in tipc_node_write_unlock_fast()
271 static void tipc_node_write_unlock(struct tipc_node *n) in tipc_node_write_unlock()
313 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u16 capabilities) in tipc_node_create()
316 struct tipc_node *n, *temp_node; in tipc_node_create()
377 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l) in tipc_node_calculate_timer()
390 static void tipc_node_delete(struct tipc_node *node) in tipc_node_delete()
403 struct tipc_node *node, *t_node; in tipc_node_stop()
413 struct tipc_node *n; in tipc_node_subscribe()
431 struct tipc_node *n; in tipc_node_unsubscribe()
449 struct tipc_node *node; in tipc_node_add_conn()
480 struct tipc_node *node; in tipc_node_remove_conn()
505 struct tipc_node *n = (struct tipc_node *)data; in tipc_node_timeout()
536 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, in __tipc_node_link_up()
601 static void tipc_node_link_up(struct tipc_node *n, int bearer_id, in tipc_node_link_up()
616 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, in __tipc_node_link_down()
688 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) in tipc_node_link_down()
721 static bool tipc_node_is_up(struct tipc_node *n) in tipc_node_is_up()
732 struct tipc_node *n; in tipc_node_check_dest()
864 struct tipc_node *n; in tipc_node_delete_links()
873 static void tipc_node_reset_links(struct tipc_node *n) in tipc_node_reset_links()
889 static void tipc_node_fsm_evt(struct tipc_node *n, int evt) in tipc_node_fsm_evt()
1063 static void node_lost_contact(struct tipc_node *n, in node_lost_contact()
1116 struct tipc_node *node = tipc_node_find(net, addr); in tipc_node_get_linkname()
1137 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node) in __tipc_nl_add_node()
1183 struct tipc_node *n; in tipc_node_xmit()
1245 struct tipc_node *n; in tipc_node_broadcast()
1266 static void tipc_node_mcast_rcv(struct tipc_node *n) in tipc_node_mcast_rcv()
1279 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr, in tipc_node_bc_sync_rcv()
1324 struct tipc_node *n; in tipc_node_bc_rcv()
1368 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb, in tipc_node_check_state()
1500 struct tipc_node *n; in tipc_rcv()
1595 struct tipc_node *peer; in tipc_nl_peer_rm()
1660 struct tipc_node *node; in tipc_nl_node_dump()
1722 static struct tipc_node *tipc_node_find_by_name(struct net *net, in tipc_node_find_by_name()
1728 struct tipc_node *n; in tipc_node_find_by_name()
1729 struct tipc_node *found_node = NULL; in tipc_node_find_by_name()
1760 struct tipc_node *node; in tipc_nl_node_set_link()
1867 struct tipc_node *node; in tipc_nl_node_get_link()
1903 struct tipc_node *node; in tipc_nl_node_reset_link_stats()
1950 struct tipc_node *node, u32 *prev_link) in __tipc_nl_add_node_links()
1975 struct tipc_node *node; in tipc_nl_node_dump_link()