Lines Matching refs:tn
573 struct tipc_net *tn = tipc_net(net); in tipc_nametbl_lookup_anycast() local
574 bool legacy = tn->legacy_addr_format; in tipc_nametbl_lookup_anycast()
764 struct tipc_net *tn = tipc_net(net); in tipc_nametbl_publish() local
769 spin_lock_bh(&tn->nametbl_lock); in tipc_nametbl_publish()
783 spin_unlock_bh(&tn->nametbl_lock); in tipc_nametbl_publish()
802 struct tipc_net *tn = tipc_net(net); in tipc_nametbl_withdraw() local
807 spin_lock_bh(&tn->nametbl_lock); in tipc_nametbl_withdraw()
817 spin_unlock_bh(&tn->nametbl_lock); in tipc_nametbl_withdraw()
829 struct tipc_net *tn = tipc_net(sub->net); in tipc_nametbl_subscribe() local
837 spin_lock_bh(&tn->nametbl_lock); in tipc_nametbl_subscribe()
850 spin_unlock_bh(&tn->nametbl_lock); in tipc_nametbl_subscribe()
860 struct tipc_net *tn = tipc_net(sub->net); in tipc_nametbl_unsubscribe() local
866 spin_lock_bh(&tn->nametbl_lock); in tipc_nametbl_unsubscribe()
882 spin_unlock_bh(&tn->nametbl_lock); in tipc_nametbl_unsubscribe()
887 struct tipc_net *tn = tipc_net(net); in tipc_nametbl_init() local
901 tn->nametbl = nt; in tipc_nametbl_init()
902 spin_lock_init(&tn->nametbl_lock); in tipc_nametbl_init()
933 struct tipc_net *tn = tipc_net(net); in tipc_nametbl_stop() local
941 spin_lock_bh(&tn->nametbl_lock); in tipc_nametbl_stop()
950 spin_unlock_bh(&tn->nametbl_lock); in tipc_nametbl_stop()
1053 struct tipc_net *tn = tipc_net(net); in tipc_nl_service_list() local
1066 head = &tn->nametbl->services[i]; in tipc_nl_service_list()