Searched refs:conf (Results 1 – 4 of 4) sorted by relevance
/lib/ |
D | textsearch.c | 203 struct ts_config *conf, in get_linear_data() argument 229 unsigned int textsearch_find_continuous(struct ts_config *conf, in textsearch_find_continuous() argument 235 conf->get_next_block = get_linear_data; in textsearch_find_continuous() 239 return textsearch_find(conf, state); in textsearch_find_continuous() 265 struct ts_config *conf; in textsearch_prepare() local 287 conf = ops->init(pattern, len, gfp_mask, flags); in textsearch_prepare() 288 if (IS_ERR(conf)) { in textsearch_prepare() 289 err = PTR_ERR(conf); in textsearch_prepare() 293 conf->ops = ops; in textsearch_prepare() 294 return conf; in textsearch_prepare() [all …]
|
D | ts_kmp.c | 46 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument 48 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_find() 51 const int icase = conf->flags & TS_IGNORECASE; in kmp_find() 54 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find() 98 struct ts_config *conf; in kmp_init() local 104 conf = alloc_ts_config(priv_size, gfp_mask); in kmp_init() 105 if (IS_ERR(conf)) in kmp_init() 106 return conf; in kmp_init() 108 conf->flags = flags; in kmp_init() 109 kmp = ts_config_priv(conf); in kmp_init() [all …]
|
D | ts_bm.c | 62 static unsigned int bm_find(struct ts_config *conf, struct ts_state *state) in bm_find() argument 64 struct ts_bm *bm = ts_config_priv(conf); in bm_find() 68 const u8 icase = conf->flags & TS_IGNORECASE; in bm_find() 71 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find() 148 struct ts_config *conf; in bm_init() local 154 conf = alloc_ts_config(priv_size, gfp_mask); in bm_init() 155 if (IS_ERR(conf)) in bm_init() 156 return conf; in bm_init() 158 conf->flags = flags; in bm_init() 159 bm = ts_config_priv(conf); in bm_init() [all …]
|
D | ts_fsm.c | 138 static unsigned int fsm_find(struct ts_config *conf, struct ts_state *state) in fsm_find() argument 140 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_find() 149 block_len = conf->get_next_block(consumed, &data, conf, state); }) in fsm_find() 263 struct ts_config *conf; in fsm_init() local 286 conf = alloc_ts_config(priv_size, gfp_mask); in fsm_init() 287 if (IS_ERR(conf)) in fsm_init() 288 return conf; in fsm_init() 290 conf->flags = flags; in fsm_init() 291 fsm = ts_config_priv(conf); in fsm_init() 300 return conf; in fsm_init() [all …]
|