• Home
  • Raw
  • Download

Lines Matching refs:a

71 static void tcf_mirred_release(struct tc_action *a)  in tcf_mirred_release()  argument
73 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_release()
94 struct nlattr *est, struct tc_action **a, in tcf_mirred_init() argument
124 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init()
139 tcf_idr_release(*a, bind); in tcf_mirred_init()
152 ret = tcf_idr_create(tn, index, est, a, in tcf_mirred_init()
160 tcf_idr_release(*a, bind); in tcf_mirred_init()
164 m = to_mirred(*a); in tcf_mirred_init()
188 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_mirred_init()
205 tcf_idr_release(*a, bind); in tcf_mirred_init()
209 static int tcf_mirred_act(struct sk_buff *skb, const struct tc_action *a, in tcf_mirred_act() argument
212 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_act()
321 static void tcf_stats_update(struct tc_action *a, u64 bytes, u32 packets, in tcf_stats_update() argument
324 struct tcf_mirred *m = to_mirred(a); in tcf_stats_update()
327 _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); in tcf_stats_update()
329 _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats_hw), in tcf_stats_update()
334 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
338 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_dump()
380 static int tcf_mirred_search(struct net *net, struct tc_action **a, u32 index) in tcf_mirred_search() argument
384 return tcf_idr_search(tn, a, index); in tcf_mirred_search()
425 tcf_mirred_get_dev(const struct tc_action *a, in tcf_mirred_get_dev() argument
428 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_get_dev()