Lines Matching refs:tp
27 cls_set_class(struct tcf_proto *tp, unsigned long *clp, in cls_set_class() argument
32 tcf_tree_lock(tp); in cls_set_class()
34 tcf_tree_unlock(tp); in cls_set_class()
40 tcf_bind_filter(struct tcf_proto *tp, struct tcf_result *r, unsigned long base) in tcf_bind_filter() argument
44 cl = tp->q->ops->cl_ops->bind_tcf(tp->q, base, r->classid); in tcf_bind_filter()
45 cl = cls_set_class(tp, &r->class, cl); in tcf_bind_filter()
47 tp->q->ops->cl_ops->unbind_tcf(tp->q, cl); in tcf_bind_filter()
51 tcf_unbind_filter(struct tcf_proto *tp, struct tcf_result *r) in tcf_unbind_filter() argument
56 tp->q->ops->cl_ops->unbind_tcf(tp->q, cl); in tcf_unbind_filter()
133 int tcf_exts_validate(struct net *net, struct tcf_proto *tp,
137 void tcf_exts_change(struct tcf_proto *tp, struct tcf_exts *dst,
263 static inline void tcf_em_tree_change(struct tcf_proto *tp, in tcf_em_tree_change() argument
267 tcf_tree_lock(tp); in tcf_em_tree_change()
269 tcf_tree_unlock(tp); in tcf_em_tree_change()
303 #define tcf_em_tree_validate(tp, tb, t) ((void)(t), 0) argument
306 #define tcf_em_tree_change(tp, dst, src) do { } while(0) argument