Lines Matching refs:tc_action
25 static void tcf_action_goto_chain_exec(const struct tc_action *a, in tcf_action_goto_chain_exec()
87 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action, in tcf_action_set_ctrlact()
101 static void free_tcf(struct tc_action *p) in free_tcf()
116 static void tcf_action_cleanup(struct tc_action *p) in tcf_action_cleanup()
125 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put()
145 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release()
172 int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release()
184 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size()
220 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size()
237 struct tc_action *p; in tcf_dump_walker()
290 static int tcf_idr_release_unsafe(struct tc_action *p) in tcf_idr_release_unsafe()
312 struct tc_action *p; in tcf_del_walker()
372 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index) in tcf_idr_search()
375 struct tc_action *p; in tcf_idr_search()
395 struct tc_action *p; in tcf_idr_delete_index()
427 struct tc_action **a, const struct tc_action_ops *ops, in tcf_idr_create()
430 struct tc_action *p = kzalloc(ops->size, GFP_KERNEL); in tcf_idr_create()
483 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags()
513 struct tc_action **a, int bind) in tcf_idr_check_alloc()
516 struct tc_action *p; in tcf_idr_check_alloc()
563 struct tc_action *p; in tcf_idrinfo_destroy()
675 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions, in tcf_action_exec()
688 const struct tc_action *a = actions[i]; in tcf_action_exec()
736 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy()
739 struct tc_action *a; in tcf_action_destroy()
755 static int tcf_action_put(struct tc_action *p) in tcf_action_put()
761 static void tcf_action_put_many(struct tc_action *actions[]) in tcf_action_put_many()
766 struct tc_action *a = actions[i]; in tcf_action_put_many()
778 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old()
784 tcf_action_dump_terse(struct sk_buff *skb, struct tc_action *a) in tcf_action_dump_terse()
812 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1()
851 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], in tcf_action_dump()
854 struct tc_action *a; in tcf_action_dump()
919 void tcf_idr_insert_many(struct tc_action *actions[]) in tcf_idr_insert_many()
924 struct tc_action *a = actions[i]; in tcf_idr_insert_many()
1000 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp, in tcf_action_init_1()
1011 struct tc_action *a; in tcf_action_init_1()
1062 struct tc_action *actions[], int init_res[], size_t *attr_size, in tcf_action_init()
1067 struct tc_action *act; in tcf_action_init()
1120 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets, in tcf_action_update_stats()
1141 int tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *p, in tcf_action_copy_stats()
1187 static int tca_get_fill(struct sk_buff *skb, struct tc_action *actions[], in tca_get_fill()
1223 struct tc_action *actions[], int event, in tcf_get_notify()
1241 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1247 struct tc_action *a; in tcf_action_get_1()
1363 static int tcf_action_delete(struct net *net, struct tc_action *actions[]) in tcf_action_delete()
1368 struct tc_action *a = actions[i]; in tcf_action_delete()
1393 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_del_notify()
1432 struct tc_action *act; in tca_action_gd()
1434 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tca_action_gd()
1475 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_add_notify()
1506 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tcf_action_add()