Lines Matching refs:em
427 static inline int tcf_em_is_container(struct tcf_ematch *em) in tcf_em_is_container() argument
429 return !em->ops; in tcf_em_is_container()
432 static inline int tcf_em_is_simple(struct tcf_ematch *em) in tcf_em_is_simple() argument
434 return em->flags & TCF_EM_SIMPLE; in tcf_em_is_simple()
437 static inline int tcf_em_is_inverted(struct tcf_ematch *em) in tcf_em_is_inverted() argument
439 return em->flags & TCF_EM_INVERT; in tcf_em_is_inverted()
442 static inline int tcf_em_last_match(struct tcf_ematch *em) in tcf_em_last_match() argument
444 return (em->flags & TCF_EM_REL_MASK) == TCF_EM_REL_END; in tcf_em_last_match()
447 static inline int tcf_em_early_end(struct tcf_ematch *em, int result) in tcf_em_early_end() argument
449 if (tcf_em_last_match(em)) in tcf_em_early_end()
452 if (result == 0 && em->flags & TCF_EM_REL_AND) in tcf_em_early_end()
455 if (result != 0 && em->flags & TCF_EM_REL_OR) in tcf_em_early_end()