Lines Matching refs:a
37 struct nlattr *est, struct tc_action **a, in tcf_sample_init() argument
64 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_sample_init()
72 ret = tcf_idr_create(tn, index, est, a, in tcf_sample_init()
80 tcf_idr_release(*a, bind); in tcf_sample_init()
107 s = to_sample(*a); in tcf_sample_init()
110 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_sample_init()
132 tcf_idr_release(*a, bind); in tcf_sample_init()
136 static void tcf_sample_cleanup(struct tc_action *a) in tcf_sample_cleanup() argument
138 struct tcf_sample *s = to_sample(a); in tcf_sample_cleanup()
165 const struct tc_action *a, in tcf_sample_act() argument
168 struct tcf_sample *s = to_sample(a); in tcf_sample_act()
195 user_cookie = rcu_dereference(a->user_cookie); in tcf_sample_act()
214 static void tcf_sample_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_sample_stats_update() argument
217 struct tcf_sample *s = to_sample(a); in tcf_sample_stats_update()
220 tcf_action_update_stats(a, bytes, packets, drops, hw); in tcf_sample_stats_update()
224 static int tcf_sample_dump(struct sk_buff *skb, struct tc_action *a, in tcf_sample_dump() argument
228 struct tcf_sample *s = to_sample(a); in tcf_sample_dump()
272 tcf_sample_get_group(const struct tc_action *a, in tcf_sample_get_group() argument
275 struct tcf_sample *s = to_sample(a); in tcf_sample_get_group()