4 * Userspace RCU header -- name mapping to allow multiple flavors to be
5 * used in the same executable.
7 * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
10 * LGPL-compatible code should include this header with :
12 * #define _LGPL_SOURCE
15 * This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with this library; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
32 #define rcu_read_lock urcu_qsbr_read_lock
33 #define _rcu_read_lock _urcu_qsbr_read_lock
34 #define rcu_read_unlock urcu_qsbr_read_unlock
35 #define _rcu_read_unlock _urcu_qsbr_read_unlock
36 #define rcu_read_ongoing urcu_qsbr_read_ongoing
37 #define _rcu_read_ongoing _urcu_qsbr_read_ongoing
38 #define rcu_quiescent_state urcu_qsbr_quiescent_state
39 #define _rcu_quiescent_state _urcu_qsbr_quiescent_state
40 #define rcu_thread_offline urcu_qsbr_thread_offline
41 #define rcu_thread_online urcu_qsbr_thread_online
42 #define rcu_register_thread urcu_qsbr_register_thread
43 #define rcu_unregister_thread urcu_qsbr_unregister_thread
44 #define rcu_exit urcu_qsbr_exit
45 #define synchronize_rcu urcu_qsbr_synchronize_rcu
46 #define rcu_reader urcu_qsbr_reader
47 #define rcu_gp urcu_qsbr_gp
49 #define get_cpu_call_rcu_data urcu_qsbr_get_cpu_call_rcu_data
50 #define get_call_rcu_thread urcu_qsbr_get_call_rcu_thread
51 #define create_call_rcu_data urcu_qsbr_create_call_rcu_data
52 #define set_cpu_call_rcu_data urcu_qsbr_set_cpu_call_rcu_data
53 #define get_default_call_rcu_data urcu_qsbr_get_default_call_rcu_data
54 #define get_call_rcu_data urcu_qsbr_get_call_rcu_data
55 #define get_thread_call_rcu_data urcu_qsbr_get_thread_call_rcu_data
56 #define set_thread_call_rcu_data urcu_qsbr_set_thread_call_rcu_data
57 #define create_all_cpu_call_rcu_data urcu_qsbr_create_all_cpu_call_rcu_data
58 #define free_all_cpu_call_rcu_data urcu_qsbr_free_all_cpu_call_rcu_data
59 #define call_rcu urcu_qsbr_call_rcu
60 #define call_rcu_data_free urcu_qsbr_call_rcu_data_free
61 #define call_rcu_before_fork urcu_qsbr_call_rcu_before_fork
62 #define call_rcu_after_fork_parent urcu_qsbr_call_rcu_after_fork_parent
63 #define call_rcu_after_fork_child urcu_qsbr_call_rcu_after_fork_child
64 #define rcu_barrier urcu_qsbr_barrier
66 #define defer_rcu urcu_qsbr_defer_rcu
67 #define rcu_defer_register_thread urcu_qsbr_defer_register_thread
68 #define rcu_defer_unregister_thread urcu_qsbr_defer_unregister_thread
69 #define rcu_defer_barrier urcu_qsbr_defer_barrier
70 #define rcu_defer_barrier_thread urcu_qsbr_defer_barrier_thread
71 #define rcu_defer_exit urcu_qsbr_defer_exit
73 #define rcu_flavor urcu_qsbr_flavor
75 #define urcu_register_rculfhash_atfork \
76 urcu_qsbr_register_rculfhash_atfork
77 #define urcu_unregister_rculfhash_atfork \
78 urcu_qsbr_unregister_rculfhash_atfork
80 /* Compat identifiers for prior undocumented multiflavor usage */
81 #ifndef URCU_NO_COMPAT_IDENTIFIERS
83 #define rcu_dereference_qsbr urcu_qsbr_dereference
84 #define rcu_cmpxchg_pointer_qsbr urcu_qsbr_cmpxchg_pointer
85 #define rcu_xchg_pointer_qsbr urcu_qsbr_xchg_pointer
86 #define rcu_set_pointer_qsbr urcu_qsbr_set_pointer
88 #define rcu_qsbr_before_fork urcu_qsbr_before_fork
89 #define rcu_qsbr_after_fork_parent urcu_qsbr_after_fork_parent
90 #define rcu_qsbr_after_fork_child urcu_qsbr_after_fork_child
92 #define rcu_read_lock_qsbr urcu_qsbr_read_lock
93 #define _rcu_read_lock_qsbr _urcu_qsbr_read_lock
94 #define rcu_read_unlock_qsbr urcu_qsbr_read_unlock
95 #define _rcu_read_unlock_qsbr _urcu_qsbr_read_unlock
96 #define rcu_read_ongoing_qsbr urcu_qsbr_read_ongoing
97 #define _rcu_read_ongoing_qsbr _urcu_qsbr_read_ongoing
98 #define rcu_register_thread_qsbr urcu_qsbr_register_thread
99 #define rcu_unregister_thread_qsbr urcu_qsbr_unregister_thread
100 #define rcu_init_qsbr urcu_qsbr_init
101 #define rcu_exit_qsbr urcu_qsbr_exit
102 #define synchronize_rcu_qsbr urcu_qsbr_synchronize_rcu
103 #define rcu_reader_qsbr urcu_qsbr_reader
104 #define rcu_gp_qsbr urcu_qsbr_gp
106 #define get_cpu_call_rcu_data_qsbr urcu_qsbr_get_cpu_call_rcu_data
107 #define get_call_rcu_thread_qsbr urcu_qsbr_get_call_rcu_thread
108 #define create_call_rcu_data_qsbr urcu_qsbr_create_call_rcu_data
109 #define set_cpu_call_rcu_data_qsbr urcu_qsbr_set_cpu_call_rcu_data
110 #define get_default_call_rcu_data_qsbr urcu_qsbr_get_default_call_rcu_data
111 #define get_call_rcu_data_qsbr urcu_qsbr_get_call_rcu_data
112 #define get_thread_call_rcu_data_qsbr urcu_qsbr_get_thread_call_rcu_data
113 #define set_thread_call_rcu_data_qsbr urcu_qsbr_set_thread_call_rcu_data
114 #define create_all_cpu_call_rcu_data_qsbr \
115 urcu_qsbr_create_all_cpu_call_rcu_data
116 #define free_all_cpu_call_rcu_data_qsbr urcu_qsbr_free_all_cpu_call_rcu_data
117 #define call_rcu_qsbr urcu_qsbr_call_rcu
118 #define call_rcu_data_free_qsbr urcu_qsbr_call_rcu_data_free
119 #define call_rcu_before_fork_qsbr urcu_qsbr_call_rcu_before_fork
120 #define call_rcu_after_fork_parent_qsbr urcu_qsbr_call_rcu_after_fork_parent
121 #define call_rcu_after_fork_child_qsbr urcu_qsbr_call_rcu_after_fork_child
122 #define rcu_barrier_qsbr urcu_qsbr_barrier
124 #define defer_rcu_qsbr urcu_qsbr_defer_rcu
125 #define rcu_defer_register_thread_qsbr urcu_qsbr_defer_register_thread
126 #define rcu_defer_unregister_thread_qsbr \
127 urcu_qsbr_defer_unregister_thread
128 #define rcu_defer_barrier_qsbr urcu_qsbr_defer_barrier
129 #define rcu_defer_barrier_thread_qsbr urcu_qsbr_defer_barrier_thread
130 #define rcu_defer_exit_qsbr urcu_qsbr_defer_exit
132 #define rcu_flavor_qsbr urcu_qsbr_flavor
134 #define urcu_register_rculfhash_atfork_qsbr \
135 urcu_qsbr_register_rculfhash_atfork
136 #define urcu_unregister_rculfhash_atfork_qsbr \
137 urcu_qsbr_unregister_rculfhash_atfork
139 #endif /* URCU_NO_COMPAT_IDENTIFIERS */
This page took 0.031234 seconds and 4 git commands to generate.