Lines Matching refs:tc_action
44 static void tcf_action_goto_chain_exec(const struct tc_action *a, in tcf_action_goto_chain_exec()
106 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action, in tcf_action_set_ctrlact()
120 static void free_tcf(struct tc_action *p) in free_tcf()
135 static void offload_action_hw_count_set(struct tc_action *act, in offload_action_hw_count_set()
141 static void offload_action_hw_count_inc(struct tc_action *act, in offload_action_hw_count_inc()
147 static void offload_action_hw_count_dec(struct tc_action *act, in offload_action_hw_count_dec()
154 static unsigned int tcf_offload_act_num_actions_single(struct tc_action *act) in tcf_offload_act_num_actions_single()
181 struct tc_action *act, in offload_action_init()
246 static int tcf_action_offload_add_ex(struct tc_action *action, in tcf_action_offload_add_ex()
252 struct tc_action *actions[TCA_ACT_MAX_PRIO] = { in tcf_action_offload_add_ex()
295 static int tcf_action_offload_add(struct tc_action *action, in tcf_action_offload_add()
301 int tcf_action_update_hw_stats(struct tc_action *action) in tcf_action_update_hw_stats()
329 static int tcf_action_offload_del_ex(struct tc_action *action, in tcf_action_offload_del_ex()
358 static int tcf_action_offload_del(struct tc_action *action) in tcf_action_offload_del()
363 static void tcf_action_cleanup(struct tc_action *p) in tcf_action_cleanup()
373 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put()
393 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release()
420 int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release()
432 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size()
468 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size()
478 tcf_action_dump_terse(struct sk_buff *skb, struct tc_action *a, bool from_act) in tcf_action_dump_terse()
515 struct tc_action *p; in tcf_dump_walker()
572 static int tcf_idr_release_unsafe(struct tc_action *p) in tcf_idr_release_unsafe()
594 struct tc_action *p; in tcf_del_walker()
654 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index) in tcf_idr_search()
657 struct tc_action *p; in tcf_idr_search()
690 struct tc_action **a, u32 index) in __tcf_idr_search()
702 struct tc_action *p; in tcf_idr_delete_index()
734 struct tc_action **a, const struct tc_action_ops *ops, in tcf_idr_create()
737 struct tc_action *p = kzalloc(ops->size, GFP_KERNEL); in tcf_idr_create()
792 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags()
822 struct tc_action **a, int bind) in tcf_idr_check_alloc()
825 struct tc_action *p; in tcf_idr_check_alloc()
872 struct tc_action *p; in tcf_idrinfo_destroy()
1053 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions, in tcf_action_exec()
1066 const struct tc_action *a = actions[i]; in tcf_action_exec()
1115 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy()
1118 struct tc_action *a; in tcf_action_destroy()
1134 static int tcf_action_put(struct tc_action *p) in tcf_action_put()
1140 static void tcf_action_put_many(struct tc_action *actions[]) in tcf_action_put_many()
1145 struct tc_action *a = actions[i]; in tcf_action_put_many()
1157 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old()
1163 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1()
1207 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], in tcf_action_dump()
1210 struct tc_action *a; in tcf_action_dump()
1277 void tcf_idr_insert_many(struct tc_action *actions[]) in tcf_idr_insert_many()
1282 struct tc_action *a = actions[i]; in tcf_idr_insert_many()
1358 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp, in tcf_action_init_1()
1368 struct tc_action *a; in tcf_action_init_1()
1428 struct nlattr *est, struct tc_action *actions[], in tcf_action_init()
1435 struct tc_action *act; in tcf_action_init()
1507 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets, in tcf_action_update_stats()
1528 int tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *p, in tcf_action_copy_stats()
1575 static int tca_get_fill(struct sk_buff *skb, struct tc_action *actions[], in tca_get_fill()
1616 struct tc_action *actions[], int event, in tcf_get_notify()
1634 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1640 struct tc_action *a; in tcf_action_get_1()
1754 static int tcf_action_delete(struct net *net, struct tc_action *actions[]) in tcf_action_delete()
1759 struct tc_action *a = actions[i]; in tcf_action_delete()
1784 tcf_reoffload_del_notify(struct net *net, struct tc_action *action) in tcf_reoffload_del_notify()
1787 struct tc_action *actions[TCA_ACT_MAX_PRIO] = { in tcf_reoffload_del_notify()
1821 struct tc_action *p; in tcf_action_reoffload_cb()
1874 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_del_notify()
1911 struct tc_action *act; in tca_action_gd()
1913 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tca_action_gd()
1954 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_add_notify()
1981 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tcf_action_add()