Lines Matching defs:tn
55 struct tipc_net *tn = net_generic(net, tipc_net_id);
58 tn->net_id = 4711;
59 tn->node_addr = 0;
60 tn->trial_addr = 0;
61 tn->addr_trial_end = 0;
62 tn->capabilities = TIPC_NODE_CAPABILITIES;
63 INIT_WORK(&tn->work, tipc_net_finalize_work);
64 memset(tn->node_id, 0, sizeof(tn->node_id));
65 memset(tn->node_id_string, 0, sizeof(tn->node_id_string));
66 tn->mon_threshold = TIPC_DEF_MON_THRESHOLD;
67 get_random_bytes(&tn->random, sizeof(int));
68 INIT_LIST_HEAD(&tn->node_list);
69 spin_lock_init(&tn->node_list_lock);
72 err = tipc_crypto_start(&tn->crypto_tx, net, NULL);
101 tipc_crypto_stop(&tn->crypto_tx);
109 struct tipc_net *tn = tipc_net(net);
114 cancel_work_sync(&tn->work);
121 while (atomic_read(&tn->wq_count))