Lines Matching refs:ts_config
13 struct ts_config;
42 struct ts_config * (*init)(const void *, unsigned int, gfp_t, int);
43 unsigned int (*find)(struct ts_config *,
45 void (*destroy)(struct ts_config *);
46 void * (*get_pattern)(struct ts_config *);
47 unsigned int (*get_pattern_len)(struct ts_config *);
59 struct ts_config struct
78 struct ts_config *conf, argument
89 void (*finish)(struct ts_config *conf, argument
105 static inline unsigned int textsearch_next(struct ts_config *conf, in textsearch_next()
124 static inline unsigned int textsearch_find(struct ts_config *conf, in textsearch_find()
135 static inline void *textsearch_get_pattern(struct ts_config *conf) in textsearch_get_pattern()
144 static inline unsigned int textsearch_get_pattern_len(struct ts_config *conf) in textsearch_get_pattern_len()
151 extern struct ts_config *textsearch_prepare(const char *, const void *,
153 extern void textsearch_destroy(struct ts_config *conf);
154 extern unsigned int textsearch_find_continuous(struct ts_config *,
162 static inline struct ts_config *alloc_ts_config(size_t payload, in alloc_ts_config()
165 struct ts_config *conf; in alloc_ts_config()
174 static inline void *ts_config_priv(struct ts_config *conf) in ts_config_priv()
176 return ((u8 *) conf + TS_PRIV_ALIGN(sizeof(struct ts_config))); in ts_config_priv()