Lines Matching defs:tipc_node
83 * struct tipc_node - TIPC node structure
104 * @rcu: rcu struct for tipc_node
108 struct tipc_node {
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)
200 struct tipc_node *n;
226 struct tipc_node *n;
246 struct tipc_node *n;
257 u32 tipc_node_get_addr(struct tipc_node *node)
262 char *tipc_node_get_id_str(struct tipc_node *node)
272 struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n)
279 return container_of(pos, struct tipc_node, list)->crypto_rx;
284 struct tipc_node *n;
293 struct tipc_node *n = container_of(rp, struct tipc_node, rcu);
303 struct tipc_node *n = container_of(kref, struct tipc_node, kref);
309 void tipc_node_put(struct tipc_node *node)
314 void tipc_node_get(struct tipc_node *node)
322 static struct tipc_node *tipc_node_find(struct net *net, u32 addr)
325 struct tipc_node *node;
344 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id)
347 struct tipc_node *n;
364 static void tipc_node_read_lock(struct tipc_node *n)
369 static void tipc_node_read_unlock(struct tipc_node *n)
374 static void tipc_node_write_lock(struct tipc_node *n)
379 static void tipc_node_write_unlock_fast(struct tipc_node *n)
384 static void tipc_node_write_unlock(struct tipc_node *n)
426 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes)
454 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id,
460 struct tipc_node *n, *temp_node;
599 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l)
612 static void tipc_node_delete_from_list(struct tipc_node *node)
622 static void tipc_node_delete(struct tipc_node *node)
634 struct tipc_node *node, *t_node;
644 struct tipc_node *n;
662 struct tipc_node *n;
680 struct tipc_node *node;
711 struct tipc_node *node;
732 static void tipc_node_clear_links(struct tipc_node *node)
750 static bool tipc_node_cleanup(struct tipc_node *peer)
752 struct tipc_node *temp_node;
789 struct tipc_node *n = from_timer(n, t, timer);
839 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id,
905 static void tipc_node_link_up(struct tipc_node *n, int bearer_id,
937 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l,
963 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
1037 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete)
1072 static bool node_is_up(struct tipc_node *n)
1079 struct tipc_node *n;
1095 struct tipc_node *n;
1111 struct tipc_node *n;
1149 struct tipc_node *n;
1291 struct tipc_node *n;
1300 static void tipc_node_reset_links(struct tipc_node *n)
1315 static void tipc_node_fsm_evt(struct tipc_node *n, int evt)
1491 static void node_lost_contact(struct tipc_node *n,
1546 struct tipc_node *node = tipc_node_find(net, addr);
1567 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node)
1664 struct tipc_node *n;
1763 struct tipc_node *n;
1793 static void tipc_node_mcast_rcv(struct tipc_node *n)
1806 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr,
1851 struct tipc_node *n;
1901 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb,
2059 struct tipc_node *n;
2182 struct tipc_node *n;
2214 struct tipc_node *peer, *temp_node;
2276 struct tipc_node *node;
2340 static struct tipc_node *tipc_node_find_by_name(struct net *net,
2346 struct tipc_node *n;
2347 struct tipc_node *found_node = NULL;
2378 struct tipc_node *node;
2487 struct tipc_node *node;
2523 struct tipc_node *node;
2586 struct tipc_node *node, u32 *prev_link,
2622 struct tipc_node *node;
2920 struct tipc_node *n = NULL;
3012 struct tipc_node *n;
3043 int tipc_node_dump(struct tipc_node *n, bool more, char *buf)
3094 struct tipc_node *n;