Lines Matching refs:name

138 #define	FUNC_TYPE(name)		__CONCAT(name, _func_t)
139 #define FUNC_INT(name) __CONCAT(name, _int)
140 #define FUNC_EXP(name) __CONCAT(name, _exp)
142 #define STUB_FUNC(name, idx, ret) \
143 static ret FUNC_EXP(name)(void) __used; \
144 static ret FUNC_INT(name)(void) __used; \
145 WEAK_REF(FUNC_EXP(name), name); \
146 WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \
147 typedef ret (*FUNC_TYPE(name))(void); \
148 static ret FUNC_EXP(name)(void) \
150 FUNC_TYPE(name) func; \
151 func = (FUNC_TYPE(name))__thr_jtable[idx][0]; \
154 static ret FUNC_INT(name)(void) \
156 FUNC_TYPE(name) func; \
157 func = (FUNC_TYPE(name))__thr_jtable[idx][1]; \
161 #define STUB_FUNC1(name, idx, ret, p0_type) \
162 static ret FUNC_EXP(name)(p0_type) __used; \
163 static ret FUNC_INT(name)(p0_type) __used; \
164 WEAK_REF(FUNC_EXP(name), name); \
165 WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \
166 typedef ret (*FUNC_TYPE(name))(p0_type); \
167 static ret FUNC_EXP(name)(p0_type p0) \
169 FUNC_TYPE(name) func; \
170 func = (FUNC_TYPE(name))__thr_jtable[idx][0]; \
173 static ret FUNC_INT(name)(p0_type p0) \
175 FUNC_TYPE(name) func; \
176 func = (FUNC_TYPE(name))__thr_jtable[idx][1]; \
180 #define STUB_FUNC2(name, idx, ret, p0_type, p1_type) \
181 static ret FUNC_EXP(name)(p0_type, p1_type) __used; \
182 static ret FUNC_INT(name)(p0_type, p1_type) __used; \
183 WEAK_REF(FUNC_EXP(name), name); \
184 WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \
185 typedef ret (*FUNC_TYPE(name))(p0_type, p1_type); \
186 static ret FUNC_EXP(name)(p0_type p0, p1_type p1) \
188 FUNC_TYPE(name) func; \
189 func = (FUNC_TYPE(name))__thr_jtable[idx][0]; \
192 static ret FUNC_INT(name)(p0_type p0, p1_type p1) \
194 FUNC_TYPE(name) func; \
195 func = (FUNC_TYPE(name))__thr_jtable[idx][1]; \
199 #define STUB_FUNC3(name, idx, ret, p0_type, p1_type, p2_type) \
200 static ret FUNC_EXP(name)(p0_type, p1_type, p2_type) __used; \
201 static ret FUNC_INT(name)(p0_type, p1_type, p2_type) __used; \
202 WEAK_REF(FUNC_EXP(name), name); \
203 WEAK_REF(FUNC_INT(name), __CONCAT(_, name)); \
204 typedef ret (*FUNC_TYPE(name))(p0_type, p1_type, p2_type); \
205 static ret FUNC_EXP(name)(p0_type p0, p1_type p1, p2_type p2) \
207 FUNC_TYPE(name) func; \
208 func = (FUNC_TYPE(name))__thr_jtable[idx][0]; \
211 static ret FUNC_INT(name)(p0_type p0, p1_type p1, p2_type p2) \
213 FUNC_TYPE(name) func; \
214 func = (FUNC_TYPE(name))__thr_jtable[idx][1]; \