Lines Matching refs:tn
99 struct tc_action_net *tn = net_generic(net, mirred_net_id); in tcf_mirred_init() local
124 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init()
141 tcf_idr_cleanup(tn, index); in tcf_mirred_init()
148 tcf_idr_cleanup(tn, index); in tcf_mirred_init()
152 ret = tcf_idr_create(tn, index, est, a, in tcf_mirred_init()
155 tcf_idr_cleanup(tn, index); in tcf_mirred_init()
375 struct tc_action_net *tn = net_generic(net, mirred_net_id); in tcf_mirred_walker() local
377 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tcf_mirred_walker()
382 struct tc_action_net *tn = net_generic(net, mirred_net_id); in tcf_mirred_search() local
384 return tcf_idr_search(tn, a, index); in tcf_mirred_search()
465 struct tc_action_net *tn = net_generic(net, mirred_net_id); in mirred_init_net() local
467 return tc_action_net_init(net, tn, &act_mirred_ops); in mirred_init_net()