Symbol: SYSCALL_DEFINE3
arch/alpha/kernel/osf_sys.c
343
SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname,
arch/alpha/kernel/osf_sys.c
389
SYSCALL_DEFINE3(osf_fstatfs, unsigned long, fd,
arch/alpha/kernel/osf_sys.c
399
SYSCALL_DEFINE3(osf_statfs64, char __user *, pathname,
arch/alpha/kernel/osf_sys.c
409
SYSCALL_DEFINE3(osf_fstatfs64, unsigned long, fd,
arch/alpha/kernel/osf_sys.c
712
SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count)
arch/alpha/kernel/pci.c
413
SYSCALL_DEFINE3(pciconfig_iobase, long, which, unsigned long, bus,
arch/alpha/kernel/signal.c
59
SYSCALL_DEFINE3(osf_sigaction, int, sig,
arch/arc/kernel/process.c
46
SYSCALL_DEFINE3(arc_usr_cmpxchg, int __user *, uaddr, int, expected, int, new)
arch/arc/mm/cache.c
911
SYSCALL_DEFINE3(cacheflush, uint32_t, start, uint32_t, sz, uint32_t, flags)
arch/arm64/mm/gcs.c
59
SYSCALL_DEFINE3(map_shadow_stack, unsigned long, addr, unsigned long, size, unsigned int, flags)
arch/csky/mm/syscache.c
9
SYSCALL_DEFINE3(cacheflush,
arch/mips/kernel/signal.c
596
SYSCALL_DEFINE3(sigaction, int, sig, const struct sigaction __user *, act,
arch/mips/kernel/signal32.c
39
SYSCALL_DEFINE3(32_sigaction, long, sig, const struct compat_sigaction __user *, act,
arch/mips/kernel/syscall.c
208
SYSCALL_DEFINE3(sysmips, long, cmd, long, arg1, long, arg2)
arch/mips/kernel/syscall.c
240
SYSCALL_DEFINE3(cachectl, char *, addr, int, nbytes, int, op)
arch/mips/mm/cache.c
89
SYSCALL_DEFINE3(cacheflush, unsigned long, addr, unsigned long, bytes,
arch/parisc/kernel/cache.c
935
SYSCALL_DEFINE3(cacheflush, unsigned long, addr, unsigned long, bytes,
arch/powerpc/kernel/pci_32.c
323
SYSCALL_DEFINE3(pciconfig_iobase, long, which,
arch/powerpc/kernel/pci_64.c
226
SYSCALL_DEFINE3(pciconfig_iobase, long, which, unsigned long, in_bus,
arch/powerpc/kernel/signal_32.c
1193
SYSCALL_DEFINE3(debug_setcontext, struct ucontext __user *, ctx,
arch/powerpc/kernel/signal_64.c
657
SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx,
arch/powerpc/mm/book3s64/subpage_prot.c
184
SYSCALL_DEFINE3(subpage_prot, unsigned long, addr,
arch/powerpc/platforms/cell/spu_syscalls.c
78
SYSCALL_DEFINE3(spu_run,int, fd, __u32 __user *, unpc, __u32 __user *, ustatus)
arch/riscv/kernel/sys_riscv.c
69
SYSCALL_DEFINE3(riscv_flush_icache, uintptr_t, start, uintptr_t, end,
arch/riscv/kernel/usercfi.c
248
SYSCALL_DEFINE3(map_shadow_stack, unsigned long, addr, unsigned long, size, unsigned int, flags)
arch/s390/pci/pci_mmio.c
128
SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr,
arch/s390/pci/pci_mmio.c
283
SYSCALL_DEFINE3(s390_pci_mmio_read, unsigned long, mmio_addr,
arch/sparc/kernel/sys_sparc_32.c
169
SYSCALL_DEFINE3(sparc_sigaction, int, sig,
arch/x86/kernel/ioport.c
158
SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
arch/x86/kernel/ioport.c
211
SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
arch/x86/kernel/ldt.c
667
SYSCALL_DEFINE3(modify_ldt, int , func , void __user * , ptr ,
arch/x86/kernel/shstk.c
542
SYSCALL_DEFINE3(map_shadow_stack, unsigned long, addr, unsigned long, size, unsigned int, flags)
arch/x86/kernel/sys_ia32.c
54
SYSCALL_DEFINE3(ia32_truncate64, const char __user *, filename,
arch/x86/kernel/sys_ia32.c
61
SYSCALL_DEFINE3(ia32_ftruncate64, unsigned int, fd,
block/ioprio.c
65
SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio)
drivers/char/random.c
1380
SYSCALL_DEFINE3(getrandom, char __user *, ubuf, size_t, len, unsigned int, flags)
fs/aio.c
2135
SYSCALL_DEFINE3(io_submit, aio_context_t, ctx_id, long, nr,
fs/aio.c
2229
SYSCALL_DEFINE3(io_cancel, aio_context_t, ctx_id, struct iocb __user *, iocb,
fs/exec.c
1943
SYSCALL_DEFINE3(execve,
fs/fcntl.c
587
SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
fs/fcntl.c
608
SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd,
fs/fhandle.c
451
SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd,
fs/file.c
1457
SYSCALL_DEFINE3(dup3, unsigned int, oldfd, unsigned int, newfd, int, flags)
fs/file.c
818
SYSCALL_DEFINE3(close_range, unsigned int, fd, unsigned int, max_fd,
fs/filesystems.c
199
SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2)
fs/fsopen.c
163
SYSCALL_DEFINE3(fspick, int, dfd, const char __user *, path, unsigned int, flags)
fs/ioctl.c
583
SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
fs/namei.c
5219
SYSCALL_DEFINE3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev)
fs/namei.c
5327
SYSCALL_DEFINE3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode)
fs/namei.c
5606
SYSCALL_DEFINE3(unlinkat, int, dfd, const char __user *, pathname, int, flag)
fs/namei.c
5700
SYSCALL_DEFINE3(symlinkat, const char __user *, oldname,
fs/namespace.c
3245
SYSCALL_DEFINE3(open_tree, int, dfd, const char __user *, filename, unsigned, flags)
fs/namespace.c
4435
SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags,
fs/notify/inotify/inotify_user.c
730
SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname,
fs/open.c
1378
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
fs/open.c
534
SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode)
fs/open.c
698
SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename,
fs/open.c
822
SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group)
fs/open.c
827
SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group)
fs/open.c
856
SYSCALL_DEFINE3(fchown, unsigned int, fd, uid_t, user, gid_t, group)
fs/read_write.c
1163
SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec,
fs/read_write.c
1169
SYSCALL_DEFINE3(writev, unsigned long, fd, const struct iovec __user *, vec,
fs/read_write.c
412
SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence)
fs/read_write.c
723
SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count)
fs/read_write.c
747
SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf,
fs/readdir.c
215
SYSCALL_DEFINE3(old_readdir, unsigned int, fd,
fs/readdir.c
304
SYSCALL_DEFINE3(getdents, unsigned int, fd,
fs/readdir.c
384
SYSCALL_DEFINE3(getdents64, unsigned int, fd,
fs/select.c
1060
SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
fs/signalfd.c
311
SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask,
fs/stat.c
602
SYSCALL_DEFINE3(readlink, const char __user *, path, char __user *, buf,
fs/statfs.c
200
SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf)
fs/statfs.c
221
SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user *, buf)
fs/utimes.c
197
SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename,
fs/utimes.c
282
SYSCALL_DEFINE3(futimesat_time32, unsigned int, dfd,
fs/xattr.c
1011
SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list,
fs/xattr.c
1017
SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list,
fs/xattr.c
1023
SYSCALL_DEFINE3(flistxattr, int, fd, char __user *, list, size_t, size)
include/linux/syscalls.h
227
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
ipc/mqueue.c
1427
SYSCALL_DEFINE3(mq_getsetattr, mqd_t, mqdes,
ipc/msg.c
640
SYSCALL_DEFINE3(msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf)
ipc/msg.c
653
SYSCALL_DEFINE3(old_msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf)
ipc/sem.c
2296
SYSCALL_DEFINE3(semop, int, semid, struct sembuf __user *, tsops,
ipc/sem.c
624
SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg)
ipc/shm.c
1298
SYSCALL_DEFINE3(shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf)
ipc/shm.c
1311
SYSCALL_DEFINE3(old_shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf)
ipc/shm.c
1695
SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg)
ipc/shm.c
849
SYSCALL_DEFINE3(shmget, key_t, key, size_t, size, int, shmflg)
kernel/exit.c
1958
SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options)
kernel/futex/syscalls.c
94
SYSCALL_DEFINE3(get_robust_list, int, pid,
kernel/module/main.c
3634
SYSCALL_DEFINE3(init_module, void __user *, umod,
kernel/module/main.c
3799
SYSCALL_DEFINE3(finit_module, int, fd, const char __user *, uargs, int, flags)
kernel/pid.c
956
SYSCALL_DEFINE3(pidfd_getfd, int, pidfd, int, fd,
kernel/printk/printk.c
1853
SYSCALL_DEFINE3(syslog, int, type, char __user *, buf, int, len)
kernel/sched/membarrier.c
634
SYSCALL_DEFINE3(membarrier, int, cmd, unsigned int, flags, int, cpu_id)
kernel/sched/syscalls.c
1262
SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len,
kernel/sched/syscalls.c
1307
SYSCALL_DEFINE3(sched_getaffinity, pid_t, pid, unsigned int, len,
kernel/sched/syscalls.c
934
SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param)
kernel/sched/syscalls.c
960
SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr,
kernel/seccomp.c
2126
SYSCALL_DEFINE3(seccomp, unsigned int, op, unsigned int, flags,
kernel/signal.c
4177
SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig)
kernel/signal.c
4221
SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig,
kernel/signal.c
4591
SYSCALL_DEFINE3(sigprocmask, int, how, old_sigset_t __user *, nset,
kernel/signal.c
4711
SYSCALL_DEFINE3(sigaction, int, sig,
kernel/signal.c
4899
SYSCALL_DEFINE3(sigsuspend, int, unused1, int, unused2, old_sigset_t, mask)
kernel/sys.c
259
SYSCALL_DEFINE3(setpriority, int, which, int, who, int, niceval)
kernel/sys.c
2918
SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep, void __user *, unused)
kernel/sys.c
783
SYSCALL_DEFINE3(setresuid, uid_t, ruid, uid_t, euid, uid_t, suid)
kernel/sys.c
788
SYSCALL_DEFINE3(getresuid, uid_t __user *, ruidp, uid_t __user *, euidp, uid_t __user *, suidp)
kernel/sys.c
872
SYSCALL_DEFINE3(setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid)
kernel/sys.c
877
SYSCALL_DEFINE3(getresgid, gid_t __user *, rgidp, gid_t __user *, egidp, gid_t __user *, sgidp)
kernel/time/itimer.c
351
SYSCALL_DEFINE3(setitimer, int, which, struct __kernel_old_itimerval __user *, value,
kernel/time/posix-timers.c
574
SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock,
kernel/uid16.c
23
SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
kernel/uid16.c
28
SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
kernel/uid16.c
33
SYSCALL_DEFINE3(fchown16, unsigned int, fd, old_uid_t, user, old_gid_t, group)
kernel/uid16.c
58
SYSCALL_DEFINE3(setresuid16, old_uid_t, ruid, old_uid_t, euid, old_uid_t, suid)
kernel/uid16.c
64
SYSCALL_DEFINE3(getresuid16, old_uid_t __user *, ruidp, old_uid_t __user *, euidp, old_uid_t __user *, suidp)
kernel/uid16.c
81
SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid)
kernel/uid16.c
87
SYSCALL_DEFINE3(getresgid16, old_gid_t __user *, rgidp, old_gid_t __user *, egidp, old_gid_t __user *, sgidp)
mm/madvise.c
2012
SYSCALL_DEFINE3(madvise, unsigned long, start, size_t, len_in, int, behavior)
mm/mempolicy.c
1854
SYSCALL_DEFINE3(set_mempolicy, int, mode, const unsigned long __user *, nmask,
mm/mincore.c
291
SYSCALL_DEFINE3(mincore, unsigned long, start, size_t, len,
mm/mlock.c
670
SYSCALL_DEFINE3(mlock2, unsigned long, start, size_t, len, int, flags)
mm/mprotect.c
985
SYSCALL_DEFINE3(mprotect, unsigned long, start, size_t, len,
mm/mseal.c
191
SYSCALL_DEFINE3(mseal, unsigned long, start, size_t, len, unsigned long,
mm/msync.c
32
SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags)
mm/readahead.c
756
SYSCALL_DEFINE3(readahead, int, fd, loff_t, offset, size_t, count)
net/socket.c
1805
SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol)
net/socket.c
1954
SYSCALL_DEFINE3(bind, int, fd, struct sockaddr __user *, umyaddr, int, addrlen)
net/socket.c
2100
SYSCALL_DEFINE3(accept, int, fd, struct sockaddr __user *, upeer_sockaddr,
net/socket.c
2157
SYSCALL_DEFINE3(connect, int, fd, struct sockaddr __user *, uservaddr,
net/socket.c
2200
SYSCALL_DEFINE3(getsockname, int, fd, struct sockaddr __user *, usockaddr,
net/socket.c
2206
SYSCALL_DEFINE3(getpeername, int, fd, struct sockaddr __user *, usockaddr,
net/socket.c
2773
SYSCALL_DEFINE3(sendmsg, int, fd, struct user_msghdr __user *, msg, unsigned int, flags)
net/socket.c
2982
SYSCALL_DEFINE3(recvmsg, int, fd, struct user_msghdr __user *, msg,
security/landlock/syscalls.c
209
SYSCALL_DEFINE3(landlock_create_ruleset,
security/lsm_syscalls.c
105
SYSCALL_DEFINE3(lsm_list_modules, u64 __user *, ids, u32 __user *, size,