Lines Matching refs:a
29 #define to_pedit(a) ((struct tcf_pedit *)a) argument
30 #define to_pedit_parms(a) (rcu_dereference(to_pedit(a)->parms)) argument
32 static inline bool is_tcf_pedit(const struct tc_action *a) in is_tcf_pedit() argument
35 if (a->ops && a->ops->id == TCA_ID_PEDIT) in is_tcf_pedit()
41 static inline int tcf_pedit_nkeys(const struct tc_action *a) in tcf_pedit_nkeys() argument
47 parms = to_pedit_parms(a); in tcf_pedit_nkeys()
54 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) in tcf_pedit_htype() argument
60 parms = to_pedit_parms(a); in tcf_pedit_htype()
68 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) in tcf_pedit_cmd() argument
74 parms = to_pedit_parms(a); in tcf_pedit_cmd()
82 static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) in tcf_pedit_mask() argument
88 parms = to_pedit_parms(a); in tcf_pedit_mask()
95 static inline u32 tcf_pedit_val(const struct tc_action *a, int index) in tcf_pedit_val() argument
101 parms = to_pedit_parms(a); in tcf_pedit_val()
108 static inline u32 tcf_pedit_offset(const struct tc_action *a, int index) in tcf_pedit_offset() argument
114 parms = to_pedit_parms(a); in tcf_pedit_offset()