Lines Matching refs:tp
357 void (*destroy)(struct tcf_proto *tp, bool rtnl_held,
361 void (*put)(struct tcf_proto *tp, void *f);
367 int (*delete)(struct tcf_proto *tp, void *arg,
370 bool (*delete_empty)(struct tcf_proto *tp);
371 void (*walk)(struct tcf_proto *tp,
373 int (*reoffload)(struct tcf_proto *tp, bool add,
376 void (*hw_add)(struct tcf_proto *tp,
378 void (*hw_del)(struct tcf_proto *tp,
391 struct tcf_exts * (*get_exts)(const struct tcf_proto *tp,
399 struct tcf_proto *tp, void *fh,
504 static inline bool lockdep_tcf_proto_is_locked(struct tcf_proto *tp) in lockdep_tcf_proto_is_locked() argument
506 return lockdep_is_held(&tp->lock); in lockdep_tcf_proto_is_locked()
512 #define tcf_proto_dereference(p, tp) \ argument
513 rcu_dereference_protected(p, lockdep_tcf_proto_is_locked(tp))