Lines Matching refs:tcf_proto
55 const struct tcf_proto *tp;
77 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp, in tcf_exts_miss_cookie_base_alloc()
133 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp, in tcf_exts_miss_cookie_base_alloc()
172 static u32 destroy_obj_hashfn(const struct tcf_proto *tp) in destroy_obj_hashfn()
179 struct tcf_proto *tp) in tcf_proto_signal_destroying()
189 static bool tcf_proto_cmp(const struct tcf_proto *tp1, in tcf_proto_cmp()
190 const struct tcf_proto *tp2) in tcf_proto_cmp()
198 struct tcf_proto *tp) in tcf_proto_exists_destroying()
201 struct tcf_proto *iter; in tcf_proto_exists_destroying()
218 tcf_proto_signal_destroyed(struct tcf_chain *chain, struct tcf_proto *tp) in tcf_proto_signal_destroyed()
334 static inline u32 tcf_auto_prio(struct tcf_proto *tp) in tcf_auto_prio()
372 static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, in tcf_proto_create()
377 struct tcf_proto *tp; in tcf_proto_create()
408 static void tcf_proto_get(struct tcf_proto *tp) in tcf_proto_get()
415 static void tcf_proto_destroy(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_destroy()
426 static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_put()
433 static bool tcf_proto_check_delete(struct tcf_proto *tp) in tcf_proto_check_delete()
442 static void tcf_proto_mark_delete(struct tcf_proto *tp) in tcf_proto_mark_delete()
449 static bool tcf_proto_is_deleting(struct tcf_proto *tp) in tcf_proto_is_deleting()
490 struct tcf_proto *tp_head) in tcf_chain_head_change_item()
497 struct tcf_proto *tp_head) in tcf_chain0_head_change()
722 struct tcf_proto *tp, *tp_next; in tcf_chain_flush()
909 struct tcf_proto *tp_head; in tcf_chain0_head_change_cb_add()
1077 static struct tcf_proto *
1078 __tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp) in __tcf_get_next_proto()
1118 struct tcf_proto *
1119 tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp) in tcf_get_next_proto()
1121 struct tcf_proto *tp_next = __tcf_get_next_proto(chain, tp); in tcf_get_next_proto()
1476 static void tcf_chain_head_change_dflt(struct tcf_proto *tp_head, void *priv) in tcf_chain_head_change_dflt()
1478 struct tcf_proto __rcu **p_filter_chain = priv; in tcf_chain_head_change_dflt()
1484 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get()
1529 struct tcf_proto *tp, *tp_prev; in tcf_block_playback_offloads()
1653 const struct tcf_proto *tp, in __tcf_classify()
1654 const struct tcf_proto *orig_tp, in __tcf_classify()
1663 const struct tcf_proto *first_tp; in __tcf_classify()
1736 const struct tcf_proto *tp, in tcf_classify()
1747 const struct tcf_proto *orig_tp = tp; in tcf_classify()
1808 struct tcf_proto __rcu **pprev;
1809 struct tcf_proto __rcu *next;
1812 static struct tcf_proto *tcf_chain_tp_prev(struct tcf_chain *chain, in tcf_chain_tp_prev()
1820 struct tcf_proto *tp) in tcf_chain_tp_insert()
1836 struct tcf_proto *tp) in tcf_chain_tp_remove()
1838 struct tcf_proto *next = tcf_chain_dereference(chain_info->next, chain); in tcf_chain_tp_remove()
1846 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain,
1856 static struct tcf_proto *tcf_chain_tp_insert_unique(struct tcf_chain *chain, in tcf_chain_tp_insert_unique()
1857 struct tcf_proto *tp_new, in tcf_chain_tp_insert_unique()
1862 struct tcf_proto *tp; in tcf_chain_tp_insert_unique()
1891 struct tcf_proto *tp, bool rtnl_held, in tcf_chain_tp_delete_empty()
1895 struct tcf_proto *tp_iter; in tcf_chain_tp_delete_empty()
1896 struct tcf_proto **pprev; in tcf_chain_tp_delete_empty()
1897 struct tcf_proto *next; in tcf_chain_tp_delete_empty()
1931 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain, in tcf_chain_tp_find()
1936 struct tcf_proto **pprev; in tcf_chain_tp_find()
1937 struct tcf_proto *tp; in tcf_chain_tp_find()
1965 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
2026 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_notify()
2055 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_del_notify()
2099 struct tcf_proto *tp; in tfilter_notify_chain()
2107 static void tfilter_put(struct tcf_proto *tp, void *fh) in tfilter_put()
2134 struct tcf_proto *tp; in tc_new_tfilter()
2233 struct tcf_proto *tp_new = NULL; in tc_new_tfilter()
2367 struct tcf_proto *tp = NULL; in tc_del_tfilter()
2524 struct tcf_proto *tp = NULL; in tc_get_tfilter()
2641 static int tcf_node_dump(struct tcf_proto *tp, void *n, struct tcf_walker *arg) in tcf_node_dump()
2659 struct tcf_proto *tp, *tp_prev; in tcf_chain_dump()
3208 int police, struct tcf_proto *tp, u32 handle, in tcf_exts_init_ex()
3262 int tcf_exts_validate_ex(struct net *net, struct tcf_proto *tp, struct nlattr **tb, in tcf_exts_validate_ex()
3317 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, in tcf_exts_validate()
3442 struct tcf_proto *tp, u32 *cnt, in tc_cls_offload_cnt_update()
3461 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3527 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3577 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3631 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3665 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()
3900 struct tcf_proto *fl; in tcf_qevent_handle()