Lines Matching refs:a
25 #define to_tunnel_key(a) ((struct tcf_tunnel_key *)a) argument
27 static inline bool is_tcf_tunnel_set(const struct tc_action *a) in is_tcf_tunnel_set() argument
30 struct tcf_tunnel_key *t = to_tunnel_key(a); in is_tcf_tunnel_set()
34 lockdep_is_held(&a->tcfa_lock)); in is_tcf_tunnel_set()
35 if (a->ops && a->ops->id == TCA_ID_TUNNEL_KEY) in is_tcf_tunnel_set()
41 static inline bool is_tcf_tunnel_release(const struct tc_action *a) in is_tcf_tunnel_release() argument
44 struct tcf_tunnel_key *t = to_tunnel_key(a); in is_tcf_tunnel_release()
48 lockdep_is_held(&a->tcfa_lock)); in is_tcf_tunnel_release()
49 if (a->ops && a->ops->id == TCA_ID_TUNNEL_KEY) in is_tcf_tunnel_release()
55 static inline struct ip_tunnel_info *tcf_tunnel_info(const struct tc_action *a) in tcf_tunnel_info() argument
58 struct tcf_tunnel_key *t = to_tunnel_key(a); in tcf_tunnel_info()
62 lockdep_is_held(&a->tcfa_lock)); in tcf_tunnel_info()
71 tcf_tunnel_info_copy(const struct tc_action *a) in tcf_tunnel_info_copy() argument
74 struct ip_tunnel_info *tun = tcf_tunnel_info(a); in tcf_tunnel_info_copy()