Lines Matching refs:conf
209 struct ts_config *conf, in get_linear_data() argument
235 unsigned int textsearch_find_continuous(struct ts_config *conf, in textsearch_find_continuous() argument
241 conf->get_next_block = get_linear_data; in textsearch_find_continuous()
245 return textsearch_find(conf, state); in textsearch_find_continuous()
271 struct ts_config *conf; in textsearch_prepare() local
293 conf = ops->init(pattern, len, gfp_mask, flags); in textsearch_prepare()
294 if (IS_ERR(conf)) { in textsearch_prepare()
295 err = PTR_ERR(conf); in textsearch_prepare()
299 conf->ops = ops; in textsearch_prepare()
300 return conf; in textsearch_prepare()
317 void textsearch_destroy(struct ts_config *conf) in textsearch_destroy() argument
319 if (conf->ops) { in textsearch_destroy()
320 if (conf->ops->destroy) in textsearch_destroy()
321 conf->ops->destroy(conf); in textsearch_destroy()
322 module_put(conf->ops->owner); in textsearch_destroy()
325 kfree(conf); in textsearch_destroy()