Lines Matching refs:conf
46 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument
48 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_find()
51 const int icase = conf->flags & TS_IGNORECASE; in kmp_find()
54 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
98 struct ts_config *conf; in kmp_init() local
104 conf = alloc_ts_config(priv_size, gfp_mask); in kmp_init()
105 if (IS_ERR(conf)) in kmp_init()
106 return conf; in kmp_init()
108 conf->flags = flags; in kmp_init()
109 kmp = ts_config_priv(conf); in kmp_init()
119 return conf; in kmp_init()
122 static void *kmp_get_pattern(struct ts_config *conf) in kmp_get_pattern() argument
124 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_get_pattern()
128 static unsigned int kmp_get_pattern_len(struct ts_config *conf) in kmp_get_pattern_len() argument
130 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_get_pattern_len()