Lines Matching refs:tcf_proto
51 static u32 destroy_obj_hashfn(const struct tcf_proto *tp) in destroy_obj_hashfn()
58 struct tcf_proto *tp) in tcf_proto_signal_destroying()
68 static bool tcf_proto_cmp(const struct tcf_proto *tp1, in tcf_proto_cmp()
69 const struct tcf_proto *tp2) in tcf_proto_cmp()
77 struct tcf_proto *tp) in tcf_proto_exists_destroying()
80 struct tcf_proto *iter; in tcf_proto_exists_destroying()
97 tcf_proto_signal_destroyed(struct tcf_chain *chain, struct tcf_proto *tp) in tcf_proto_signal_destroyed()
212 static inline u32 tcf_auto_prio(struct tcf_proto *tp) in tcf_auto_prio()
250 static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, in tcf_proto_create()
255 struct tcf_proto *tp; in tcf_proto_create()
286 static void tcf_proto_get(struct tcf_proto *tp) in tcf_proto_get()
293 static void tcf_proto_destroy(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_destroy()
304 static void tcf_proto_put(struct tcf_proto *tp, bool rtnl_held, in tcf_proto_put()
311 static int walker_check_empty(struct tcf_proto *tp, void *fh, in walker_check_empty()
321 static bool tcf_proto_is_empty(struct tcf_proto *tp, bool rtnl_held) in tcf_proto_is_empty()
332 static bool tcf_proto_check_delete(struct tcf_proto *tp, bool rtnl_held) in tcf_proto_check_delete()
341 static void tcf_proto_mark_delete(struct tcf_proto *tp) in tcf_proto_mark_delete()
348 static bool tcf_proto_is_deleting(struct tcf_proto *tp) in tcf_proto_is_deleting()
389 struct tcf_proto *tp_head) in tcf_chain_head_change_item()
396 struct tcf_proto *tp_head) in tcf_chain0_head_change()
604 struct tcf_proto *tp, *tp_next; in tcf_chain_flush()
826 struct tcf_proto *tp_head; in tcf_chain0_head_change_cb_add()
994 static struct tcf_proto *
995 __tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp) in __tcf_get_next_proto()
1035 struct tcf_proto *
1036 tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp, in tcf_get_next_proto()
1039 struct tcf_proto *tp_next = __tcf_get_next_proto(chain, tp); in tcf_get_next_proto()
1394 static void tcf_chain_head_change_dflt(struct tcf_proto *tp_head, void *priv) in tcf_chain_head_change_dflt()
1396 struct tcf_proto __rcu **p_filter_chain = priv; in tcf_chain_head_change_dflt()
1402 struct tcf_proto __rcu **p_filter_chain, struct Qdisc *q, in tcf_block_get()
1447 struct tcf_proto *tp, *tp_prev; in tcf_block_playback_offloads()
1569 int tcf_classify(struct sk_buff *skb, const struct tcf_proto *tp, in tcf_classify()
1574 const struct tcf_proto *orig_tp = tp; in tcf_classify()
1575 const struct tcf_proto *first_tp; in tcf_classify()
1632 struct tcf_proto __rcu **pprev;
1633 struct tcf_proto __rcu *next;
1636 static struct tcf_proto *tcf_chain_tp_prev(struct tcf_chain *chain, in tcf_chain_tp_prev()
1644 struct tcf_proto *tp) in tcf_chain_tp_insert()
1660 struct tcf_proto *tp) in tcf_chain_tp_remove()
1662 struct tcf_proto *next = tcf_chain_dereference(chain_info->next, chain); in tcf_chain_tp_remove()
1670 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain,
1680 static struct tcf_proto *tcf_chain_tp_insert_unique(struct tcf_chain *chain, in tcf_chain_tp_insert_unique()
1681 struct tcf_proto *tp_new, in tcf_chain_tp_insert_unique()
1686 struct tcf_proto *tp; in tcf_chain_tp_insert_unique()
1715 struct tcf_proto *tp, bool rtnl_held, in tcf_chain_tp_delete_empty()
1719 struct tcf_proto *tp_iter; in tcf_chain_tp_delete_empty()
1720 struct tcf_proto **pprev; in tcf_chain_tp_delete_empty()
1721 struct tcf_proto *next; in tcf_chain_tp_delete_empty()
1755 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain, in tcf_chain_tp_find()
1760 struct tcf_proto **pprev; in tcf_chain_tp_find()
1761 struct tcf_proto *tp; in tcf_chain_tp_find()
1789 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
1834 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_notify()
1866 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_del_notify()
1912 struct tcf_proto *tp; in tfilter_notify_chain()
1920 static void tfilter_put(struct tcf_proto *tp, void *fh) in tfilter_put()
1942 struct tcf_proto *tp; in tc_new_tfilter()
2039 struct tcf_proto *tp_new = NULL; in tc_new_tfilter()
2168 struct tcf_proto *tp = NULL; in tc_del_tfilter()
2328 struct tcf_proto *tp = NULL; in tc_get_tfilter()
2444 static int tcf_node_dump(struct tcf_proto *tp, void *n, struct tcf_walker *arg) in tcf_node_dump()
2462 struct tcf_proto *tp, *tp_prev; in tcf_chain_dump()
3011 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, in tcf_exts_validate()
3145 struct tcf_proto *tp, u32 *cnt, in tc_cls_offload_cnt_update()
3164 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3230 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3280 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3334 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3368 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()