• Home
  • Raw
  • Download

Lines Matching refs:tn

64 	struct tipc_net *tn = tipc_net(net);  in bearer_get()  local
66 return rcu_dereference(tn->bearer_list[bearer_id]); in bearer_get()
179 struct tipc_net *tn = tipc_net(net); in tipc_bearer_find() local
184 b = rtnl_dereference(tn->bearer_list[i]); in tipc_bearer_find()
198 struct tipc_net *tn = tipc_net(net); in tipc_bearer_get_name() local
204 b = rtnl_dereference(tn->bearer_list[bearer_id]); in tipc_bearer_get_name()
248 struct tipc_net *tn = tipc_net(net); in tipc_enable_bearer() local
284 b = rtnl_dereference(tn->bearer_list[i]); in tipc_enable_bearer()
360 rcu_assign_pointer(tn->bearer_list[bearer_id], b); in tipc_enable_bearer()
405 struct tipc_net *tn = tipc_net(net); in bearer_disable() local
415 RCU_INIT_POINTER(tn->bearer_list[bearer_id], NULL); in bearer_disable()
615 struct tipc_net *tn = tipc_net(net); in tipc_bearer_bc_xmit() local
617 int net_id = tn->net_id; in tipc_bearer_bc_xmit()
746 struct tipc_net *tn = tipc_net(net); in tipc_bearer_stop() local
751 b = rtnl_dereference(tn->bearer_list[i]); in tipc_bearer_stop()
754 tn->bearer_list[i] = NULL; in tipc_bearer_stop()
797 struct tipc_net *tn = tipc_net(net); in tipc_attach_loopback() local
802 netdev_hold(dev, &tn->loopback_pt.dev_tracker, GFP_KERNEL); in tipc_attach_loopback()
803 tn->loopback_pt.dev = dev; in tipc_attach_loopback()
804 tn->loopback_pt.type = htons(ETH_P_TIPC); in tipc_attach_loopback()
805 tn->loopback_pt.func = tipc_loopback_rcv_pkt; in tipc_attach_loopback()
806 dev_add_pack(&tn->loopback_pt); in tipc_attach_loopback()
812 struct tipc_net *tn = tipc_net(net); in tipc_detach_loopback() local
814 dev_remove_pack(&tn->loopback_pt); in tipc_detach_loopback()
815 netdev_put(net->loopback_dev, &tn->loopback_pt.dev_tracker); in tipc_detach_loopback()
882 struct tipc_net *tn = tipc_net(net); in tipc_nl_bearer_dump() local
893 bearer = rtnl_dereference(tn->bearer_list[i]); in tipc_nl_bearer_dump()