Home
last modified time | relevance | path

Searched refs:ts_ops (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/lib/
Dtextsearch.c110 static LIST_HEAD(ts_ops);
113 static inline struct ts_ops *lookup_ts_algo(const char *name) in lookup_ts_algo()
115 struct ts_ops *o; in lookup_ts_algo()
118 list_for_each_entry_rcu(o, &ts_ops, list) { in lookup_ts_algo()
143 int textsearch_register(struct ts_ops *ops) in textsearch_register()
146 struct ts_ops *o; in textsearch_register()
153 list_for_each_entry(o, &ts_ops, list) { in textsearch_register()
158 list_add_tail_rcu(&ops->list, &ts_ops); in textsearch_register()
178 int textsearch_unregister(struct ts_ops *ops) in textsearch_unregister()
181 struct ts_ops *o; in textsearch_unregister()
[all …]
Dts_kmp.c130 static struct ts_ops kmp_ops = {
Dts_bm.c199 static struct ts_ops bm_ops = {
Dts_fsm.c314 static struct ts_ops fsm_ops = {
/linux-6.6.21/include/linux/
Dtextsearch.h39 struct ts_ops struct
61 struct ts_ops *ops; argument
149 extern int textsearch_register(struct ts_ops *);
150 extern int textsearch_unregister(struct ts_ops *);