Lines Matching refs:conf
58 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()
165 return conf; in bm_init()
168 static void *bm_get_pattern(struct ts_config *conf) in bm_get_pattern() argument
170 struct ts_bm *bm = ts_config_priv(conf); in bm_get_pattern()
174 static unsigned int bm_get_pattern_len(struct ts_config *conf) in bm_get_pattern_len() argument
176 struct ts_bm *bm = ts_config_priv(conf); in bm_get_pattern_len()