2 * List of powerpc syscalls. For the meaning of the _SPU suffix see
3 * arch/powerpc/platforms/cell/spu_callbacks.c
6 SYSCALL(restart_syscall
)
28 SYSX(sys_ni_syscall
,sys_oldumount
,sys_oldumount
)
65 SYSX(sys_ni_syscall
,sys_olduname
,sys_olduname
)
78 #define compat_sys_sigsuspend sys_sigsuspend
80 COMPAT_SYS(sigpending
)
81 SYSCALL_SPU(sethostname
)
82 COMPAT_SYS_SPU(setrlimit
)
83 COMPAT_SYS(old_getrlimit
)
84 COMPAT_SYS_SPU(getrusage
)
85 COMPAT_SYS_SPU(gettimeofday
)
86 COMPAT_SYS_SPU(settimeofday
)
87 SYSCALL_SPU(getgroups
)
88 SYSCALL_SPU(setgroups
)
89 SYSX(sys_ni_syscall
,sys_ni_syscall
,ppc_select
)
96 SYSX(sys_ni_syscall
,compat_sys_old_readdir
,sys_old_readdir
)
99 COMPAT_SYS_SPU(truncate
)
100 COMPAT_SYS_SPU(ftruncate
)
103 SYSCALL_SPU(getpriority
)
104 SYSCALL_SPU(setpriority
)
109 COMPAT_SYS_SPU(socketcall
)
111 COMPAT_SYS_SPU(setitimer
)
112 COMPAT_SYS_SPU(getitimer
)
113 COMPAT_SYS_SPU(newstat
)
114 COMPAT_SYS_SPU(newlstat
)
115 COMPAT_SYS_SPU(newfstat
)
116 SYSX(sys_ni_syscall
,sys_uname
,sys_uname
)
121 COMPAT_SYS_SPU(wait4
)
123 COMPAT_SYS_SPU(sysinfo
)
128 SYSCALL_SPU(setdomainname
)
129 SYSCALL_SPU(newuname
)
131 COMPAT_SYS_SPU(adjtimex
)
132 SYSCALL_SPU(mprotect
)
133 SYSX(sys_ni_syscall
,compat_sys_sigprocmask
,sys_sigprocmask
)
136 SYSCALL(delete_module
)
143 SYSX_SPU(ppc64_personality
,ppc64_personality
,sys_personality
)
145 SYSCALL_SPU(setfsuid
)
146 SYSCALL_SPU(setfsgid
)
148 COMPAT_SYS_SPU(getdents
)
149 SYSX_SPU(sys_select
,ppc32_select
,sys_select
)
152 COMPAT_SYS_SPU(readv
)
153 COMPAT_SYS_SPU(writev
)
155 SYSCALL_SPU(fdatasync
)
159 SYSCALL_SPU(mlockall
)
160 SYSCALL_SPU(munlockall
)
161 SYSCALL_SPU(sched_setparam
)
162 SYSCALL_SPU(sched_getparam
)
163 SYSCALL_SPU(sched_setscheduler
)
164 SYSCALL_SPU(sched_getscheduler
)
165 SYSCALL_SPU(sched_yield
)
166 SYSCALL_SPU(sched_get_priority_max
)
167 SYSCALL_SPU(sched_get_priority_min
)
168 COMPAT_SYS_SPU(sched_rr_get_interval
)
169 COMPAT_SYS_SPU(nanosleep
)
171 SYSCALL_SPU(setresuid
)
172 SYSCALL_SPU(getresuid
)
176 SYSCALL_SPU(setresgid
)
177 SYSCALL_SPU(getresgid
)
179 COMPAT_SYS(rt_sigreturn
)
180 COMPAT_SYS(rt_sigaction
)
181 COMPAT_SYS(rt_sigprocmask
)
182 COMPAT_SYS(rt_sigpending
)
183 COMPAT_SYS(rt_sigtimedwait
)
184 COMPAT_SYS(rt_sigqueueinfo
)
185 COMPAT_SYS(rt_sigsuspend
)
186 COMPAT_SYS_SPU(pread64
)
187 COMPAT_SYS_SPU(pwrite64
)
192 COMPAT_SYS(sigaltstack
)
193 SYSX_SPU(sys_sendfile64
,compat_sys_sendfile
,sys_sendfile
)
197 COMPAT_SYS_SPU(getrlimit
)
198 COMPAT_SYS_SPU(readahead
)
200 SYS32ONLY(truncate64
)
201 SYS32ONLY(ftruncate64
)
202 SYSX(sys_ni_syscall
,sys_stat64
,sys_stat64
)
203 SYSX(sys_ni_syscall
,sys_lstat64
,sys_lstat64
)
204 SYSX(sys_ni_syscall
,sys_fstat64
,sys_fstat64
)
205 SYSCALL(pciconfig_read
)
206 SYSCALL(pciconfig_write
)
207 SYSCALL(pciconfig_iobase
)
209 SYSCALL_SPU(getdents64
)
210 SYSCALL_SPU(pivot_root
)
211 SYSX(sys_ni_syscall
,compat_sys_fcntl64
,sys_fcntl64
)
216 SYSCALL_SPU(setxattr
)
217 SYSCALL_SPU(lsetxattr
)
218 SYSCALL_SPU(fsetxattr
)
219 SYSCALL_SPU(getxattr
)
220 SYSCALL_SPU(lgetxattr
)
221 SYSCALL_SPU(fgetxattr
)
222 SYSCALL_SPU(listxattr
)
223 SYSCALL_SPU(llistxattr
)
224 SYSCALL_SPU(flistxattr
)
225 SYSCALL_SPU(removexattr
)
226 SYSCALL_SPU(lremovexattr
)
227 SYSCALL_SPU(fremovexattr
)
228 COMPAT_SYS_SPU(futex
)
229 COMPAT_SYS_SPU(sched_setaffinity
)
230 COMPAT_SYS_SPU(sched_getaffinity
)
233 SYS32ONLY(sendfile64
)
234 COMPAT_SYS_SPU(io_setup
)
235 SYSCALL_SPU(io_destroy
)
236 COMPAT_SYS_SPU(io_getevents
)
237 COMPAT_SYS_SPU(io_submit
)
238 SYSCALL_SPU(io_cancel
)
239 SYSCALL(set_tid_address
)
240 SYSX_SPU(sys_fadvise64
,ppc32_fadvise64
,sys_fadvise64
)
242 COMPAT_SYS(lookup_dcookie
)
243 SYSCALL_SPU(epoll_create
)
244 SYSCALL_SPU(epoll_ctl
)
245 SYSCALL_SPU(epoll_wait
)
246 SYSCALL_SPU(remap_file_pages
)
247 SYSX_SPU(sys_timer_create
,compat_sys_timer_create
,sys_timer_create
)
248 COMPAT_SYS_SPU(timer_settime
)
249 COMPAT_SYS_SPU(timer_gettime
)
250 SYSCALL_SPU(timer_getoverrun
)
251 SYSCALL_SPU(timer_delete
)
252 COMPAT_SYS_SPU(clock_settime
)
253 COMPAT_SYS_SPU(clock_gettime
)
254 COMPAT_SYS_SPU(clock_getres
)
255 COMPAT_SYS_SPU(clock_nanosleep
)
256 SYSX(ppc64_swapcontext
,ppc32_swapcontext
,ppc_swapcontext
)
258 COMPAT_SYS_SPU(utimes
)
259 COMPAT_SYS_SPU(statfs64
)
260 COMPAT_SYS_SPU(fstatfs64
)
261 SYSX(sys_ni_syscall
,ppc_fadvise64_64
,ppc_fadvise64_64
)
263 OLDSYS(debug_setcontext
)
265 COMPAT_SYS(migrate_pages
)
267 COMPAT_SYS(get_mempolicy
)
268 COMPAT_SYS(set_mempolicy
)
271 COMPAT_SYS(mq_timedsend
)
272 COMPAT_SYS(mq_timedreceive
)
273 COMPAT_SYS(mq_notify
)
274 COMPAT_SYS(mq_getsetattr
)
275 COMPAT_SYS(kexec_load
)
282 SYSCALL(inotify_init
)
283 SYSCALL(inotify_add_watch
)
284 SYSCALL(inotify_rm_watch
)
292 COMPAT_SYS_SPU(vmsplice
)
293 COMPAT_SYS_SPU(openat
)
296 SYSCALL_SPU(fchownat
)
297 COMPAT_SYS_SPU(futimesat
)
298 SYSX_SPU(sys_newfstatat
,sys_fstatat64
,sys_fstatat64
)
299 SYSCALL_SPU(unlinkat
)
300 SYSCALL_SPU(renameat
)
302 SYSCALL_SPU(symlinkat
)
303 SYSCALL_SPU(readlinkat
)
304 SYSCALL_SPU(fchmodat
)
305 SYSCALL_SPU(faccessat
)
306 COMPAT_SYS_SPU(get_robust_list
)
307 COMPAT_SYS_SPU(set_robust_list
)
308 COMPAT_SYS_SPU(move_pages
)
310 COMPAT_SYS(epoll_pwait
)
311 COMPAT_SYS_SPU(utimensat
)
312 COMPAT_SYS_SPU(signalfd
)
313 SYSCALL_SPU(timerfd_create
)
315 COMPAT_SYS_SPU(sync_file_range2
)
316 COMPAT_SYS(fallocate
)
317 SYSCALL(subpage_prot
)
318 COMPAT_SYS_SPU(timerfd_settime
)
319 COMPAT_SYS_SPU(timerfd_gettime
)
320 COMPAT_SYS_SPU(signalfd4
)
321 SYSCALL_SPU(eventfd2
)
322 SYSCALL_SPU(epoll_create1
)
325 SYSCALL(inotify_init1
)
326 SYSCALL_SPU(perf_event_open
)
327 COMPAT_SYS_SPU(preadv
)
328 COMPAT_SYS_SPU(pwritev
)
329 COMPAT_SYS(rt_tgsigqueueinfo
)
330 SYSCALL(fanotify_init
)
331 COMPAT_SYS(fanotify_mark
)
332 SYSCALL_SPU(prlimit64
)
338 SYSCALL_SPU(getsockname
)
339 SYSCALL_SPU(getpeername
)
340 SYSCALL_SPU(socketpair
)
344 COMPAT_SYS_SPU(recvfrom
)
345 SYSCALL_SPU(shutdown
)
346 COMPAT_SYS_SPU(setsockopt
)
347 COMPAT_SYS_SPU(getsockopt
)
348 COMPAT_SYS_SPU(sendmsg
)
349 COMPAT_SYS_SPU(recvmsg
)
350 COMPAT_SYS_SPU(recvmmsg
)
352 SYSCALL_SPU(name_to_handle_at
)
353 COMPAT_SYS_SPU(open_by_handle_at
)
354 COMPAT_SYS_SPU(clock_adjtime
)
356 COMPAT_SYS_SPU(sendmmsg
)
358 COMPAT_SYS(process_vm_readv
)
359 COMPAT_SYS(process_vm_writev
)
360 SYSCALL(finit_module
)
361 SYSCALL(ni_syscall
) /* sys_kcmp */
362 SYSCALL_SPU(sched_setattr
)
363 SYSCALL_SPU(sched_getattr
)
364 SYSCALL_SPU(renameat2
)