Lines Matching refs:tcf_proto
52 static u32 destroy_obj_hashfn(const struct tcf_proto *tp) in destroy_obj_hashfn()
59 struct tcf_proto *tp) in tcf_proto_signal_destroying()
69 static bool tcf_proto_cmp(const struct tcf_proto *tp1, in tcf_proto_cmp()
70 const struct tcf_proto *tp2) in tcf_proto_cmp()
78 struct tcf_proto *tp) in tcf_proto_exists_destroying()
81 struct tcf_proto *iter; in tcf_proto_exists_destroying()
98 tcf_proto_signal_destroyed(struct tcf_chain *chain, struct tcf_proto *tp) in tcf_proto_signal_destroyed()
213 static inline u32 tcf_auto_prio(struct tcf_proto *tp) in tcf_auto_prio()
251 static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, in tcf_proto_create()
256 struct tcf_proto *tp; in tcf_proto_create()
287 static void tcf_proto_get(struct tcf_proto *tp) in tcf_proto_get()
294 static void tcf_proto_destroy(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_destroy()
305 static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_put()
312 static bool tcf_proto_check_delete(struct tcf_proto *tp) in tcf_proto_check_delete()
321 static void tcf_proto_mark_delete(struct tcf_proto *tp) in tcf_proto_mark_delete()
328 static bool tcf_proto_is_deleting(struct tcf_proto *tp) in tcf_proto_is_deleting()
369 struct tcf_proto *tp_head) in tcf_chain_head_change_item()
376 struct tcf_proto *tp_head) in tcf_chain0_head_change()
598 struct tcf_proto *tp, *tp_next; in tcf_chain_flush()
784 struct tcf_proto *tp_head; in tcf_chain0_head_change_cb_add()
952 static struct tcf_proto *
953 __tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp) in __tcf_get_next_proto()
993 struct tcf_proto *
994 tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp, in tcf_get_next_proto()
997 struct tcf_proto *tp_next = __tcf_get_next_proto(chain, tp); in tcf_get_next_proto()
1352 static void tcf_chain_head_change_dflt(struct tcf_proto *tp_head, void *priv) in tcf_chain_head_change_dflt()
1354 struct tcf_proto __rcu **p_filter_chain = priv; in tcf_chain_head_change_dflt()
1360 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get()
1405 struct tcf_proto *tp, *tp_prev; in tcf_block_playback_offloads()
1528 const struct tcf_proto *tp, in __tcf_classify()
1529 const struct tcf_proto *orig_tp, in __tcf_classify()
1536 const struct tcf_proto *first_tp; in __tcf_classify()
1581 int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tcf_classify()
1593 const struct tcf_proto *tp, in tcf_classify_ingress()
1603 const struct tcf_proto *orig_tp = tp; in tcf_classify_ingress()
1641 struct tcf_proto __rcu **pprev;
1642 struct tcf_proto __rcu *next;
1645 static struct tcf_proto *tcf_chain_tp_prev(struct tcf_chain *chain, in tcf_chain_tp_prev()
1653 struct tcf_proto *tp) in tcf_chain_tp_insert()
1669 struct tcf_proto *tp) in tcf_chain_tp_remove()
1671 struct tcf_proto *next = tcf_chain_dereference(chain_info->next, chain); in tcf_chain_tp_remove()
1679 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain,
1689 static struct tcf_proto *tcf_chain_tp_insert_unique(struct tcf_chain *chain, in tcf_chain_tp_insert_unique()
1690 struct tcf_proto *tp_new, in tcf_chain_tp_insert_unique()
1695 struct tcf_proto *tp; in tcf_chain_tp_insert_unique()
1724 struct tcf_proto *tp, bool rtnl_held, in tcf_chain_tp_delete_empty()
1728 struct tcf_proto *tp_iter; in tcf_chain_tp_delete_empty()
1729 struct tcf_proto **pprev; in tcf_chain_tp_delete_empty()
1730 struct tcf_proto *next; in tcf_chain_tp_delete_empty()
1764 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain, in tcf_chain_tp_find()
1769 struct tcf_proto **pprev; in tcf_chain_tp_find()
1770 struct tcf_proto *tp; in tcf_chain_tp_find()
1798 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
1852 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_notify()
1884 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_del_notify()
1930 struct tcf_proto *tp; in tfilter_notify_chain()
1938 static void tfilter_put(struct tcf_proto *tp, void *fh) in tfilter_put()
1960 struct tcf_proto *tp; in tc_new_tfilter()
2058 struct tcf_proto *tp_new = NULL; in tc_new_tfilter()
2186 struct tcf_proto *tp = NULL; in tc_del_tfilter()
2346 struct tcf_proto *tp = NULL; in tc_get_tfilter()
2463 static int tcf_node_dump(struct tcf_proto *tp, void *n, struct tcf_walker *arg) in tcf_node_dump()
2481 struct tcf_proto *tp, *tp_prev; in tcf_chain_dump()
3048 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, in tcf_exts_validate()
3208 struct tcf_proto *tp, u32 *cnt, in tc_cls_offload_cnt_update()
3227 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3293 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3343 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3397 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3431 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()
3828 struct tcf_proto *fl; in tcf_qevent_handle()