Lines Matching refs:tp
353 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
357 void (*put)(struct tcf_proto *tp, void *f);
363 int (*delete)(struct tcf_proto *tp, void *arg,
366 bool (*delete_empty)(struct tcf_proto *tp);
367 void (*walk)(struct tcf_proto *tp,
369 int (*reoffload)(struct tcf_proto *tp, bool add,
372 void (*hw_add)(struct tcf_proto *tp,
374 void (*hw_del)(struct tcf_proto *tp,
387 struct tcf_exts * (*get_exts)(const struct tcf_proto *tp,
395 struct tcf_proto *tp, void *fh,
506 static inline bool lockdep_tcf_proto_is_locked(struct tcf_proto *tp) in lockdep_tcf_proto_is_locked() argument
508 return lockdep_is_held(&tp->lock); in lockdep_tcf_proto_is_locked()
514 #define tcf_proto_dereference(p, tp) \ argument
515 rcu_dereference_protected(p, lockdep_tcf_proto_is_locked(tp))