Lines Matching refs:conf
42 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument
44 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_find()
47 const int icase = conf->flags & TS_IGNORECASE; in kmp_find()
50 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
94 struct ts_config *conf; in kmp_init() local
100 conf = alloc_ts_config(priv_size, gfp_mask); in kmp_init()
101 if (IS_ERR(conf)) in kmp_init()
102 return conf; in kmp_init()
104 conf->flags = flags; in kmp_init()
105 kmp = ts_config_priv(conf); in kmp_init()
115 return conf; in kmp_init()
118 static void *kmp_get_pattern(struct ts_config *conf) in kmp_get_pattern() argument
120 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_get_pattern()
124 static unsigned int kmp_get_pattern_len(struct ts_config *conf) in kmp_get_pattern_len() argument
126 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_get_pattern_len()