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 #define start_poll_synchronize_rcu urcu_qsbr_start_poll_synchronize_rcu
81 #define poll_state_synchronize_rcu urcu_qsbr_poll_state_synchronize_rcu
84 /* Compat identifiers for prior undocumented multiflavor usage */
85 #ifndef URCU_NO_COMPAT_IDENTIFIERS
87 #define rcu_dereference_qsbr urcu_qsbr_dereference
88 #define rcu_cmpxchg_pointer_qsbr urcu_qsbr_cmpxchg_pointer
89 #define rcu_xchg_pointer_qsbr urcu_qsbr_xchg_pointer
90 #define rcu_set_pointer_qsbr urcu_qsbr_set_pointer
92 #define rcu_qsbr_before_fork urcu_qsbr_before_fork
93 #define rcu_qsbr_after_fork_parent urcu_qsbr_after_fork_parent
94 #define rcu_qsbr_after_fork_child urcu_qsbr_after_fork_child
96 #define rcu_read_lock_qsbr urcu_qsbr_read_lock
97 #define _rcu_read_lock_qsbr _urcu_qsbr_read_lock
98 #define rcu_read_unlock_qsbr urcu_qsbr_read_unlock
99 #define _rcu_read_unlock_qsbr _urcu_qsbr_read_unlock
100 #define rcu_read_ongoing_qsbr urcu_qsbr_read_ongoing
101 #define _rcu_read_ongoing_qsbr _urcu_qsbr_read_ongoing
102 #define rcu_register_thread_qsbr urcu_qsbr_register_thread
103 #define rcu_unregister_thread_qsbr urcu_qsbr_unregister_thread
104 #define rcu_init_qsbr urcu_qsbr_init
105 #define rcu_exit_qsbr urcu_qsbr_exit
106 #define synchronize_rcu_qsbr urcu_qsbr_synchronize_rcu
107 #define rcu_reader_qsbr urcu_qsbr_reader
108 #define rcu_gp_qsbr urcu_qsbr_gp
110 #define get_cpu_call_rcu_data_qsbr urcu_qsbr_get_cpu_call_rcu_data
111 #define get_call_rcu_thread_qsbr urcu_qsbr_get_call_rcu_thread
112 #define create_call_rcu_data_qsbr urcu_qsbr_create_call_rcu_data
113 #define set_cpu_call_rcu_data_qsbr urcu_qsbr_set_cpu_call_rcu_data
114 #define get_default_call_rcu_data_qsbr urcu_qsbr_get_default_call_rcu_data
115 #define get_call_rcu_data_qsbr urcu_qsbr_get_call_rcu_data
116 #define get_thread_call_rcu_data_qsbr urcu_qsbr_get_thread_call_rcu_data
117 #define set_thread_call_rcu_data_qsbr urcu_qsbr_set_thread_call_rcu_data
118 #define create_all_cpu_call_rcu_data_qsbr \
119 urcu_qsbr_create_all_cpu_call_rcu_data
120 #define free_all_cpu_call_rcu_data_qsbr urcu_qsbr_free_all_cpu_call_rcu_data
121 #define call_rcu_qsbr urcu_qsbr_call_rcu
122 #define call_rcu_data_free_qsbr urcu_qsbr_call_rcu_data_free
123 #define call_rcu_before_fork_qsbr urcu_qsbr_call_rcu_before_fork
124 #define call_rcu_after_fork_parent_qsbr urcu_qsbr_call_rcu_after_fork_parent
125 #define call_rcu_after_fork_child_qsbr urcu_qsbr_call_rcu_after_fork_child
126 #define rcu_barrier_qsbr urcu_qsbr_barrier
128 #define defer_rcu_qsbr urcu_qsbr_defer_rcu
129 #define rcu_defer_register_thread_qsbr urcu_qsbr_defer_register_thread
130 #define rcu_defer_unregister_thread_qsbr \
131 urcu_qsbr_defer_unregister_thread
132 #define rcu_defer_barrier_qsbr urcu_qsbr_defer_barrier
133 #define rcu_defer_barrier_thread_qsbr urcu_qsbr_defer_barrier_thread
134 #define rcu_defer_exit_qsbr urcu_qsbr_defer_exit
136 #define rcu_flavor_qsbr urcu_qsbr_flavor
138 #define urcu_register_rculfhash_atfork_qsbr \
139 urcu_qsbr_register_rculfhash_atfork
140 #define urcu_unregister_rculfhash_atfork_qsbr \
141 urcu_qsbr_unregister_rculfhash_atfork
143 #endif /* URCU_NO_COMPAT_IDENTIFIERS */
This page took 0.035921 seconds and 5 git commands to generate.