Lines Matching refs:em
339 static inline int tcf_em_is_container(struct tcf_ematch *em) in tcf_em_is_container() argument
341 return !em->ops; in tcf_em_is_container()
344 static inline int tcf_em_is_simple(struct tcf_ematch *em) in tcf_em_is_simple() argument
346 return em->flags & TCF_EM_SIMPLE; in tcf_em_is_simple()
349 static inline int tcf_em_is_inverted(struct tcf_ematch *em) in tcf_em_is_inverted() argument
351 return em->flags & TCF_EM_INVERT; in tcf_em_is_inverted()
354 static inline int tcf_em_last_match(struct tcf_ematch *em) in tcf_em_last_match() argument
356 return (em->flags & TCF_EM_REL_MASK) == TCF_EM_REL_END; in tcf_em_last_match()
359 static inline int tcf_em_early_end(struct tcf_ematch *em, int result) in tcf_em_early_end() argument
361 if (tcf_em_last_match(em)) in tcf_em_early_end()
364 if (result == 0 && em->flags & TCF_EM_REL_AND) in tcf_em_early_end()
367 if (result != 0 && em->flags & TCF_EM_REL_OR) in tcf_em_early_end()