Lines Matching refs:conf
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()
169 return conf; in bm_init()
172 static void *bm_get_pattern(struct ts_config *conf) in bm_get_pattern() argument
174 struct ts_bm *bm = ts_config_priv(conf); in bm_get_pattern()
178 static unsigned int bm_get_pattern_len(struct ts_config *conf) in bm_get_pattern_len() argument
180 struct ts_bm *bm = ts_config_priv(conf); in bm_get_pattern_len()