Lines Matching refs:name
85 #define __SYS_STUB0(abi, name) \ argument
86 long __##abi##_##name(const struct pt_regs *regs); \
87 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
88 long __##abi##_##name(const struct pt_regs *regs) \
89 __alias(__do_##name);
91 #define __SYS_STUBx(abi, name, ...) \ argument
92 long __##abi##_##name(const struct pt_regs *regs); \
93 ALLOW_ERROR_INJECTION(__##abi##_##name, ERRNO); \
94 long __##abi##_##name(const struct pt_regs *regs) \
96 return __se_##name(__VA_ARGS__); \
99 #define __COND_SYSCALL(abi, name) \ argument
100 __weak long __##abi##_##name(const struct pt_regs *__unused); \
101 __weak long __##abi##_##name(const struct pt_regs *__unused) \
107 #define __X64_SYS_STUB0(name) \ argument
108 __SYS_STUB0(x64, sys_##name)
110 #define __X64_SYS_STUBx(x, name, ...) \ argument
111 __SYS_STUBx(x64, sys##name, \
114 #define __X64_COND_SYSCALL(name) \ argument
115 __COND_SYSCALL(x64, sys_##name)
118 #define __X64_SYS_STUB0(name) argument
119 #define __X64_SYS_STUBx(x, name, ...) argument
120 #define __X64_COND_SYSCALL(name) argument
124 #define __IA32_SYS_STUB0(name) \ argument
125 __SYS_STUB0(ia32, sys_##name)
127 #define __IA32_SYS_STUBx(x, name, ...) \ argument
128 __SYS_STUBx(ia32, sys##name, \
131 #define __IA32_COND_SYSCALL(name) \ argument
132 __COND_SYSCALL(ia32, sys_##name)
135 #define __IA32_SYS_STUB0(name) argument
136 #define __IA32_SYS_STUBx(x, name, ...) argument
137 #define __IA32_COND_SYSCALL(name) argument
148 #define __IA32_COMPAT_SYS_STUB0(name) \ argument
149 __SYS_STUB0(ia32, compat_sys_##name)
151 #define __IA32_COMPAT_SYS_STUBx(x, name, ...) \ argument
152 __SYS_STUBx(ia32, compat_sys##name, \
155 #define __IA32_COMPAT_COND_SYSCALL(name) \ argument
156 __COND_SYSCALL(ia32, compat_sys_##name)
159 #define __IA32_COMPAT_SYS_STUB0(name) argument
160 #define __IA32_COMPAT_SYS_STUBx(x, name, ...) argument
161 #define __IA32_COMPAT_COND_SYSCALL(name) argument
171 #define __X32_COMPAT_SYS_STUB0(name) \ argument
172 __SYS_STUB0(x64, compat_sys_##name)
174 #define __X32_COMPAT_SYS_STUBx(x, name, ...) \ argument
175 __SYS_STUBx(x64, compat_sys##name, \
178 #define __X32_COMPAT_COND_SYSCALL(name) \ argument
179 __COND_SYSCALL(x64, compat_sys_##name)
182 #define __X32_COMPAT_SYS_STUB0(name) argument
183 #define __X32_COMPAT_SYS_STUBx(x, name, ...) argument
184 #define __X32_COMPAT_COND_SYSCALL(name) argument
194 #define COMPAT_SYSCALL_DEFINE0(name) \ argument
196 __do_compat_sys_##name(const struct pt_regs *__unused); \
197 __IA32_COMPAT_SYS_STUB0(name) \
198 __X32_COMPAT_SYS_STUB0(name) \
200 __do_compat_sys_##name(const struct pt_regs *__unused)
202 #define COMPAT_SYSCALL_DEFINEx(x, name, ...) \ argument
203 static long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \
204 static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
205 __IA32_COMPAT_SYS_STUBx(x, name, __VA_ARGS__) \
206 __X32_COMPAT_SYS_STUBx(x, name, __VA_ARGS__) \
207 static long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \
209 return __do_compat_sys##name(__MAP(x,__SC_DELOUSE,__VA_ARGS__));\
211 static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
217 #define COND_SYSCALL_COMPAT(name) \ argument
218 __IA32_COMPAT_COND_SYSCALL(name) \
219 __X32_COMPAT_COND_SYSCALL(name)
223 #define __SYSCALL_DEFINEx(x, name, ...) \ argument
224 static long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \
225 static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
226 __X64_SYS_STUBx(x, name, __VA_ARGS__) \
227 __IA32_SYS_STUBx(x, name, __VA_ARGS__) \
228 static long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \
230 long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\
235 static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
251 #define COND_SYSCALL(name) \ argument
252 __X64_COND_SYSCALL(name) \
253 __IA32_COND_SYSCALL(name)