Lines Matching refs:conf
205 struct ts_config *conf, in get_linear_data() argument
231 unsigned int textsearch_find_continuous(struct ts_config *conf, in textsearch_find_continuous() argument
237 conf->get_next_block = get_linear_data; in textsearch_find_continuous()
241 return textsearch_find(conf, state); in textsearch_find_continuous()
267 struct ts_config *conf; in textsearch_prepare() local
289 conf = ops->init(pattern, len, gfp_mask, flags); in textsearch_prepare()
290 if (IS_ERR(conf)) { in textsearch_prepare()
291 err = PTR_ERR(conf); in textsearch_prepare()
295 conf->ops = ops; in textsearch_prepare()
296 return conf; in textsearch_prepare()
313 void textsearch_destroy(struct ts_config *conf) in textsearch_destroy() argument
315 if (conf->ops) { in textsearch_destroy()
316 if (conf->ops->destroy) in textsearch_destroy()
317 conf->ops->destroy(conf); in textsearch_destroy()
318 module_put(conf->ops->owner); in textsearch_destroy()
321 kfree(conf); in textsearch_destroy()