Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 4 of 4) sorted by relevance

/lib/
Dtextsearch.c205 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()
[all …]
Dts_kmp.c42 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument
44 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_find()
47 const int icase = conf->flags & TS_IGNORECASE; in kmp_find()
50 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
94 struct ts_config *conf; in kmp_init() local
100 conf = alloc_ts_config(priv_size, gfp_mask); in kmp_init()
101 if (IS_ERR(conf)) in kmp_init()
102 return conf; in kmp_init()
104 conf->flags = flags; in kmp_init()
105 kmp = ts_config_priv(conf); in kmp_init()
[all …]
Dts_bm.c58 static unsigned int bm_find(struct ts_config *conf, struct ts_state *state) in bm_find() argument
60 struct ts_bm *bm = ts_config_priv(conf); in bm_find()
64 const u8 icase = conf->flags & TS_IGNORECASE; in bm_find()
67 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find()
144 struct ts_config *conf; in bm_init() local
150 conf = alloc_ts_config(priv_size, gfp_mask); in bm_init()
151 if (IS_ERR(conf)) in bm_init()
152 return conf; in bm_init()
154 conf->flags = flags; in bm_init()
155 bm = ts_config_priv(conf); in bm_init()
[all …]
Dts_fsm.c134 static unsigned int fsm_find(struct ts_config *conf, struct ts_state *state) in fsm_find() argument
136 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_find()
145 block_len = conf->get_next_block(consumed, &data, conf, state); }) in fsm_find()
259 struct ts_config *conf; in fsm_init() local
282 conf = alloc_ts_config(priv_size, gfp_mask); in fsm_init()
283 if (IS_ERR(conf)) in fsm_init()
284 return conf; in fsm_init()
286 conf->flags = flags; in fsm_init()
287 fsm = ts_config_priv(conf); in fsm_init()
296 return conf; in fsm_init()
[all …]