Searched refs:ts_conf (Results 1 – 2 of 2) sorted by relevance
52 struct ts_config *ts_conf; in em_text_change() local66 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), in em_text_change()72 if (IS_ERR(ts_conf)) { in em_text_change()73 if (PTR_ERR(ts_conf) == -ENOENT && !(flags & TS_AUTOLOAD)) { in em_text_change()78 return PTR_ERR(ts_conf); in em_text_change()80 textsearch_destroy(ts_conf); in em_text_change()86 textsearch_destroy(ts_conf); in em_text_change()94 tm->config = ts_conf; in em_text_change()
44 struct ts_config *ts_conf; in string_mt_check() local59 ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen, in string_mt_check()61 if (IS_ERR(ts_conf)) in string_mt_check()62 return PTR_ERR(ts_conf); in string_mt_check()64 conf->config = ts_conf; in string_mt_check()