Lines Matching refs:tp
345 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
349 void (*put)(struct tcf_proto *tp, void *f);
355 int (*delete)(struct tcf_proto *tp, void *arg,
358 bool (*delete_empty)(struct tcf_proto *tp);
359 void (*walk)(struct tcf_proto *tp,
361 int (*reoffload)(struct tcf_proto *tp, bool add,
364 void (*hw_add)(struct tcf_proto *tp,
366 void (*hw_del)(struct tcf_proto *tp,
379 struct tcf_exts * (*get_exts)(const struct tcf_proto *tp,
387 struct tcf_proto *tp, void *fh,
498 static inline bool lockdep_tcf_proto_is_locked(struct tcf_proto *tp) in lockdep_tcf_proto_is_locked() argument
500 return lockdep_is_held(&tp->lock); in lockdep_tcf_proto_is_locked()
506 #define tcf_proto_dereference(p, tp) \ argument
507 rcu_dereference_protected(p, lockdep_tcf_proto_is_locked(tp))