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()
785 struct tcf_proto *tp_head; in tcf_chain0_head_change_cb_add()
953 static struct tcf_proto *
954 __tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp) in __tcf_get_next_proto()
994 struct tcf_proto *
995 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()
1583 const struct tcf_proto *tp, in tcf_classify()
1593 const struct tcf_proto *orig_tp = tp; in tcf_classify()
1634 struct tcf_proto __rcu **pprev;
1635 struct tcf_proto __rcu *next;
1638 static struct tcf_proto *tcf_chain_tp_prev(struct tcf_chain *chain, in tcf_chain_tp_prev()
1646 struct tcf_proto *tp) in tcf_chain_tp_insert()
1662 struct tcf_proto *tp) in tcf_chain_tp_remove()
1664 struct tcf_proto *next = tcf_chain_dereference(chain_info->next, chain); in tcf_chain_tp_remove()
1672 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain,
1682 static struct tcf_proto *tcf_chain_tp_insert_unique(struct tcf_chain *chain, in tcf_chain_tp_insert_unique()
1683 struct tcf_proto *tp_new, in tcf_chain_tp_insert_unique()
1688 struct tcf_proto *tp; in tcf_chain_tp_insert_unique()
1717 struct tcf_proto *tp, bool rtnl_held, in tcf_chain_tp_delete_empty()
1721 struct tcf_proto *tp_iter; in tcf_chain_tp_delete_empty()
1722 struct tcf_proto **pprev; in tcf_chain_tp_delete_empty()
1723 struct tcf_proto *next; in tcf_chain_tp_delete_empty()
1757 static struct tcf_proto *tcf_chain_tp_find(struct tcf_chain *chain, in tcf_chain_tp_find()
1762 struct tcf_proto **pprev; in tcf_chain_tp_find()
1763 struct tcf_proto *tp; in tcf_chain_tp_find()
1791 struct tcf_proto *tp, struct tcf_block *block, in tcf_fill_node()
1845 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_notify()
1874 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_del_notify()
1917 struct tcf_proto *tp; in tfilter_notify_chain()
1925 static void tfilter_put(struct tcf_proto *tp, void *fh) in tfilter_put()
1947 struct tcf_proto *tp; in tc_new_tfilter()
2047 struct tcf_proto *tp_new = NULL; in tc_new_tfilter()
2178 struct tcf_proto *tp = NULL; in tc_del_tfilter()
2338 struct tcf_proto *tp = NULL; in tc_get_tfilter()
2455 static int tcf_node_dump(struct tcf_proto *tp, void *n, struct tcf_walker *arg) in tcf_node_dump()
2473 struct tcf_proto *tp, *tp_prev; in tcf_chain_dump()
3028 int tcf_exts_validate(struct net *net, struct tcf_proto *tp, struct nlattr **tb, in tcf_exts_validate()
3198 struct tcf_proto *tp, u32 *cnt, in tc_cls_offload_cnt_update()
3217 tc_cls_offload_cnt_reset(struct tcf_block *block, struct tcf_proto *tp, in tc_cls_offload_cnt_reset()
3283 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_add()
3333 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_replace()
3387 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_destroy()
3421 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp, in tc_setup_cb_reoffload()
3821 struct tcf_proto *fl; in tcf_qevent_handle()