textsearch.c (c1f3ee120bb61045b1c0a3ead620d1d65af47130) textsearch.c (82524746c27fa418c250a56dd7606b9d3fc79826)
1/*
2 * lib/textsearch.c Generic text search interface
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *

--- 83 unchanged lines hidden (view full) ---

92 *
93 * ==========================================================================
94 */
95
96#include <linux/module.h>
97#include <linux/types.h>
98#include <linux/string.h>
99#include <linux/init.h>
1/*
2 * lib/textsearch.c Generic text search interface
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *

--- 83 unchanged lines hidden (view full) ---

92 *
93 * ==========================================================================
94 */
95
96#include <linux/module.h>
97#include <linux/types.h>
98#include <linux/string.h>
99#include <linux/init.h>
100#include <linux/rculist.h>
100#include <linux/rcupdate.h>
101#include <linux/err.h>
102#include <linux/textsearch.h>
103
104static LIST_HEAD(ts_ops);
105static DEFINE_SPINLOCK(ts_mod_lock);
106
107static inline struct ts_ops *lookup_ts_algo(const char *name)

--- 213 unchanged lines hidden ---
101#include <linux/rcupdate.h>
102#include <linux/err.h>
103#include <linux/textsearch.h>
104
105static LIST_HEAD(ts_ops);
106static DEFINE_SPINLOCK(ts_mod_lock);
107
108static inline struct ts_ops *lookup_ts_algo(const char *name)

--- 213 unchanged lines hidden ---