Lines Matching refs:ts_ops
110 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()
184 list_for_each_entry(o, &ts_ops, list) { in textsearch_unregister()
268 struct ts_ops *ops; in textsearch_prepare()