Lines Matching refs:tipc_node

83  * struct tipc_node - TIPC node structure
109 * @rcu: rcu struct for tipc_node
115 struct tipc_node {
174 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
177 static void tipc_node_link_down(struct tipc_node *n, int bearer_id,
179 static void node_lost_contact(struct tipc_node *n, struct sk_buff_head *inputq);
180 static void tipc_node_delete(struct tipc_node *node);
182 static void tipc_node_fsm_evt(struct tipc_node *n, int evt);
183 static struct tipc_node *tipc_node_find(struct net *net, u32 addr);
184 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id);
185 static bool node_is_up(struct tipc_node *n);
186 static void tipc_node_delete_from_list(struct tipc_node *node);
195 static struct tipc_link *node_active_link(struct tipc_node *n, int sel)
207 struct tipc_node *n;
233 struct tipc_node *n;
253 struct tipc_node *n;
264 u32 tipc_node_get_addr(struct tipc_node *node)
269 char *tipc_node_get_id_str(struct tipc_node *node)
277 * @__n: target tipc_node
280 struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n)
287 return container_of(pos, struct tipc_node, list)->crypto_rx;
292 struct tipc_node *n;
301 struct tipc_node *n = container_of(rp, struct tipc_node, rcu);
311 struct tipc_node *n = container_of(kref, struct tipc_node, kref);
317 void tipc_node_put(struct tipc_node *node)
322 void tipc_node_get(struct tipc_node *node)
330 static struct tipc_node *tipc_node_find(struct net *net, u32 addr)
333 struct tipc_node *node;
352 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id)
355 struct tipc_node *n;
372 static void tipc_node_read_lock(struct tipc_node *n)
378 static void tipc_node_read_unlock(struct tipc_node *n)
384 static void tipc_node_write_lock(struct tipc_node *n)
390 static void tipc_node_write_unlock_fast(struct tipc_node *n)
396 static void tipc_node_write_unlock(struct tipc_node *n)
440 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes)
468 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id,
474 struct tipc_node *n, *temp_node;
613 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l)
626 static void tipc_node_delete_from_list(struct tipc_node *node)
636 static void tipc_node_delete(struct tipc_node *node)
648 struct tipc_node *node, *t_node;
658 struct tipc_node *n;
676 struct tipc_node *n;
694 struct tipc_node *node;
725 struct tipc_node *node;
746 static void tipc_node_clear_links(struct tipc_node *node)
764 static bool tipc_node_cleanup(struct tipc_node *peer)
766 struct tipc_node *temp_node;
803 struct tipc_node *n = from_timer(n, t, timer);
850 * @n: target tipc_node
856 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id,
919 * @n: target tipc_node
925 static void tipc_node_link_up(struct tipc_node *n, int bearer_id,
958 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l,
983 * @n: target tipc_node
988 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
1062 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete)
1097 static bool node_is_up(struct tipc_node *n)
1104 struct tipc_node *n;
1120 struct tipc_node *n;
1136 struct tipc_node *n;
1174 struct tipc_node *n;
1316 struct tipc_node *n;
1325 static void tipc_node_reset_links(struct tipc_node *n)
1340 static void tipc_node_fsm_evt(struct tipc_node *n, int evt)
1516 static void node_lost_contact(struct tipc_node *n,
1573 struct tipc_node *node = tipc_node_find(net, addr);
1594 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node)
1691 struct tipc_node *n;
1790 struct tipc_node *n;
1820 static void tipc_node_mcast_rcv(struct tipc_node *n)
1833 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr,
1878 struct tipc_node *n;
1924 * @n: target tipc_node
1930 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb,
2088 struct tipc_node *n;
2211 struct tipc_node *n;
2243 struct tipc_node *peer, *temp_node;
2320 struct tipc_node *node;
2384 static struct tipc_node *tipc_node_find_by_name(struct net *net,
2390 struct tipc_node *n;
2391 struct tipc_node *found_node = NULL;
2422 struct tipc_node *node;
2531 struct tipc_node *node;
2567 struct tipc_node *node;
2630 struct tipc_node *node, u32 *prev_link,
2666 struct tipc_node *node;
2964 struct tipc_node *n = NULL;
3056 struct tipc_node *n;
3087 int tipc_node_dump(struct tipc_node *n, bool more, char *buf)
3138 struct tipc_node *n;