Lines Matching refs:a
21 static int tcf_vlan_act(struct sk_buff *skb, const struct tc_action *a, in tcf_vlan_act() argument
24 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_act()
115 struct nlattr *est, struct tc_action **a, in tcf_vlan_init() argument
147 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init()
161 tcf_idr_release(*a, bind); in tcf_vlan_init()
169 tcf_idr_release(*a, bind); in tcf_vlan_init()
183 tcf_idr_release(*a, bind); in tcf_vlan_init()
201 tcf_idr_release(*a, bind); in tcf_vlan_init()
209 tcf_idr_release(*a, bind); in tcf_vlan_init()
217 ret = tcf_idr_create_from_flags(tn, index, est, a, in tcf_vlan_init()
226 tcf_idr_release(*a, bind); in tcf_vlan_init()
234 v = to_vlan(*a); in tcf_vlan_init()
256 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_vlan_init()
270 tcf_idr_release(*a, bind); in tcf_vlan_init()
274 static void tcf_vlan_cleanup(struct tc_action *a) in tcf_vlan_cleanup() argument
276 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_cleanup()
284 static int tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, in tcf_vlan_dump() argument
288 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_dump()
335 static void tcf_vlan_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_vlan_stats_update() argument
338 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_stats_update()
341 tcf_action_update_stats(a, bytes, packets, drops, hw); in tcf_vlan_stats_update()