Lines Matching refs:nt
446 struct name_table *nt = tipc_name_table(net);
450 service_head = &nt->services[hash(type)];
463 struct name_table *nt = tipc_name_table(net);
474 sc = tipc_service_create(type, &nt->services[hash(type)]);
728 struct name_table *nt = tipc_name_table(net);
736 if (nt->local_publ_count >= TIPC_MAX_PUBL) {
744 nt->local_publ_count++;
747 rc_dests = nt->rc_dests;
763 struct name_table *nt = tipc_name_table(net);
774 nt->local_publ_count--;
782 rc_dests = nt->rc_dests;
797 struct name_table *nt = tipc_name_table(sub->net);
807 sc = tipc_service_create(type, &nt->services[hash(type)]);
854 struct name_table *nt;
857 nt = kzalloc(sizeof(*nt), GFP_KERNEL);
858 if (!nt)
862 INIT_HLIST_HEAD(&nt->services[i]);
864 INIT_LIST_HEAD(&nt->node_scope);
865 INIT_LIST_HEAD(&nt->cluster_scope);
866 rwlock_init(&nt->cluster_scope_lock);
867 tn->nametbl = nt;
896 struct name_table *nt = tipc_name_table(net);
907 if (hlist_empty(&nt->services[i]))
909 service_head = &nt->services[i];
917 kfree(nt);