Lines Matching defs:tipc_node

83  * struct tipc_node - TIPC node structure
111 * @rcu: rcu struct for tipc_node
117 struct tipc_node {
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)
209 struct tipc_node *n;
235 struct tipc_node *n;
255 struct tipc_node *n;
266 u32 tipc_node_get_addr(struct tipc_node *node)
271 char *tipc_node_get_id_str(struct tipc_node *node)
279 * @__n: target tipc_node
282 struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n)
289 return container_of(pos, struct tipc_node, list)->crypto_rx;
294 struct tipc_node *n;
303 struct tipc_node *n = container_of(rp, struct tipc_node, rcu);
313 struct tipc_node *n = container_of(kref, struct tipc_node, kref);
319 void tipc_node_put(struct tipc_node *node)
324 void tipc_node_get(struct tipc_node *node)
332 static struct tipc_node *tipc_node_find(struct net *net, u32 addr)
335 struct tipc_node *node;
354 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id)
357 struct tipc_node *n;
374 static void tipc_node_read_lock(struct tipc_node *n)
380 static void tipc_node_read_unlock(struct tipc_node *n)
386 static void tipc_node_write_lock(struct tipc_node *n)
392 static void tipc_node_write_unlock_fast(struct tipc_node *n)
398 static void tipc_node_write_unlock(struct tipc_node *n)
442 static void tipc_node_assign_peer_net(struct tipc_node *n, u32 hash_mixes)
470 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id,
476 struct tipc_node *n, *temp_node;
615 static void tipc_node_calculate_timer(struct tipc_node *n, struct tipc_link *l)
628 static void tipc_node_delete_from_list(struct tipc_node *node)
638 static void tipc_node_delete(struct tipc_node *node)
650 struct tipc_node *node, *t_node;
660 struct tipc_node *n;
678 struct tipc_node *n;
696 struct tipc_node *node;
727 struct tipc_node *node;
748 static void tipc_node_clear_links(struct tipc_node *node)
766 static bool tipc_node_cleanup(struct tipc_node *peer)
768 struct tipc_node *temp_node;
805 struct tipc_node *n = from_timer(n, t, timer);
852 * @n: target tipc_node
858 static void __tipc_node_link_up(struct tipc_node *n, int bearer_id,
921 * @n: target tipc_node
927 static void tipc_node_link_up(struct tipc_node *n, int bearer_id,
960 static void tipc_node_link_failover(struct tipc_node *n, struct tipc_link *l,
985 * @n: target tipc_node
990 static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
1064 static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete)
1099 static bool node_is_up(struct tipc_node *n)
1106 struct tipc_node *n;
1122 struct tipc_node *n;
1138 struct tipc_node *n;
1176 struct tipc_node *n;
1318 struct tipc_node *n;
1327 static void tipc_node_reset_links(struct tipc_node *n)
1342 static void tipc_node_fsm_evt(struct tipc_node *n, int evt)
1518 static void node_lost_contact(struct tipc_node *n,
1575 struct tipc_node *node = tipc_node_find(net, addr);
1596 static int __tipc_nl_add_node(struct tipc_nl_msg *msg, struct tipc_node *node)
1693 struct tipc_node *n;
1792 struct tipc_node *n;
1822 static void tipc_node_mcast_rcv(struct tipc_node *n)
1835 static void tipc_node_bc_sync_rcv(struct tipc_node *n, struct tipc_msg *hdr,
1880 struct tipc_node *n;
1926 * @n: target tipc_node
1932 static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb,
2090 struct tipc_node *n;
2213 struct tipc_node *n;
2245 struct tipc_node *peer, *temp_node;
2322 struct tipc_node *node;
2386 static struct tipc_node *tipc_node_find_by_name(struct net *net,
2392 struct tipc_node *n;
2393 struct tipc_node *found_node = NULL;
2424 struct tipc_node *node;
2533 struct tipc_node *node;
2569 struct tipc_node *node;
2632 struct tipc_node *node, u32 *prev_link,
2668 struct tipc_node *node;
2966 struct tipc_node *n = NULL;
3058 struct tipc_node *n;
3089 int tipc_node_dump(struct tipc_node *n, bool more, char *buf)
3140 struct tipc_node *n;