SYSCALL_DEFINE2 353 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_stat, char __user *, name, struct osf_stat __user *, buf) SYSCALL_DEFINE2 365 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_lstat, char __user *, name, struct osf_stat __user *, buf) SYSCALL_DEFINE2 377 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_fstat, int, fd, struct osf_stat __user *, buf) SYSCALL_DEFINE2 560 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen) SYSCALL_DEFINE2 646 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_proplist_syscall, enum pl_code, code, SYSCALL_DEFINE2 684 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_sigstack, struct sigstack __user *, uss, SYSCALL_DEFINE2 1005 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_gettimeofday, struct timeval32 __user *, tv, SYSCALL_DEFINE2 1022 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_settimeofday, struct timeval32 __user *, tv, SYSCALL_DEFINE2 1042 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_getitimer, int, which, struct itimerval32 __user *, it) SYSCALL_DEFINE2 1083 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_utimes, const char __user *, filename, SYSCALL_DEFINE2 1143 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_getrusage, int, who, struct rusage32 __user *, ru) SYSCALL_DEFINE2 1200 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_usleep_thread, struct timeval32 __user *, sleep, SYSCALL_DEFINE2 1387 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_getpriority, int, which, int, who) SYSCALL_DEFINE2 44 arch/alpha/kernel/signal.c SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask) SYSCALL_DEFINE2 54 arch/nds32/kernel/sys_nds32.c SYSCALL_DEFINE2(fp_udfiex_crtl, unsigned int, cmd, unsigned int, act) SYSCALL_DEFINE2 109 arch/s390/kernel/guarded_storage.c SYSCALL_DEFINE2(s390_guarded_storage, int, command, SYSCALL_DEFINE2 70 arch/s390/kernel/runtime_instr.c SYSCALL_DEFINE2(s390_runtime_instr, int, command, int, signum) SYSCALL_DEFINE2 198 arch/sparc/kernel/sys_sparc_32.c SYSCALL_DEFINE2(getdomainname, char __user *, name, int, len) SYSCALL_DEFINE2 470 arch/sparc/kernel/sys_sparc_64.c SYSCALL_DEFINE2(64_munmap, unsigned long, addr, size_t, len) SYSCALL_DEFINE2 524 arch/sparc/kernel/sys_sparc_64.c SYSCALL_DEFINE2(getdomainname, char __user *, name, int, len) SYSCALL_DEFINE2 575 arch/sparc/kernel/sys_sparc_64.c SYSCALL_DEFINE2(sparc_clock_adjtime, const clockid_t, which_clock,struct timex __user *, txc_p) SYSCALL_DEFINE2 303 arch/x86/kernel/process_32.c SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) SYSCALL_DEFINE2 799 arch/x86/kernel/process_64.c SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) SYSCALL_DEFINE2 216 arch/x86/kernel/vm86_32.c SYSCALL_DEFINE2(vm86, unsigned long, cmd, unsigned long, arg) SYSCALL_DEFINE2 5 arch/x86/um/syscalls_32.c SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) SYSCALL_DEFINE2 78 arch/x86/um/syscalls_64.c SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) SYSCALL_DEFINE2 186 block/ioprio.c SYSCALL_DEFINE2(ioprio_get, int, which, int, who) SYSCALL_DEFINE2 1313 fs/aio.c SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp) SYSCALL_DEFINE2 3301 fs/buffer.c SYSCALL_DEFINE2(bdflush, int, func, long, data) SYSCALL_DEFINE2 425 fs/d_path.c SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size) SYSCALL_DEFINE2 436 fs/eventfd.c SYSCALL_DEFINE2(eventfd2, unsigned int, count, int, flags) SYSCALL_DEFINE2 948 fs/file.c SYSCALL_DEFINE2(dup2, unsigned int, oldfd, unsigned int, newfd) SYSCALL_DEFINE2 115 fs/fsopen.c SYSCALL_DEFINE2(fsopen, const char __user *, _fs_name, unsigned int, flags) SYSCALL_DEFINE2 4007 fs/io_uring.c SYSCALL_DEFINE2(io_uring_setup, u32, entries, SYSCALL_DEFINE2 2215 fs/locks.c SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) SYSCALL_DEFINE2 3847 fs/namei.c SYSCALL_DEFINE2(mkdir, const char __user *, pathname, umode_t, mode) SYSCALL_DEFINE2 4166 fs/namei.c SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname) SYSCALL_DEFINE2 4331 fs/namei.c SYSCALL_DEFINE2(link, const char __user *, oldname, const char __user *, newname) SYSCALL_DEFINE2 4666 fs/namei.c SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname) SYSCALL_DEFINE2 1707 fs/namespace.c SYSCALL_DEFINE2(umount, char __user *, name, int, flags) SYSCALL_DEFINE2 3616 fs/namespace.c SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, SYSCALL_DEFINE2 766 fs/notify/fanotify/fanotify_user.c SYSCALL_DEFINE2(fanotify_init, unsigned int, flags, unsigned int, event_f_flags) SYSCALL_DEFINE2 762 fs/notify/inotify/inotify_user.c SYSCALL_DEFINE2(inotify_rm_watch, int, fd, __s32, wd) SYSCALL_DEFINE2 143 fs/open.c SYSCALL_DEFINE2(truncate, const char __user *, path, long, length) SYSCALL_DEFINE2 203 fs/open.c SYSCALL_DEFINE2(ftruncate, unsigned int, fd, unsigned long, length) SYSCALL_DEFINE2 217 fs/open.c SYSCALL_DEFINE2(truncate64, const char __user *, path, loff_t, length) SYSCALL_DEFINE2 222 fs/open.c SYSCALL_DEFINE2(ftruncate64, unsigned int, fd, loff_t, length) SYSCALL_DEFINE2 448 fs/open.c SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) SYSCALL_DEFINE2 586 fs/open.c SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) SYSCALL_DEFINE2 615 fs/open.c SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) SYSCALL_DEFINE2 1150 fs/open.c SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) SYSCALL_DEFINE2 871 fs/pipe.c SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags) SYSCALL_DEFINE2 246 fs/stat.c SYSCALL_DEFINE2(stat, const char __user *, filename, SYSCALL_DEFINE2 259 fs/stat.c SYSCALL_DEFINE2(lstat, const char __user *, filename, SYSCALL_DEFINE2 272 fs/stat.c SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) SYSCALL_DEFINE2 337 fs/stat.c SYSCALL_DEFINE2(newstat, const char __user *, filename, SYSCALL_DEFINE2 348 fs/stat.c SYSCALL_DEFINE2(newlstat, const char __user *, filename, SYSCALL_DEFINE2 375 fs/stat.c SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) SYSCALL_DEFINE2 478 fs/stat.c SYSCALL_DEFINE2(stat64, const char __user *, filename, SYSCALL_DEFINE2 490 fs/stat.c SYSCALL_DEFINE2(lstat64, const char __user *, filename, SYSCALL_DEFINE2 502 fs/stat.c SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) SYSCALL_DEFINE2 190 fs/statfs.c SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) SYSCALL_DEFINE2 211 fs/statfs.c SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) SYSCALL_DEFINE2 246 fs/statfs.c SYSCALL_DEFINE2(ustat, unsigned, dev, struct ustat __user *, ubuf) SYSCALL_DEFINE2 387 fs/timerfd.c SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags) SYSCALL_DEFINE2 557 fs/timerfd.c SYSCALL_DEFINE2(timerfd_gettime, int, ufd, struct __kernel_itimerspec __user *, otmr) SYSCALL_DEFINE2 584 fs/timerfd.c SYSCALL_DEFINE2(timerfd_gettime32, int, ufd, SYSCALL_DEFINE2 198 fs/utimes.c SYSCALL_DEFINE2(utimes, char __user *, filename, SYSCALL_DEFINE2 204 fs/utimes.c SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) SYSCALL_DEFINE2 225 fs/utimes.c SYSCALL_DEFINE2(utime32, const char __user *, filename, SYSCALL_DEFINE2 284 fs/utimes.c SYSCALL_DEFINE2(utimes_time32, const char __user *, filename, struct old_timeval32 __user *, t) SYSCALL_DEFINE2 716 fs/xattr.c SYSCALL_DEFINE2(removexattr, const char __user *, pathname, SYSCALL_DEFINE2 722 fs/xattr.c SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, SYSCALL_DEFINE2 728 fs/xattr.c SYSCALL_DEFINE2(fremovexattr, int, fd, const char __user *, name) SYSCALL_DEFINE2 215 include/linux/syscalls.h #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) SYSCALL_DEFINE2 1356 ipc/mqueue.c SYSCALL_DEFINE2(mq_notify, mqd_t, mqdes, SYSCALL_DEFINE2 293 ipc/msg.c SYSCALL_DEFINE2(msgget, key_t, key, int, msgflg) SYSCALL_DEFINE2 148 kernel/capability.c SYSCALL_DEFINE2(capget, cap_user_header_t, header, cap_user_data_t, dataptr) SYSCALL_DEFINE2 222 kernel/capability.c SYSCALL_DEFINE2(capset, cap_user_header_t, header, const cap_user_data_t, data) SYSCALL_DEFINE2 2630 kernel/fork.c SYSCALL_DEFINE2(clone3, struct clone_args __user *, uargs, size_t, size) SYSCALL_DEFINE2 3497 kernel/futex.c SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, SYSCALL_DEFINE2 153 kernel/groups.c SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) SYSCALL_DEFINE2 190 kernel/groups.c SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) SYSCALL_DEFINE2 970 kernel/module.c SYSCALL_DEFINE2(delete_module, const char __user *, name_user, SYSCALL_DEFINE2 233 kernel/nsproxy.c SYSCALL_DEFINE2(setns, int, fd, int, nstype) SYSCALL_DEFINE2 498 kernel/pid.c SYSCALL_DEFINE2(pidfd_open, pid_t, pid, unsigned int, flags) SYSCALL_DEFINE2 5177 kernel/sched/core.c SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) SYSCALL_DEFINE2 5258 kernel/sched/core.c SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) SYSCALL_DEFINE2 5893 kernel/sched/core.c SYSCALL_DEFINE2(sched_rr_get_interval, pid_t, pid, SYSCALL_DEFINE2 5906 kernel/sched/core.c SYSCALL_DEFINE2(sched_rr_get_interval_time32, pid_t, pid, SYSCALL_DEFINE2 340 kernel/sched/membarrier.c SYSCALL_DEFINE2(membarrier, int, cmd, int, flags) SYSCALL_DEFINE2 3091 kernel/signal.c SYSCALL_DEFINE2(rt_sigpending, sigset_t __user *, uset, size_t, sigsetsize) SYSCALL_DEFINE2 3643 kernel/signal.c SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) SYSCALL_DEFINE2 3839 kernel/signal.c SYSCALL_DEFINE2(tkill, pid_t, pid, int, sig) SYSCALL_DEFINE2 4046 kernel/signal.c SYSCALL_DEFINE2(sigaltstack,const stack_t __user *,uss, stack_t __user *,uoss) SYSCALL_DEFINE2 4413 kernel/signal.c SYSCALL_DEFINE2(signal, int, sig, __sighandler_t, handler) SYSCALL_DEFINE2 4460 kernel/signal.c SYSCALL_DEFINE2(rt_sigsuspend, sigset_t __user *, unewset, size_t, sigsetsize) SYSCALL_DEFINE2 266 kernel/sys.c SYSCALL_DEFINE2(getpriority, int, which, int, who) SYSCALL_DEFINE2 402 kernel/sys.c SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid) SYSCALL_DEFINE2 553 kernel/sys.c SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) SYSCALL_DEFINE2 1006 kernel/sys.c SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) SYSCALL_DEFINE2 1305 kernel/sys.c SYSCALL_DEFINE2(sethostname, char __user *, name, int, len) SYSCALL_DEFINE2 1332 kernel/sys.c SYSCALL_DEFINE2(gethostname, char __user *, name, int, len) SYSCALL_DEFINE2 1358 kernel/sys.c SYSCALL_DEFINE2(setdomainname, char __user *, name, int, len) SYSCALL_DEFINE2 1383 kernel/sys.c SYSCALL_DEFINE2(getrlimit, unsigned int, resource, struct rlimit __user *, rlim) SYSCALL_DEFINE2 1448 kernel/sys.c SYSCALL_DEFINE2(old_getrlimit, unsigned int, resource, SYSCALL_DEFINE2 1653 kernel/sys.c SYSCALL_DEFINE2(setrlimit, unsigned int, resource, struct rlimit __user *, rlim) SYSCALL_DEFINE2 1780 kernel/sys.c SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) SYSCALL_DEFINE2 1948 kernel/time/hrtimer.c SYSCALL_DEFINE2(nanosleep, struct __kernel_timespec __user *, rqtp, SYSCALL_DEFINE2 1968 kernel/time/hrtimer.c SYSCALL_DEFINE2(nanosleep_time32, struct old_timespec32 __user *, rqtp, SYSCALL_DEFINE2 100 kernel/time/itimer.c SYSCALL_DEFINE2(getitimer, int, which, struct itimerval __user *, value) SYSCALL_DEFINE2 59 kernel/time/posix-stubs.c SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, SYSCALL_DEFINE2 90 kernel/time/posix-stubs.c SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, SYSCALL_DEFINE2 105 kernel/time/posix-stubs.c SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) SYSCALL_DEFINE2 162 kernel/time/posix-stubs.c SYSCALL_DEFINE2(clock_settime32, const clockid_t, which_clock, SYSCALL_DEFINE2 175 kernel/time/posix-stubs.c SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, SYSCALL_DEFINE2 190 kernel/time/posix-stubs.c SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, SYSCALL_DEFINE2 718 kernel/time/posix-timers.c SYSCALL_DEFINE2(timer_gettime, timer_t, timer_id, SYSCALL_DEFINE2 733 kernel/time/posix-timers.c SYSCALL_DEFINE2(timer_gettime32, timer_t, timer_id, SYSCALL_DEFINE2 1045 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, SYSCALL_DEFINE2 1060 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, SYSCALL_DEFINE2 1090 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock, SYSCALL_DEFINE2 1107 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, SYSCALL_DEFINE2 1127 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_settime32, clockid_t, which_clock, SYSCALL_DEFINE2 1142 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, SYSCALL_DEFINE2 1160 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_adjtime32, clockid_t, which_clock, SYSCALL_DEFINE2 1178 kernel/time/posix-timers.c SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, SYSCALL_DEFINE2 140 kernel/time/time.c SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv, SYSCALL_DEFINE2 199 kernel/time/time.c SYSCALL_DEFINE2(settimeofday, struct timeval __user *, tv, SYSCALL_DEFINE2 38 kernel/uid16.c SYSCALL_DEFINE2(setregid16, old_gid_t, rgid, old_gid_t, egid) SYSCALL_DEFINE2 48 kernel/uid16.c SYSCALL_DEFINE2(setreuid16, old_uid_t, ruid, old_uid_t, euid) SYSCALL_DEFINE2 154 kernel/uid16.c SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) SYSCALL_DEFINE2 177 kernel/uid16.c SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) SYSCALL_DEFINE2 250 mm/memfd.c SYSCALL_DEFINE2(memfd_create, SYSCALL_DEFINE2 718 mm/mlock.c SYSCALL_DEFINE2(mlock, unsigned long, start, size_t, len) SYSCALL_DEFINE2 736 mm/mlock.c SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len) SYSCALL_DEFINE2 2880 mm/mmap.c SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) SYSCALL_DEFINE2 623 mm/mprotect.c SYSCALL_DEFINE2(pkey_alloc, unsigned long, flags, unsigned long, init_val) SYSCALL_DEFINE2 1557 mm/nommu.c SYSCALL_DEFINE2(munmap, unsigned long, addr, size_t, len) SYSCALL_DEFINE2 3098 mm/swapfile.c SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) SYSCALL_DEFINE2 1688 net/socket.c SYSCALL_DEFINE2(listen, int, fd, int, backlog) SYSCALL_DEFINE2 2166 net/socket.c SYSCALL_DEFINE2(shutdown, int, fd, int, how) SYSCALL_DEFINE2 2818 net/socket.c SYSCALL_DEFINE2(socketcall, int, call, unsigned long __user *, args)