Symbol: syscall
include/unistd.h
404
int syscall(int, ...);
lib/libc/arch/mips/SYS.h
100
# define SYSTRAP(x) li v0,SYS_/**/x; syscall;
lib/libc/arch/mips/SYS.h
98
# define SYSTRAP(x) li v0,SYS_ ## x; syscall;
lib/libc/arch/x86_64/SYS.h
40
#define SYSTRAP(x) movl $(SYS_ ## x),%eax; movq %rcx, %r10; syscall
lib/libc/arch/x86_64/SYS.h
42
#define SYSTRAP(x) movl $(SYS_/**/x),%eax; movq %rcx, %r10; syscall
lib/libpthread/pthread_compat.c
102
return syscall(SYS__lwp_unpark, a, b);
lib/libpthread/pthread_compat.c
109
return (ssize_t)syscall(SYS__lwp_unpark_all, a, b, c);
lib/libpthread/pthread_compat.c
116
return syscall(SYS__lwp_setname, a, b);
lib/libpthread/pthread_compat.c
123
return syscall(SYS__lwp_getname, a, b, c);
lib/libpthread/pthread_compat.c
130
return syscall(SYS__lwp_ctl, a, b);
lib/libpthread/pthread_compat.c
137
return syscall(SYS_sched_yield);
lib/libpthread/pthread_compat.c
144
return syscall(SYS_sched_yield);
lib/libpthread/pthread_compat.c
151
return syscall(SYS__sched_setaffinity, a, b, c, d);
lib/libpthread/pthread_compat.c
158
return syscall(SYS__sched_getaffinity, a, b, c, d);
lib/libpthread/pthread_compat.c
165
return syscall(SYS__sched_setparam, a, b, c, d);
lib/libpthread/pthread_compat.c
172
return syscall(SYS__sched_getparam, a, b, c, d);
lib/libpthread/pthread_compat.c
180
return syscall(SYS_aio_suspend, a, b, c);
lib/libpthread/pthread_compat.c
187
return syscall(SYS_mq_send, a, b, c, d);
lib/libpthread/pthread_compat.c
194
return (ssize_t)syscall(SYS_mq_receive, a, b, c, d);
lib/libpthread/pthread_compat.c
202
return syscall(SYS_mq_timedsend, a, b,c ,d, e);
lib/libpthread/pthread_compat.c
210
return (ssize_t)syscall(SYS_mq_timedreceive, a, b, c, d, e);
lib/libpthread/pthread_compat.c
80
return syscall(SYS__lwp_kill, a, b);
lib/libpthread/pthread_compat.c
87
return syscall(SYS__lwp_detach, a);
lib/libpthread/pthread_compat.c
95
return syscall(SYS____lwp_park60, a, b, c, d, e, f);
regress/sys/compat/uipc_syscalls_43.c
108
if (syscall(SYS_compat_43_ogetsockname, s, (struct sockaddr *) &sa, &sz))
regress/sys/compat/uipc_syscalls_43.c
128
if (syscall(SYS_compat_43_orecvfrom, s, buf, sizeof(buf), 0, (struct osockaddr *) &sa, &sz) < 0)
regress/sys/compat/uipc_syscalls_43.c
162
if (syscall(SYS_compat_43_osendmsg, s, &msg, 0) < 0)
regress/sys/compat/uipc_syscalls_43.c
169
if (syscall(SYS_compat_43_orecvmsg, s, &msg, 0) < 0)
regress/sys/compat/uipc_syscalls_43.c
207
if (syscall(SYS_compat_43_osendmsg, s, &msg, 0) < 0) {
regress/sys/compat/uipc_syscalls_43.c
218
if (syscall(SYS_compat_43_orecvmsg, s, &msg, 0) < 0) {
regress/sys/compat/uipc_syscalls_43.c
59
if (syscall(SYS_compat_43_ogetpeername, s, (struct sockaddr *) &sa, &sz))
regress/sys/compat/uipc_syscalls_43.c
71
if (syscall(SYS_compat_43_ogetsockname, s, (struct sockaddr *) &sa, &sz))
regress/sys/compat/uipc_syscalls_43.c
81
if (syscall(SYS_compat_43_osend, s, "fobj", 4, 0) < 0)
regress/sys/compat/uipc_syscalls_43.c
86
if (syscall(SYS_compat_43_orecv, s, buf, sizeof(buf), 0) < 0)
sys/arch/aarch64/aarch64/aarch32_syscall.c
235
p->p_md.md_syscall = EMULNAME(syscall);
sys/arch/aarch64/aarch64/aarch32_syscall.c
51
static void EMULNAME(syscall)(struct trapframe *);
sys/arch/aarch64/aarch64/aarch32_syscall.c
59
EMULNAME(syscall)(struct trapframe *tf)
sys/arch/aarch64/aarch64/syscall.c
192
p->p_md.md_syscall = EMULNAME(syscall);
sys/arch/aarch64/aarch64/syscall.c
84
static void EMULNAME(syscall)(struct trapframe *);
sys/arch/aarch64/aarch64/syscall.c
87
EMULNAME(syscall)(struct trapframe *tf)
sys/arch/alpha/alpha/syscall.c
107
void syscall(struct lwp *, uint64_t, struct trapframe *);
sys/arch/alpha/alpha/syscall.c
113
p->p_md.md_syscall = syscall;
sys/arch/amd64/amd64/machdep.c
1585
extern vector IDTVEC(syscall);
sys/arch/arm/arm/syscall.c
173
void syscall(struct trapframe *, lwp_t *, uint32_t);
sys/arch/arm/arm/syscall.c
178
p->p_md.md_syscall = syscall;
sys/arch/hppa/hppa/trap.c
1257
p->p_md.md_syscall = syscall;
sys/arch/hppa/hppa/trap.c
175
void syscall(struct trapframe *, int *);
sys/arch/i386/i386/machdep.c
1025
extern vector IDTVEC(syscall);
sys/arch/i386/i386/machdep.c
1536
set_idtgate(&idt[128], &IDTVEC(syscall), 0, SDT_SYS386IGT, SEL_UPL,
sys/arch/ia64/include/md_var.h
97
int syscall(struct trapframe *);
sys/arch/m68k/m68k/m68k_syscall.c
91
void syscall(register_t, struct frame);
sys/arch/mips/mips/syscall.c
104
p->p_md.md_syscall = EMULNAME(syscall);
sys/arch/mips/mips/syscall.c
117
EMULNAME(syscall)(struct lwp *l, u_int status, u_int cause, vaddr_t pc)
sys/arch/mips/mips/syscall.c
99
static void EMULNAME(syscall)(struct lwp *, uint32_t, uint32_t, vaddr_t);
sys/arch/powerpc/powerpc/syscall.c
173
p->p_md.md_syscall = EMULNAME(syscall);
sys/arch/powerpc/powerpc/syscall.c
79
static void EMULNAME(syscall)(struct trapframe *);
sys/arch/powerpc/powerpc/syscall.c
82
EMULNAME(syscall)(struct trapframe *tf)
sys/arch/riscv/riscv/syscall.c
55
static void EMULNAME(syscall)(struct trapframe *);
sys/arch/riscv/riscv/syscall.c
62
p->p_md.md_syscall = EMULNAME(syscall);
sys/arch/riscv/riscv/syscall.c
78
EMULNAME(syscall)(struct trapframe *tf)
sys/arch/sh3/sh3/syscall.c
91
static void syscall(struct lwp *, struct trapframe *);
sys/arch/sh3/sh3/syscall.c
98
p->p_md.md_syscall = syscall;
sys/arch/sparc/sparc/syscall.c
102
void syscall(register_t, struct trapframe *, register_t);
sys/arch/sparc/sparc/syscall.c
201
p->p_md.md_syscall = syscall;
sys/arch/sparc64/sparc64/syscall.c
117
void syscall(struct trapframe64 *, register_t, register_t);
sys/arch/sparc64/sparc64/syscall.c
245
p->p_md.md_syscall = syscall;
sys/arch/usermode/include/machdep.h
42
void syscall(void);
sys/arch/usermode/usermode/thunk.c
129
error = syscall(SYS_syscallemu, (uintptr_t)ustart, (uintptr_t)uend);
sys/arch/usermode/usermode/trap.c
559
syscall();
sys/arch/vax/vax/syscall.c
52
void syscall(struct trapframe *);
sys/arch/vax/vax/syscall.c
58
p->p_md.md_syscall = syscall;
sys/arch/x86/x86/syscall.c
172
p->p_md.md_syscall = syscall;
sys/arch/x86/x86/syscall.c
57
static void syscall(struct trapframe *);
sys/arch/x86/x86/syscall.c
86
void syscall(struct trapframe *);
sys/arch/xen/xen/hypervisor.c
179
extern vector IDTVEC(syscall);
sys/arch/zaurus/stand/zboot/getsecs.c
40
return (satime_t)syscall(__NR_time, NULL);
sys/arch/zaurus/stand/zboot/unixdev.h
64
int syscall(int, ...);
sys/compat/freebsd/freebsd_exec.c
63
void syscall(void);
sys/compat/freebsd/freebsd_exec.c
96
.e_syscall_intern = syscall,
sys/compat/linux32/common/linux32_socketcall.c
110
return linux32_socketcall[SCARG(uap, what)].syscall(l, &ua, retval);
sys/compat/linux32/common/linux32_socketcall.c
65
int (*syscall)(struct lwp *, const void *, register_t *);
sys/compat/netbsd32/netbsd32_netbsd.c
108
void syscall(void);
sys/compat/netbsd32/netbsd32_netbsd.c
148
.e_syscall = syscall,
sys/compat/sunos/sunos_exec.c
61
void syscall(void);
sys/compat/sunos/sunos_exec.c
96
.e_syscall_intern = syscall,
sys/compat/sunos32/sunos32_exec.c
60
void syscall(void);
sys/compat/sunos32/sunos32_exec.c
95
.e_syscall_intern = syscall,
sys/compat/ultrix/ultrix_misc.c
159
void syscall(void);
sys/compat/ultrix/ultrix_misc.c
196
.e_syscall_intern = syscall,
sys/kern/kern_exec.c
193
void syscall(void);
sys/kern/kern_exec.c
239
.e_syscall = syscall,
tests/compat/linux/h_inotify_directory.c
71
RS(fd = syscall(LINUX_SYS_inotify_init));
tests/compat/linux/h_inotify_directory.c
72
RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
tests/compat/linux/h_inotify_init.c
47
RS(fd = syscall(LINUX_SYS_inotify_init));
tests/compat/linux/h_inotify_init.c
53
RS(fd = syscall(LINUX_SYS_inotify_init1, LINUX_IN_NONBLOCK));
tests/compat/linux/h_inotify_init.c
59
RS(fd = syscall(LINUX_SYS_inotify_init1, LINUX_IN_CLOEXEC));
tests/compat/linux/h_inotify_single_file.c
54
RS(fd = syscall(LINUX_SYS_inotify_init));
tests/compat/linux/h_inotify_single_file.c
55
RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
tests/compat/linux/h_inotify_watch_change.c
50
RS(fd = syscall(LINUX_SYS_inotify_init));
tests/compat/linux/h_inotify_watch_change.c
51
RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
tests/compat/linux/h_inotify_watch_change.c
63
RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
tests/compat/linux/h_inotify_watch_change.c
75
RS(wd = syscall(LINUX_SYS_inotify_add_watch, fd, (register_t)"test",
tests/compat/linux/h_linux.h
45
#define close(fd) (int)syscall(LINUX_SYS_close, fd)
tests/compat/linux/h_linux.h
46
#define exit(status) (void)syscall(LINUX_SYS_exit_group, status)
tests/compat/linux/h_linux.h
47
#define fcntl(fd, cmd, ...) (int)syscall(LINUX_SYS_fcntl, fd, cmd, \
tests/compat/linux/h_linux.h
49
#define lseek(fd, off, whence) (off_t)syscall(LINUX_SYS_lseek, fd, \
tests/compat/linux/h_linux.h
51
#define mkdir(path, mode) (int)syscall(LINUX_SYS_mkdir, \
tests/compat/linux/h_linux.h
53
#define open(path, flags, ...) (int)syscall(LINUX_SYS_open, \
tests/compat/linux/h_linux.h
56
#define read(fd, buf, count) (ssize_t)syscall(LINUX_SYS_read, fd, \
tests/compat/linux/h_linux.h
58
#define rename(from, to) (int)syscall(LINUX_SYS___posix_rename, \
tests/compat/linux/h_linux.h
60
#define rmdir(path) (int)syscall(LINUX_SYS_rmdir, \
tests/compat/linux/h_linux.h
62
#define unlink(path) (int)syscall(LINUX_SYS_unlink, \
tests/compat/linux/h_linux.h
64
#define write(fd, buf, count) (ssize_t)syscall(LINUX_SYS_write, fd, \
tests/lib/libc/sys/t_ptrace_syscall_wait.h
185
SYSCALL_TEST(syscall, "")
tests/lib/libc/sys/t_ptrace_syscall_wait.h
217
syscall(SYS_exit, 100);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
264
ATF_TP_ADD_TC(tp, syscall); \
tests/lib/libc/sys/t_ptrace_syscall_wait.h
76
syscall(SYS_getpid);
tests/lib/libc/sys/t_syscall.c
76
p = (const char *)syscall(SYS_mmap,
usr.bin/make/filemon/filemon_ktrace.c
112
struct ktr_syscall syscall;
usr.bin/make/filemon/filemon_ktrace.c
418
struct ktr_syscall *call = &F->payload.syscall;