Lines Matching refs:tc_action

33 static int tcf_action_goto_chain_init(struct tc_action *a, struct tcf_proto *tp)  in tcf_action_goto_chain_init()
45 static void tcf_action_goto_chain_fini(struct tc_action *a) in tcf_action_goto_chain_fini()
50 static void tcf_action_goto_chain_exec(const struct tc_action *a, in tcf_action_goto_chain_exec()
81 static void free_tcf(struct tc_action *p) in free_tcf()
93 static void tcf_action_cleanup(struct tc_action *p) in tcf_action_cleanup()
102 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put()
122 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release()
150 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size()
182 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size()
199 struct tc_action *p; in tcf_dump_walker()
256 struct tc_action *p; in tcf_del_walker()
303 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index) in tcf_idr_search()
306 struct tc_action *p; in tcf_idr_search()
326 struct tc_action *p; in tcf_idr_delete_index()
358 struct tc_action **a, const struct tc_action_ops *ops, in tcf_idr_create()
361 struct tc_action *p = kzalloc(ops->size, GFP_KERNEL); in tcf_idr_create()
406 void tcf_idr_insert(struct tc_action_net *tn, struct tc_action *a) in tcf_idr_insert()
437 struct tc_action **a, int bind) in tcf_idr_check_alloc()
440 struct tc_action *p; in tcf_idr_check_alloc()
487 struct tc_action *p; in tcf_idrinfo_destroy()
598 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions, in tcf_action_exec()
611 const struct tc_action *a = actions[i]; in tcf_action_exec()
646 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy()
649 struct tc_action *a; in tcf_action_destroy()
665 static int tcf_action_destroy_1(struct tc_action *a, int bind) in tcf_action_destroy_1()
667 struct tc_action *actions[] = { a, NULL }; in tcf_action_destroy_1()
672 static int tcf_action_put(struct tc_action *p) in tcf_action_put()
678 static void tcf_action_put_many(struct tc_action *actions[]) in tcf_action_put_many()
683 struct tc_action *a = actions[i]; in tcf_action_put_many()
695 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old()
701 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1()
738 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], in tcf_action_dump()
741 struct tc_action *a; in tcf_action_dump()
790 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp, in tcf_action_init_1()
796 struct tc_action *a; in tcf_action_init_1()
919 struct tc_action *actions[], size_t *attr_size, in tcf_action_init()
923 struct tc_action *act; in tcf_action_init()
953 int tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *p, in tcf_action_copy_stats()
997 static int tca_get_fill(struct sk_buff *skb, struct tc_action *actions[], in tca_get_fill()
1033 struct tc_action *actions[], int event, in tcf_get_notify()
1051 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1057 struct tc_action *a; in tcf_action_get_1()
1169 static int tcf_action_delete(struct net *net, struct tc_action *actions[]) in tcf_action_delete()
1174 struct tc_action *a = actions[i]; in tcf_action_delete()
1199 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_del_notify()
1238 struct tc_action *act; in tca_action_gd()
1240 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tca_action_gd()
1281 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], in tcf_add_notify()
1312 struct tc_action *actions[TCA_ACT_MAX_PRIO] = {}; in tcf_action_add()