Lines Matching refs:ts_config
12 struct ts_config;
41 struct ts_config * (*init)(const void *, unsigned int, gfp_t, int);
42 unsigned int (*find)(struct ts_config *,
44 void (*destroy)(struct ts_config *);
45 void * (*get_pattern)(struct ts_config *);
46 unsigned int (*get_pattern_len)(struct ts_config *);
58 struct ts_config struct
77 struct ts_config *conf, argument
88 void (*finish)(struct ts_config *conf, argument
104 static inline unsigned int textsearch_next(struct ts_config *conf, in textsearch_next()
123 static inline unsigned int textsearch_find(struct ts_config *conf, in textsearch_find()
134 static inline void *textsearch_get_pattern(struct ts_config *conf) in textsearch_get_pattern()
143 static inline unsigned int textsearch_get_pattern_len(struct ts_config *conf) in textsearch_get_pattern_len()
150 extern struct ts_config *textsearch_prepare(const char *, const void *,
152 extern void textsearch_destroy(struct ts_config *conf);
153 extern unsigned int textsearch_find_continuous(struct ts_config *,
161 static inline struct ts_config *alloc_ts_config(size_t payload, in alloc_ts_config()
164 struct ts_config *conf; in alloc_ts_config()
173 static inline void *ts_config_priv(struct ts_config *conf) in ts_config_priv()
175 return ((u8 *) conf + TS_PRIV_ALIGN(sizeof(struct ts_config))); in ts_config_priv()