Lines Matching refs:tc_action

43 static void tcf_action_goto_chain_exec(const struct tc_action *a,  in tcf_action_goto_chain_exec()
105 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action, in tcf_action_set_ctrlact()
119 static void free_tcf(struct tc_action *p) in free_tcf()
134 static void offload_action_hw_count_set(struct tc_action *act, in offload_action_hw_count_set()
140 static void offload_action_hw_count_inc(struct tc_action *act, in offload_action_hw_count_inc()
146 static void offload_action_hw_count_dec(struct tc_action *act, in offload_action_hw_count_dec()
153 static unsigned int tcf_offload_act_num_actions_single(struct tc_action *act) in tcf_offload_act_num_actions_single()
171 static bool tc_act_in_hw(struct tc_action *act) in tc_act_in_hw()
185 struct tc_action *act, in offload_action_init()
249 static int tcf_action_offload_add_ex(struct tc_action *action, in tcf_action_offload_add_ex()
255 struct tc_action *actions[TCA_ACT_MAX_PRIO] = { in tcf_action_offload_add_ex()
298 static int tcf_action_offload_add(struct tc_action *action, in tcf_action_offload_add()
304 int tcf_action_update_hw_stats(struct tc_action *action) in tcf_action_update_hw_stats()
335 static int tcf_action_offload_del_ex(struct tc_action *action, in tcf_action_offload_del_ex()
364 static int tcf_action_offload_del(struct tc_action *action) in tcf_action_offload_del()
369 static void tcf_action_cleanup(struct tc_action *p) in tcf_action_cleanup()
379 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put()
399 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release()
426 int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release()
438 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size()
474 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size()
484 tcf_action_dump_terse(struct sk_buff *skb, struct tc_action *a, bool from_act) in tcf_action_dump_terse()
521 struct tc_action *p; in tcf_dump_walker()
576 static int tcf_idr_release_unsafe(struct tc_action *p) in tcf_idr_release_unsafe()
598 struct tc_action *p; in tcf_del_walker()
658 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index) in tcf_idr_search()
661 struct tc_action *p; in tcf_idr_search()
694 struct tc_action **a, u32 index) in __tcf_idr_search()
706 struct tc_action *p; in tcf_idr_delete_index()
738 struct tc_action **a, const struct tc_action_ops *ops, in tcf_idr_create()
741 struct tc_action *p = kzalloc(ops->size, GFP_KERNEL); in tcf_idr_create()
796 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags()
826 struct tc_action **a, int bind) in tcf_idr_check_alloc()
829 struct tc_action *p; in tcf_idr_check_alloc()
876 struct tc_action *p; in tcf_idrinfo_destroy()
1057 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions, in tcf_action_exec()
1070 const struct tc_action *a = actions[i]; in tcf_action_exec()
1119 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy()
1122 struct tc_action *a; in tcf_action_destroy()
1138 static int tcf_action_put(struct tc_action *p) in tcf_action_put()
1144 static void tcf_action_put_many(struct tc_action *actions[]) in tcf_action_put_many()
1149 struct tc_action *a = actions[i]; in tcf_action_put_many()
1161 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old()
1167 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1()
1211 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], in tcf_action_dump()
1214 struct tc_action *a; in tcf_action_dump()
1281 void tcf_idr_insert_many(struct tc_action *actions[]) in tcf_idr_insert_many()
1286 struct tc_action *a = actions[i]; in tcf_idr_insert_many()
1362 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp, in tcf_action_init_1()
1372 struct tc_action *a; in tcf_action_init_1()
1432 struct nlattr *est, struct tc_action *actions[], in tcf_action_init()
1439 struct tc_action *act; in tcf_action_init()
1511 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets, in tcf_action_update_stats()
1532 int tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *p, in tcf_action_copy_stats()
1582 static int tca_get_fill(struct sk_buff *skb, struct tc_action *actions[], in tca_get_fill()
1618 struct tc_action *actions[], int event, in tcf_get_notify()
1636 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1642 struct tc_action *a; in tcf_action_get_1()
1756 static int tcf_action_delete(struct net *net, struct tc_action *actions[]) in tcf_action_delete()
1761 struct tc_action *a = actions[i]; in tcf_action_delete()
1786 tcf_reoffload_del_notify(struct net *net, struct tc_action *action) in tcf_reoffload_del_notify()
1789 struct tc_action *actions[TCA_ACT_MAX_PRIO] = { in tcf_reoffload_del_notify()
1823 struct tc_action *p; in tcf_action_reoffload_cb()
1876 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_del_notify()
1913 struct tc_action *act; in tca_action_gd()
1915 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tca_action_gd()
1956 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_add_notify()
1983 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tcf_action_add()