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