Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dtextsearch.c110 static LIST_HEAD(ts_ops);
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()
184 list_for_each_entry(o, &ts_ops, list) { in textsearch_unregister()
[all …]
H A Dts_kmp.c130 static struct ts_ops kmp_ops = {
H A Dts_bm.c199 static struct ts_ops bm_ops = {
H A Dts_fsm.c314 static struct ts_ops fsm_ops = {
/openbmc/linux/include/linux/
H A 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 *);