Home
last modified time | relevance | path

Searched refs:syscall (Results 1 – 25 of 197) sorted by relevance

12345678

/openbsd-src/gnu/llvm/compiler-rt/utils/
H A Dgenerate_netbsd_syscalls.awk543 function syscall_body(syscall, mode)
547 if (syscall == "syscall") {
549 } else if (syscall == "exit") {
551 } else if (syscall == "fork") {
557 } else if (syscall == "read") {
567 } else if (syscall == "write") {
577 } else if (syscall == "open") {
591 } else if (syscall == "close") {
597 } else if (syscall == "compat_50_wait4") {
599 } else if (syscall == "compat_43_ocreat") {
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/safestack/
H A Dsafestack_platform.h77 return syscall(SYS_gettid); in GetTid()
87 return syscall(SYS_thr_kill2, pid, tid, sig); in TgKill()
89 return syscall(SYS_tgkill, pid, tid, sig); in TgKill()
100 return (void *)syscall(SYS_mmap, addr, length, prot, flags, fd, offset); in Mmap()
109 return syscall(SYS_munmap, addr, length); in Munmap()
118 return syscall(SYS_mprotect, addr, length, prot); in Mprotect()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscall_linux_x86_64.inc17 asm volatile("syscall" : "=a"(retval) : "a"(nr) : "rcx", "r11",
25 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1) :
33 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
41 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
50 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
62 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
76 "syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
H A Dsanitizer_syscall_linux_loongarch64.inc19 // syscall number is placed in a7
33 __asm__ volatile("syscall 0\n\t"
44 __asm__ volatile("syscall 0\n\t"
56 __asm__ volatile("syscall 0\n\t"
70 __asm__ volatile("syscall 0\n\t"
86 __asm__ volatile("syscall 0\n\t"
103 __asm__ volatile("syscall 0\n\t"
122 __asm__ volatile("syscall 0\n\t"
142 __asm__ volatile("syscall 0\n\t"
H A Dsanitizer_linux_s390.cpp52 return syscall(__NR_mmap, &params); in internal_mmap()
54 return syscall(__NR_mmap2, &params); in internal_mmap()
/openbsd-src/regress/usr.sbin/btrace/
H A Dfilters.bt1 syscall:open:entry
7 syscall:close:entry
13 syscall:open:return
H A Dempty-stmts.bt7 syscall:open:return
11 syscall:close:return
/openbsd-src/lib/libc/arch/amd64/sys/
H A Dsyscall.S42 SYSENTRY(syscall)
48 SYSTRAP(syscall)
56 SYSCALL_END(syscall)
H A Dtfork_thread.S59 99: syscall
94 98: syscall
/openbsd-src/gnu/usr.bin/perl/
H A Dgen_syscall_emulator.pl190 sub parse_syscalls($syscall, $args)
192 my %s = parse_syscall_h($syscall)->%*;
253 if (my ($syscall) = /^struct \s+ sys_(\w+)_args \s+ \{/x) {
254 $args{$syscall} = [];
261 push @{$args{$syscall}}, {%+};
H A Dconfig.over68 # Enable the syscall emulator,
69 # enabling syscall even if we don't have it
/openbsd-src/lib/libc/arch/m88k/sys/
H A Dsyscall.S38 SYSENTRY(syscall)
43 SYSCALL_END(syscall)
/openbsd-src/lib/libc/arch/i386/sys/
H A Dsyscall.S36 SYSENTRY(syscall)
44 SYSCALL_END(syscall)
/openbsd-src/gnu/llvm/lldb/tools/debugserver/scripts/
H A Ddiagnose-termination.d8 syscall::kill:entry
14 syscall::__pthread_kill:entry
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp117 syscall(SYS_futex, reinterpret_cast<uptr>(&M), FUTEX_WAIT_PRIVATE, Sleeping, in lockSlow()
126 syscall(SYS_futex, reinterpret_cast<uptr>(&M), FUTEX_WAKE_PRIVATE, 1, in unlock()
151 return static_cast<u32>(syscall(SYS_gettid)); in getThreadID()
166 syscall(SYS_getrandom, Buffer, Length, Blocking ? 0 : GRND_NONBLOCK); in getRandom()
/openbsd-src/regress/sys/arch/amd64/fpu/
H A Dfenv.S60 syscall
65 syscall
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/benchmarks/
H A Dmop.cpp27 syscall(SYS_futex, &turn, FUTEX_WAIT, t, 0, 0, 0); in thread()
41 syscall(SYS_futex, &turn, FUTEX_WAKE, 0, 0, 0, 0); in thread()
/openbsd-src/gnu/gcc/libgomp/config/linux/
H A Dlock.c91 return syscall (SYS_gettid); in gomp_tid()
104 tid_cache = tid = syscall (SYS_gettid); in gomp_tid()
/openbsd-src/regress/sys/kern/pledge/generic/
H A Dmanager.c326 int syscall = grab_syscall(pid, pty_buffer(&pty)); in _start_test() local
327 switch (syscall) { in _start_test()
339 printf(" pledged_syscall=%d", syscall); in _start_test()
/openbsd-src/libexec/ld.so/
H A DMakefile30 syscall=close exit fstat getdents getentropy getthrid issetugid kbind \ macro
36 syscall+=mquery
43 .for _i in ${syscall}
/openbsd-src/sys/sys/
H A Dsyscall_mi.h38 #include <sys/syscall.h>
63 /* point at start of syscall instruction */ in pin_check()
149 DT_ENTER(syscall, code, callp->sy_argsize, argp); in mi_syscall()
196 DT_LEAVE(syscall, code, error, retval[0], retval[1]); in mi_syscall_return()
228 DT_LEAVE(syscall, code, 0, child_retval[0], child_retval[1]); in mi_child_return()
256 * hppa calls ast() in syscall return and sh calls in mi_ast()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Di386-linux-nat.c789 int syscall = read_register_pid (LINUX_SYSCALL_REGNUM, in child_resume() local
793 if (syscall == SYS_sigreturn || syscall == SYS_rt_sigreturn) in child_resume()
799 if (syscall == SYS_rt_sigreturn) in child_resume()
/openbsd-src/lib/libc/arch/amd64/gen/
H A Dsetjmp.S67 99: syscall
104 98: syscall
H A Dsigsetjmp.S65 99: syscall
104 98: syscall
/openbsd-src/sys/kern/
H A Dkern_ktrace.c50 #include <sys/syscall.h>
396 ktrpledge(struct proc *p, int error, uint64_t code, int syscall) in ktrpledge()
405 kp.syscall = syscall; in ktrpinsyscall() argument
414 ktrpinsyscall(struct proc *p, int error, int syscall, vaddr_t addr) in ktrpinsyscall()
422 kp.syscall = syscall;
387 ktrpledge(struct proc * p,int error,uint64_t code,int syscall) ktrpledge() argument

12345678