syscall 36 arch/alpha/kernel/audit.c int audit_classify_syscall(int abi, unsigned syscall) syscall 38 arch/alpha/kernel/audit.c switch(syscall) { syscall 25 arch/arm/include/asm/syscall.h return task_thread_info(task)->syscall; syscall 57 arch/arm/include/asm/thread_info.h __u32 syscall; /* syscall number */ syscall 843 arch/arm/kernel/ptrace.c task_thread_info(child)->syscall = data; syscall 912 arch/arm/kernel/ptrace.c current_thread_info()->syscall = -1; syscall 919 arch/arm/kernel/ptrace.c current_thread_info()->syscall = scno; syscall 930 arch/arm/kernel/ptrace.c secure_computing_strict(current_thread_info()->syscall); syscall 934 arch/arm/kernel/ptrace.c scno = current_thread_info()->syscall; syscall 578 arch/arm/kernel/signal.c static int do_signal(struct pt_regs *regs, int syscall) syscall 587 arch/arm/kernel/signal.c if (syscall) { syscall 643 arch/arm/kernel/signal.c do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall) syscall 659 arch/arm/kernel/signal.c int restart = do_signal(regs, syscall); syscall 668 arch/arm/kernel/signal.c syscall = 0; syscall 833 arch/arm64/kernel/signal.c bool syscall = in_syscall(regs); syscall 838 arch/arm64/kernel/signal.c if (syscall) { syscall 890 arch/arm64/kernel/signal.c if (syscall && regs->pc == restart_addr) { syscall 236 arch/c6x/kernel/signal.c int syscall) syscall 241 arch/c6x/kernel/signal.c if (syscall) { syscall 270 arch/c6x/kernel/signal.c static void do_signal(struct pt_regs *regs, int syscall) syscall 280 arch/c6x/kernel/signal.c handle_signal(&ksig, regs, syscall); syscall 285 arch/c6x/kernel/signal.c if (syscall) { syscall 313 arch/c6x/kernel/signal.c int syscall) syscall 317 arch/c6x/kernel/signal.c do_signal(regs, syscall); syscall 350 arch/hexagon/kernel/traps.c syscall_fn syscall; syscall 387 arch/hexagon/kernel/traps.c syscall = (syscall_fn) syscall 389 arch/hexagon/kernel/traps.c regs->r00 = syscall(regs->r00, regs->r01, syscall 37 arch/ia64/kernel/audit.c int audit_classify_syscall(int abi, unsigned syscall) syscall 39 arch/ia64/kernel/audit.c switch(syscall) { syscall 159 arch/mips/include/asm/ptrace.h extern asmlinkage long syscall_trace_enter(struct pt_regs *regs, long syscall); syscall 41 arch/mips/include/asm/syscall.h return current_thread_info()->syscall; syscall 52 arch/mips/include/asm/syscall.h task_thread_info(task)->syscall = regs->regs[4]; syscall 54 arch/mips/include/asm/syscall.h task_thread_info(task)->syscall = regs->regs[2]; syscall 37 arch/mips/include/asm/thread_info.h long syscall; /* syscall number */ syscall 1402 arch/mips/kernel/ptrace.c asmlinkage long syscall_trace_enter(struct pt_regs *regs, long syscall) syscall 1406 arch/mips/kernel/ptrace.c current_thread_info()->syscall = syscall; syscall 1411 arch/mips/kernel/ptrace.c syscall = current_thread_info()->syscall; syscall 1420 arch/mips/kernel/ptrace.c sd.nr = syscall; syscall 1430 arch/mips/kernel/ptrace.c syscall = current_thread_info()->syscall; syscall 1437 arch/mips/kernel/ptrace.c audit_syscall_entry(syscall, regs->regs[4], regs->regs[5], syscall 1444 arch/mips/kernel/ptrace.c if (syscall < 0) syscall 1446 arch/mips/kernel/ptrace.c return syscall; syscall 227 arch/openrisc/kernel/signal.c int do_signal(struct pt_regs *regs, int syscall) syscall 235 arch/openrisc/kernel/signal.c if (syscall) { syscall 293 arch/openrisc/kernel/signal.c do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall) syscall 303 arch/openrisc/kernel/signal.c int restart = do_signal(regs, syscall); syscall 312 arch/openrisc/kernel/signal.c syscall = 0; syscall 41 arch/parisc/kernel/audit.c int audit_classify_syscall(int abi, unsigned syscall) syscall 46 arch/parisc/kernel/audit.c return parisc32_classify_syscall(syscall); syscall 48 arch/parisc/kernel/audit.c switch (syscall) { syscall 29 arch/parisc/kernel/compat_audit.c int parisc32_classify_syscall(unsigned syscall) syscall 31 arch/parisc/kernel/compat_audit.c switch (syscall) { syscall 41 arch/powerpc/kernel/audit.c int audit_classify_syscall(int abi, unsigned syscall) syscall 46 arch/powerpc/kernel/audit.c return ppc32_classify_syscall(syscall); syscall 48 arch/powerpc/kernel/audit.c switch(syscall) { syscall 30 arch/powerpc/kernel/compat_audit.c int ppc32_classify_syscall(unsigned syscall) syscall 32 arch/powerpc/kernel/compat_audit.c switch(syscall) { syscall 601 arch/powerpc/kernel/signal_64.c static long setup_trampoline(unsigned int syscall, unsigned int __user *tramp) syscall 610 arch/powerpc/kernel/signal_64.c err |= __put_user(PPC_INST_ADDI | (syscall & 0xffff), &tramp[1]); syscall 45 arch/powerpc/platforms/cell/spu_callbacks.c long (*syscall)(u64 a1, u64 a2, u64 a3, u64 a4, u64 a5, u64 a6); syscall 52 arch/powerpc/platforms/cell/spu_callbacks.c syscall = spu_syscall_table[s->nr_ret]; syscall 56 arch/powerpc/platforms/cell/spu_callbacks.c syscall, syscall 61 arch/powerpc/platforms/cell/spu_callbacks.c return syscall(s->parm[0], s->parm[1], s->parm[2], syscall 42 arch/s390/kernel/audit.c int audit_classify_syscall(int abi, unsigned syscall) syscall 46 arch/s390/kernel/audit.c return s390_classify_syscall(syscall); syscall 48 arch/s390/kernel/audit.c switch(syscall) { syscall 31 arch/s390/kernel/compat_audit.c int s390_classify_syscall(unsigned syscall) syscall 33 arch/s390/kernel/compat_audit.c switch(syscall) { syscall 43 arch/sparc/kernel/audit.c int audit_classify_syscall(int abi, unsigned int syscall) syscall 47 arch/sparc/kernel/audit.c return sparc32_classify_syscall(syscall); syscall 49 arch/sparc/kernel/audit.c switch(syscall) { syscall 31 arch/sparc/kernel/compat_audit.c int sparc32_classify_syscall(unsigned int syscall) syscall 33 arch/sparc/kernel/compat_audit.c switch(syscall) { syscall 69 arch/sparc/kernel/kernel.h int sparc32_classify_syscall(unsigned int syscall); syscall 269 arch/um/include/shared/os.h int syscall, unsigned long *args, long expected, syscall 324 arch/um/include/shared/os.h long syscall(long number, ...); syscall 48 arch/um/kernel/ksyms.c EXPORT_SYMBOL(syscall); syscall 18 arch/um/kernel/skas/syscall.c int syscall; syscall 41 arch/um/kernel/skas/syscall.c syscall = UPT_SYSCALL_NR(r); syscall 42 arch/um/kernel/skas/syscall.c if (syscall >= 0 && syscall <= __NR_syscall_max) syscall 44 arch/um/kernel/skas/syscall.c EXECUTE_SYSCALL(syscall, regs)); syscall 130 arch/um/os-Linux/process.c return syscall(__NR_getpid); syscall 53 arch/um/os-Linux/skas/mem.c unsigned long * syscall; syscall 84 arch/um/os-Linux/skas/mem.c syscall = (unsigned long *)((unsigned long)data + data[0]); syscall 87 arch/um/os-Linux/skas/mem.c syscall[0], ret, syscall[7]); syscall 90 arch/um/os-Linux/skas/mem.c syscall[1], syscall[2], syscall[3], syscall 91 arch/um/os-Linux/skas/mem.c syscall[4], syscall[5], syscall[6]); syscall 110 arch/um/os-Linux/skas/mem.c long run_syscall_stub(struct mm_id * mm_idp, int syscall, syscall 119 arch/um/os-Linux/skas/mem.c *stack++ = syscall; syscall 261 arch/um/os-Linux/start_up.c int pid, syscall, n, status; syscall 283 arch/um/os-Linux/start_up.c syscall = ptrace(PTRACE_PEEKUSER, pid, PT_SYSCALL_NR_OFFSET, syscall 285 arch/um/os-Linux/start_up.c if (syscall == __NR_getpid) { syscall 72 arch/unicore32/include/asm/thread_info.h __u32 syscall; /* syscall number */ syscall 129 arch/unicore32/kernel/ptrace.c current_thread_info()->syscall = scno; syscall 146 arch/unicore32/kernel/ptrace.c return current_thread_info()->syscall; syscall 302 arch/unicore32/kernel/signal.c int syscall) syscall 312 arch/unicore32/kernel/signal.c if (syscall) { syscall 354 arch/unicore32/kernel/signal.c static void do_signal(struct pt_regs *regs, int syscall) syscall 368 arch/unicore32/kernel/signal.c handle_signal(&ksig, regs, syscall); syscall 375 arch/unicore32/kernel/signal.c if (syscall) { syscall 402 arch/unicore32/kernel/signal.c unsigned int thread_flags, int syscall) syscall 405 arch/unicore32/kernel/signal.c do_signal(regs, syscall); syscall 29 arch/x86/ia32/audit.c int ia32_classify_syscall(unsigned syscall) syscall 31 arch/x86/ia32/audit.c switch (syscall) { syscall 41 arch/x86/kernel/audit_64.c int audit_classify_syscall(int abi, unsigned syscall) syscall 46 arch/x86/kernel/audit_64.c return ia32_classify_syscall(syscall); syscall 48 arch/x86/kernel/audit_64.c switch(syscall) { syscall 18 arch/x86/um/ldt.c return syscall(__NR_modify_ldt, func, ptr, bytecount); syscall 32 arch/x86/um/os-Linux/tls.c if (syscall(__NR_get_thread_area, &info) == 0) { syscall 63 arch/x86/um/shared/sysdep/ptrace.h long syscall; syscall 69 arch/x86/um/shared/sysdep/ptrace.h #define UPT_SYSCALL_NR(r) ((r)->syscall) syscall 15 arch/x86/um/shared/sysdep/stub_32.h static inline long stub_syscall0(long syscall) syscall 19 arch/x86/um/shared/sysdep/stub_32.h __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall)); syscall 24 arch/x86/um/shared/sysdep/stub_32.h static inline long stub_syscall1(long syscall, long arg1) syscall 28 arch/x86/um/shared/sysdep/stub_32.h __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)); syscall 33 arch/x86/um/shared/sysdep/stub_32.h static inline long stub_syscall2(long syscall, long arg1, long arg2) syscall 37 arch/x86/um/shared/sysdep/stub_32.h __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), syscall 43 arch/x86/um/shared/sysdep/stub_32.h static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) syscall 47 arch/x86/um/shared/sysdep/stub_32.h __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), syscall 53 arch/x86/um/shared/sysdep/stub_32.h static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, syscall 58 arch/x86/um/shared/sysdep/stub_32.h __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), syscall 64 arch/x86/um/shared/sysdep/stub_32.h static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, syscall 69 arch/x86/um/shared/sysdep/stub_32.h __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), syscall 18 arch/x86/um/shared/sysdep/stub_64.h static inline long stub_syscall0(long syscall) syscall 24 arch/x86/um/shared/sysdep/stub_64.h : "0" (syscall) : __syscall_clobber ); syscall 29 arch/x86/um/shared/sysdep/stub_64.h static inline long stub_syscall2(long syscall, long arg1, long arg2) syscall 35 arch/x86/um/shared/sysdep/stub_64.h : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); syscall 40 arch/x86/um/shared/sysdep/stub_64.h static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) syscall 46 arch/x86/um/shared/sysdep/stub_64.h : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) syscall 52 arch/x86/um/shared/sysdep/stub_64.h static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, syscall 59 arch/x86/um/shared/sysdep/stub_64.h : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), syscall 66 arch/x86/um/shared/sysdep/stub_64.h static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, syscall 73 arch/x86/um/shared/sysdep/stub_64.h : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), syscall 13 arch/x86/um/shared/sysdep/syscalls_32.h #define EXECUTE_SYSCALL(syscall, regs) \ syscall 15 arch/x86/um/shared/sysdep/syscalls_32.h (*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs)) syscall 17 arch/x86/um/shared/sysdep/syscalls_64.h #define EXECUTE_SYSCALL(syscall, regs) \ syscall 19 arch/x86/um/shared/sysdep/syscalls_64.h (*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(®s->regs), \ syscall 207 arch/xtensa/include/asm/processor.h (regs)->syscall = NO_SYSCALL; \ syscall 66 arch/xtensa/include/asm/ptrace.h unsigned long syscall; /* 56 */ syscall 28 arch/xtensa/include/asm/syscall.h return regs->syscall; syscall 44 arch/xtensa/kernel/asm-offsets.c DEFINE(PT_SYSCALL, offsetof (struct pt_regs, syscall)); syscall 327 arch/xtensa/kernel/ptrace.c tmp = regs->syscall; syscall 355 arch/xtensa/kernel/ptrace.c regs->syscall = val; syscall 549 arch/xtensa/kernel/ptrace.c regs->syscall = NO_SYSCALL; syscall 194 arch/xtensa/kernel/signal.c regs->syscall = NO_SYSCALL; /* disable syscall checks */ syscall 436 arch/xtensa/kernel/signal.c if (regs->syscall != NO_SYSCALL) { syscall 453 arch/xtensa/kernel/signal.c regs->areg[2] = regs->syscall; syscall 475 arch/xtensa/kernel/signal.c if (regs->syscall != NO_SYSCALL) { syscall 481 arch/xtensa/kernel/signal.c regs->areg[2] = regs->syscall; syscall 477 arch/xtensa/kernel/traps.c regs->syscall); syscall 373 fs/hostfs/hostfs_user.c err = syscall(SYS_renameat2, AT_FDCWD, from, AT_FDCWD, to, flags); syscall 100 include/linux/audit.h extern int audit_classify_syscall(int abi, unsigned syscall); syscall 109 include/linux/audit.h extern int audit_classify_compat_syscall(int abi, unsigned syscall); syscall 277 include/linux/audit.h extern void audit_seccomp(unsigned long syscall, long signr, int code); syscall 571 include/linux/audit.h static inline void audit_seccomp(unsigned long syscall, long signr, int code) syscall 216 kernel/audit.h extern int audit_match_class(int class, unsigned syscall); syscall 186 kernel/auditfilter.c int audit_match_class(int class, unsigned syscall) syscall 188 kernel/auditfilter.c if (unlikely(syscall >= AUDIT_BITMASK_SIZE * 32)) syscall 192 kernel/auditfilter.c return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); syscall 2607 kernel/auditsc.c void audit_seccomp(unsigned long syscall, long signr, int code) syscall 2616 kernel/auditsc.c signr, syscall_get_arch(current), syscall, syscall 590 kernel/seccomp.c static void seccomp_init_siginfo(kernel_siginfo_t *info, int syscall, int reason) syscall 598 kernel/seccomp.c info->si_syscall = syscall; syscall 608 kernel/seccomp.c static void seccomp_send_sigsys(int syscall, int reason) syscall 611 kernel/seccomp.c seccomp_init_siginfo(&info, syscall, reason); syscall 634 kernel/seccomp.c static inline void seccomp_log(unsigned long syscall, long signr, u32 action, syscall 674 kernel/seccomp.c audit_seccomp(syscall, signr, action); syscall 1944 kernel/trace/trace.h const char *get_syscall_name(int syscall); syscall 1947 kernel/trace/trace.h static inline const char *get_syscall_name(int syscall) syscall 81 kernel/trace/trace_syscalls.c find_syscall_meta(unsigned long syscall) syscall 90 kernel/trace/trace_syscalls.c kallsyms_lookup(syscall, NULL, NULL, NULL, str); syscall 110 kernel/trace/trace_syscalls.c const char *get_syscall_name(int syscall) syscall 114 kernel/trace/trace_syscalls.c entry = syscall_nr_to_meta(syscall); syscall 130 kernel/trace/trace_syscalls.c int i, syscall; syscall 133 kernel/trace/trace_syscalls.c syscall = trace->nr; syscall 134 kernel/trace/trace_syscalls.c entry = syscall_nr_to_meta(syscall); syscall 175 kernel/trace/trace_syscalls.c int syscall; syscall 179 kernel/trace/trace_syscalls.c syscall = trace->nr; syscall 180 kernel/trace/trace_syscalls.c entry = syscall_nr_to_meta(syscall); syscall 40 lib/audit.c int audit_classify_syscall(int abi, unsigned syscall) syscall 43 lib/audit.c return audit_classify_compat_syscall(abi, syscall); syscall 45 lib/audit.c switch(syscall) { syscall 31 lib/compat_audit.c int audit_classify_compat_syscall(int abi, unsigned syscall) syscall 33 lib/compat_audit.c switch (syscall) { syscall 85 samples/bpf/map_perf_test_user.c syscall(__NR_getuid); syscall 132 samples/bpf/map_perf_test_user.c ret = syscall(__NR_getcpu, &mycpu, &mynode, NULL); syscall 223 samples/bpf/map_perf_test_user.c syscall(__NR_geteuid); syscall 235 samples/bpf/map_perf_test_user.c syscall(__NR_getgid); syscall 247 samples/bpf/map_perf_test_user.c syscall(__NR_getegid); syscall 259 samples/bpf/map_perf_test_user.c syscall(__NR_gettid); syscall 271 samples/bpf/map_perf_test_user.c syscall(__NR_getpgid, 0); syscall 283 samples/bpf/map_perf_test_user.c syscall(__NR_getppid, 0); syscall 49 samples/pidfd/pidfd-metadata.c return syscall(__NR_pidfd_send_signal, pidfd, sig, info, flags); syscall 65 samples/seccomp/bpf-direct.c int syscall; syscall 73 samples/seccomp/bpf-direct.c syscall = ctx->uc_mcontext.gregs[REG_SYSCALL]; syscall 77 samples/seccomp/bpf-direct.c if (syscall != __NR_write) syscall 172 samples/seccomp/bpf-direct.c syscall(__NR_write, STDOUT_FILENO, syscall 174 samples/seccomp/bpf-direct.c bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)); syscall 175 samples/seccomp/bpf-direct.c syscall(__NR_write, STDOUT_FILENO, payload("HELLO, ")); syscall 176 samples/seccomp/bpf-direct.c syscall(__NR_write, STDOUT_FILENO, buf, bytes); syscall 177 samples/seccomp/bpf-direct.c syscall(__NR_write, STDERR_FILENO, syscall 97 samples/seccomp/bpf-fancy.c syscall(__NR_write, STDOUT_FILENO, msg1, strlen(msg1)); syscall 98 samples/seccomp/bpf-fancy.c bytes = syscall(__NR_read, STDIN_FILENO, buf, sizeof(buf)-1); syscall 100 samples/seccomp/bpf-fancy.c syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)); syscall 101 samples/seccomp/bpf-fancy.c syscall(__NR_write, STDERR_FILENO, buf, bytes); syscall 103 samples/seccomp/bpf-fancy.c syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)+2); syscall 29 samples/seccomp/user-trap.c return syscall(__NR_seccomp, op, flags, args); syscall 74 samples/vfs/test-fsmount.c return syscall(__NR_fsopen, fs_name, flags); syscall 79 samples/vfs/test-fsmount.c return syscall(__NR_fsmount, fsfd, flags, ms_flags); syscall 85 samples/vfs/test-fsmount.c return syscall(__NR_fsconfig, fsfd, cmd, key, val, aux); syscall 92 samples/vfs/test-fsmount.c return syscall(__NR_move_mount, syscall 43 samples/vfs/test-statx.c return syscall(__NR_statx, dfd, filename, flags, mask, buffer); syscall 41 tools/build/feature/test-bpf.c return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); syscall 135 tools/io_uring/io_uring-bench.c return syscall(__NR_gettid); syscall 39 tools/io_uring/syscall.c return syscall(__NR_io_uring_register, fd, opcode, arg, nr_args); syscall 44 tools/io_uring/syscall.c return syscall(__NR_io_uring_setup, entries, p); syscall 50 tools/io_uring/syscall.c return syscall(__NR_io_uring_enter, fd, to_submit, min_complete, syscall 65 tools/lib/bpf/bpf.c return syscall(__NR_bpf, cmd, attr, size); syscall 5055 tools/lib/bpf/libbpf.c pfd = syscall(__NR_perf_event_open, &attr, syscall 5170 tools/lib/bpf/libbpf.c pfd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, 0 /* cpu */, syscall 5391 tools/lib/bpf/libbpf.c cpu_buf->fd = syscall(__NR_perf_event_open, attr, -1 /* pid */, cpu, syscall 25 tools/lib/lockdep/common.c current_obj.pid = syscall(__NR_gettid); syscall 37 tools/perf/bench/futex.h syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) syscall 93 tools/perf/builtin-trace.c struct syscall *table; syscall 1436 tools/perf/builtin-trace.c static int syscall__alloc_arg_fmts(struct syscall *sc, int nr_args) syscall 1456 tools/perf/builtin-trace.c static int syscall__set_arg_fmts(struct syscall *sc) syscall 1503 tools/perf/builtin-trace.c struct syscall *sc; syscall 1669 tools/perf/builtin-trace.c static size_t syscall__scnprintf_name(struct syscall *sc, char *bf, size_t size, syscall 1683 tools/perf/builtin-trace.c static unsigned long syscall__mask_val(struct syscall *sc, struct syscall_arg *arg, unsigned long val) syscall 1691 tools/perf/builtin-trace.c static size_t syscall__scnprintf_val(struct syscall *sc, char *bf, size_t size, syscall 1703 tools/perf/builtin-trace.c static size_t syscall__scnprintf_args(struct syscall *sc, char *bf, size_t size, syscall 1794 tools/perf/builtin-trace.c static struct syscall *trace__syscall_info(struct trace *trace, syscall 1918 tools/perf/builtin-trace.c static void *syscall__augmented_args(struct syscall *sc, struct perf_sample *sample, int *augmented_args_size, int raw_augmented_args_size) syscall 1955 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, evsel, id); syscall 2029 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, evsel, id); syscall 2102 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, evsel, id); syscall 2386 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, evsel, id); syscall 2797 tools/perf/builtin-trace.c static struct bpf_program *trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc, syscall 2832 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, NULL, id); syscall 2843 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, NULL, id); syscall 2849 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, NULL, id); syscall 2855 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, NULL, id); syscall 2927 tools/perf/builtin-trace.c static struct bpf_program *trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *sc) syscall 2944 tools/perf/builtin-trace.c struct syscall *pair = trace__syscall_info(trace, NULL, id); syscall 3069 tools/perf/builtin-trace.c struct syscall *sc = trace__syscall_info(trace, NULL, key); syscall 3670 tools/perf/builtin-trace.c int syscall; syscall 3676 tools/perf/builtin-trace.c entry->syscall = source->i; syscall 3685 tools/perf/builtin-trace.c struct syscall *sc; syscall 3710 tools/perf/builtin-trace.c sc = &trace->syscalls.table[syscall_stats_entry->syscall]; syscall 35 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_map(syscalls, ARRAY, int, struct syscall, 512); syscall 251 tools/perf/examples/bpf/augmented_raw_syscalls.c struct syscall *syscall; syscall 37 tools/perf/examples/bpf/augmented_syscalls.c #define augmented_filename_syscall(syscall) \ syscall 38 tools/perf/examples/bpf/augmented_syscalls.c struct augmented_enter_##syscall##_args { \ syscall 39 tools/perf/examples/bpf/augmented_syscalls.c struct syscall_enter_##syscall##_args args; \ syscall 42 tools/perf/examples/bpf/augmented_syscalls.c int syscall_enter(syscall)(struct syscall_enter_##syscall##_args *args) \ syscall 44 tools/perf/examples/bpf/augmented_syscalls.c struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; \ syscall 58 tools/perf/examples/bpf/augmented_syscalls.c int syscall_exit(syscall)(struct syscall_exit_args *args) \ syscall 109 tools/perf/examples/bpf/augmented_syscalls.c #define augmented_sockaddr_syscall(syscall) \ syscall 110 tools/perf/examples/bpf/augmented_syscalls.c struct augmented_enter_##syscall##_args { \ syscall 111 tools/perf/examples/bpf/augmented_syscalls.c struct syscall_enter_##syscall##_args args; \ syscall 114 tools/perf/examples/bpf/augmented_syscalls.c int syscall_enter(syscall)(struct syscall_enter_##syscall##_args *args) \ syscall 116 tools/perf/examples/bpf/augmented_syscalls.c struct augmented_enter_##syscall##_args augmented_args; \ syscall 129 tools/perf/examples/bpf/augmented_syscalls.c int syscall_exit(syscall)(struct syscall_exit_args *args) \ syscall 33 tools/perf/examples/bpf/etcsnoop.c #define augmented_filename_syscall_enter(syscall) \ syscall 34 tools/perf/examples/bpf/etcsnoop.c struct augmented_enter_##syscall##_args { \ syscall 35 tools/perf/examples/bpf/etcsnoop.c struct syscall_enter_##syscall##_args args; \ syscall 38 tools/perf/examples/bpf/etcsnoop.c int syscall_enter(syscall)(struct syscall_enter_##syscall##_args *args) \ syscall 41 tools/perf/examples/bpf/etcsnoop.c struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; \ syscall 51 tools/perf/jvmti/jvmti_agent.c return (pid_t)syscall(__NR_gettid); syscall 63 tools/perf/lib/evsel.c return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); syscall 29 tools/perf/perf-sys.h fd = syscall(__NR_perf_event_open, attr, pid, cpu, syscall 48 tools/perf/tests/mmap-thread-lookup.c td->tid = syscall(SYS_gettid); syscall 20 tools/perf/util/cloexec.c int err = syscall(__NR_getcpu, &cpu, NULL, NULL); syscall 9 tools/perf/util/setns.c return syscall(__NR_setns, fd, nstype); syscall 47 tools/perf/util/syscalltbl.c const struct syscall *entry = ventry; syscall 54 tools/perf/util/syscalltbl.c const struct syscall *a = va, *b = vb; syscall 62 tools/perf/util/syscalltbl.c struct syscall *entries; syscall 68 tools/perf/util/syscalltbl.c entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); syscall 80 tools/perf/util/syscalltbl.c qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); syscall 111 tools/perf/util/syscalltbl.c struct syscall *sc = bsearch(name, tbl->syscalls.entries, syscall 121 tools/perf/util/syscalltbl.c struct syscall *syscalls = tbl->syscalls.entries; syscall 112 tools/testing/selftests/bpf/get_cgroup_id_user.c pmu_fd = syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); syscall 39 tools/testing/selftests/bpf/prog_tests/obj_name.c fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); syscall 60 tools/testing/selftests/bpf/prog_tests/obj_name.c fd = syscall(__NR_bpf, BPF_MAP_CREATE, &attr, sizeof(attr)); syscall 81 tools/testing/selftests/bpf/prog_tests/send_signal.c pmu_fd = syscall(__NR_perf_event_open, attr, pid, -1, syscall 199 tools/testing/selftests/bpf/prog_tests/send_signal.c pmu_fd = syscall(__NR_perf_event_open, &attr, 0 /* pid */, syscall 49 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, syscall 36 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, syscall 54 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c pmu_fd[i] = syscall(__NR_perf_event_open, &attr, -1 /* pid */, syscall 6202 tools/testing/selftests/bpf/test_btf.c prog_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); syscall 61 tools/testing/selftests/bpf/test_verifier_log.c return syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); syscall 20 tools/testing/selftests/drivers/dma-buf/udmabuf.c return syscall(__NR_memfd_create, name, flags); syscall 32 tools/testing/selftests/exec/execveat.c return syscall(__NR_execveat, fd, path, argv, envp, flags); syscall 71 tools/testing/selftests/futex/include/futextest.h syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) syscall 25 tools/testing/selftests/kcmp/kcmp_test.c return syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2); syscall 60 tools/testing/selftests/kvm/lib/assert.c return syscall(SYS_gettid); syscall 14 tools/testing/selftests/membarrier/membarrier_test_impl.h return syscall(__NR_membarrier, cmd, flags); syscall 45 tools/testing/selftests/memfd/common.c return syscall(__NR_memfd_create, name, flags); syscall 158 tools/testing/selftests/net/psock_fanout.c pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); syscall 122 tools/testing/selftests/net/reuseport_bpf.c bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); syscall 367 tools/testing/selftests/net/reuseport_bpf.c bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &eprog, sizeof(eprog)); syscall 96 tools/testing/selftests/net/reuseport_bpf_numa.c bpf_fd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); syscall 78 tools/testing/selftests/pidfd/pidfd.h return syscall(__NR_pidfd_open, pid, flags); syscall 84 tools/testing/selftests/pidfd/pidfd.h return syscall(__NR_pidfd_send_signal, pidfd, sig, info, flags); syscall 347 tools/testing/selftests/pidfd/pidfd_test.c getpid(), syscall(SYS_gettid)); syscall 353 tools/testing/selftests/pidfd/pidfd_test.c getpid(), syscall(SYS_gettid)); syscall 393 tools/testing/selftests/pidfd/pidfd_test.c syscall(SYS_gettid)); syscall 445 tools/testing/selftests/pidfd/pidfd_test.c getpid(), syscall(SYS_gettid)); syscall 447 tools/testing/selftests/pidfd/pidfd_test.c ksft_print_msg("Child Thread: DONE. pid %d tid %d\n", getpid(), syscall(SYS_gettid)); syscall 456 tools/testing/selftests/pidfd/pidfd_test.c ksft_print_msg("Child: starting. pid %d tid %d\n", getpid(), syscall(SYS_gettid)); syscall 465 tools/testing/selftests/pidfd/pidfd_test.c syscall(SYS_exit, 0); syscall 26 tools/testing/selftests/pidfd/pidfd_wait.c return syscall(__NR_clone3, args, sizeof(struct clone_args)); syscall 32 tools/testing/selftests/pidfd/pidfd_wait.c return syscall(__NR_waitid, which, pid, info, options, ru); syscall 250 tools/testing/selftests/powerpc/benchmarks/context_switch.c return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); syscall 15 tools/testing/selftests/powerpc/benchmarks/exec_target.c syscall(SYS_exit, 0); syscall 18 tools/testing/selftests/powerpc/benchmarks/futex_bench.c #define futex(A, B, C, D, E, F) syscall(__NR_futex, A, B, C, D, E, F) syscall 111 tools/testing/selftests/powerpc/mm/subpage_prot.c err = syscall(__NR_subpage_prot, addr, size, map); syscall 143 tools/testing/selftests/powerpc/mm/subpage_prot.c rc = syscall(__NR_subpage_prot, 0, 0, 0); syscall 19 tools/testing/selftests/powerpc/pmu/event.c return syscall(__NR_perf_event_open, attr, pid, cpu, syscall 66 tools/testing/selftests/powerpc/ptrace/core-pkey.c return syscall(__NR_pkey_alloc, flags, init_access_rights); syscall 71 tools/testing/selftests/powerpc/ptrace/core-pkey.c return syscall(__NR_pkey_free, pkey); syscall 42 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); syscall 66 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c return syscall(__NR_pkey_alloc, flags, init_access_rights); syscall 71 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c return syscall(__NR_pkey_free, pkey); syscall 77 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c pid_t pid = getpid(), tid = syscall(SYS_gettid); syscall 80 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c syscall(SYS_tgkill, pid, tid, SIGSTOP); syscall 82 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c syscall(SYS_gettid, 10, 11, 12, 13, 14, 15); syscall 24 tools/testing/selftests/powerpc/syscalls/ipc_unmuxed.c rc = syscall(_num, -1, 0, 0, 0, 0, 0); \ syscall 177 tools/testing/selftests/powerpc/utils.c return syscall(__NR_perf_event_open, hw_event, pid, cpu, syscall 119 tools/testing/selftests/proc/fd-003-kthread.c return syscall(SYS_statx, dirfd, pathname, flags, mask, stx); syscall 51 tools/testing/selftests/proc/proc-pid-vm.c return syscall(SYS_execveat, dirfd, pathname, argv, envp, flags); syscall 131 tools/testing/selftests/proc/proc-pid-vm.c syscall, syscall 139 tools/testing/selftests/proc/proc-pid-vm.c syscall, syscall 143 tools/testing/selftests/proc/proc-pid-vm.c syscall, syscall 28 tools/testing/selftests/proc/proc-self-syscall.c return syscall(SYS_read, fd, buf, len); syscall 35 tools/testing/selftests/proc/proc-uptime-002.c return syscall(SYS_sched_getaffinity, pid, len, m); syscall 40 tools/testing/selftests/proc/proc-uptime-002.c return syscall(SYS_sched_setaffinity, pid, len, m); syscall 14 tools/testing/selftests/proc/proc.h return syscall(SYS_getpid); syscall 19 tools/testing/selftests/proc/proc.h return syscall(SYS_gettid); syscall 43 tools/testing/selftests/ptp/testptp.c return syscall(__NR_clock_adjtime, id, tx); syscall 33 tools/testing/selftests/ptrace/get_syscall_info.c return syscall(__NR_ptrace, request, pid, addr, data); syscall 94 tools/testing/selftests/ptrace/get_syscall_info.c syscall(args[i][0], syscall 17 tools/testing/selftests/ptrace/peeksiginfo.c return syscall(SYS_rt_sigqueueinfo, tgid, sig, uinfo); syscall 23 tools/testing/selftests/ptrace/peeksiginfo.c return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo); syscall 28 tools/testing/selftests/ptrace/peeksiginfo.c return syscall(SYS_ptrace, request, pid, addr, data); syscall 20 tools/testing/selftests/rseq/param_test.c return syscall(__NR_gettid); syscall 73 tools/testing/selftests/rseq/rseq.c return syscall(__NR_rseq, rseq_abi, rseq_len, flags, sig); syscall 182 tools/testing/selftests/safesetid/safesetid-test.c cpid = syscall(SYS_clone, clone_flags, NULL); syscall 28 tools/testing/selftests/seccomp/seccomp_benchmark.c ret = syscall(__NR_getpid); syscall 212 tools/testing/selftests/seccomp/seccomp_bpf.c return syscall(__NR_seccomp, op, flags, args); syscall 236 tools/testing/selftests/seccomp/seccomp_bpf.c syscall(__NR_exit, 0); syscall 247 tools/testing/selftests/seccomp/seccomp_bpf.c syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, syscall 490 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 509 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)) { syscall 531 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)) { syscall 576 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 578 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); syscall 611 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 612 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_LE(clock, syscall(__NR_times, &timebuf)); syscall 614 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_times, &fatal_address)); syscall 656 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 657 tools/testing/selftests/seccomp/seccomp_bpf.c map1 = (void *)syscall(sysno, syscall 661 tools/testing/selftests/seccomp/seccomp_bpf.c map2 = (void *)syscall(sysno, syscall 829 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 847 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 869 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 900 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 941 tools/testing/selftests/seccomp/seccomp_bpf.c syscall(__NR_getpid); syscall 956 tools/testing/selftests/seccomp/seccomp_bpf.c syscall(__NR_getpid); syscall 996 tools/testing/selftests/seccomp/seccomp_bpf.c ret = syscall(__NR_getpid); syscall 1113 tools/testing/selftests/seccomp/seccomp_bpf.c res = syscall(__NR_getppid); syscall 1139 tools/testing/selftests/seccomp/seccomp_bpf.c res = syscall(__NR_getppid); syscall 1142 tools/testing/selftests/seccomp/seccomp_bpf.c res = syscall(__NR_getpid); syscall 1168 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1170 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); syscall 1193 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1195 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); syscall 1218 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1220 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); syscall 1241 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1242 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); syscall 1263 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1264 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); syscall 1283 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1285 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); syscall 1304 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1306 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); syscall 1324 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1326 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(mypid, syscall(__NR_getpid)); syscall 1344 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 1346 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(mypid, syscall(__NR_getpid)); syscall 1428 tools/testing/selftests/seccomp/seccomp_bpf.c syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); syscall 1453 tools/testing/selftests/seccomp/seccomp_bpf.c syscall(__NR_exit, 0); syscall 1571 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_NE(0, syscall(__NR_getpid)); syscall 1665 tools/testing/selftests/seccomp/seccomp_bpf.c pid_t tracee, int syscall, int result) syscall 1682 tools/testing/selftests/seccomp/seccomp_bpf.c regs.SYSCALL_NUM = syscall; syscall 1687 tools/testing/selftests/seccomp/seccomp_bpf.c regs.SYSCALL_SYSCALL_NUM = syscall; syscall 1689 tools/testing/selftests/seccomp/seccomp_bpf.c regs.SYSCALL_NUM = syscall; syscall 1697 tools/testing/selftests/seccomp/seccomp_bpf.c ret = ptrace(PTRACE_SET_SYSCALL, tracee, NULL, syscall); syscall 1706 tools/testing/selftests/seccomp/seccomp_bpf.c iov.iov_base = &syscall; syscall 1707 tools/testing/selftests/seccomp/seccomp_bpf.c iov.iov_len = sizeof(syscall); syscall 1720 tools/testing/selftests/seccomp/seccomp_bpf.c if (syscall == -1) syscall 1837 tools/testing/selftests/seccomp/seccomp_bpf.c self->mytid = syscall(__NR_gettid); syscall 1871 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_NE(self->mypid, syscall(__NR_getpid)); syscall 1882 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_SYSCALL_RETURN(-ESRCH, syscall(__NR_openat)); syscall 1893 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_SYSCALL_RETURN(45000, syscall(__NR_gettid)); syscall 1907 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(self->parent, syscall(__NR_getppid)); syscall 1908 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_NE(self->mypid, syscall(__NR_getppid)); syscall 1922 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(self->parent, syscall(__NR_getpid)); syscall 1923 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_NE(self->mypid, syscall(__NR_getpid)); syscall 1937 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_SYSCALL_RETURN(-ESRCH, syscall(__NR_openat)); syscall 1951 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_SYSCALL_RETURN(45000, syscall(__NR_gettid)); syscall 1982 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); syscall 2013 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_NE(self->mypid, syscall(__NR_getpid)); syscall 2044 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); syscall 2076 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_NE(self->mypid, syscall(__NR_getpid)); syscall 2400 tools/testing/selftests/seccomp/seccomp_bpf.c me->system_tid = syscall(__NR_gettid); syscall 2813 tools/testing/selftests/seccomp/seccomp_bpf.c syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS syscall 2957 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); syscall 2959 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); syscall 3111 tools/testing/selftests/seccomp/seccomp_bpf.c ret = syscall(__NR_getppid); syscall 3140 tools/testing/selftests/seccomp/seccomp_bpf.c ret = syscall(__NR_getppid); syscall 3213 tools/testing/selftests/seccomp/seccomp_bpf.c ret = syscall(__NR_getppid); syscall 3275 tools/testing/selftests/seccomp/seccomp_bpf.c ret = syscall(__NR_gettid); syscall 3336 tools/testing/selftests/seccomp/seccomp_bpf.c ret = syscall(__NR_getppid); syscall 3367 tools/testing/selftests/seccomp/seccomp_bpf.c exit(syscall(__NR_getppid) != USER_NOTIF_MAGIC); syscall 3413 tools/testing/selftests/seccomp/seccomp_bpf.c exit(syscall(__NR_getppid) != USER_NOTIF_MAGIC); syscall 3472 tools/testing/selftests/seccomp/seccomp_bpf.c exit(syscall(__NR_getppid) != USER_NOTIF_MAGIC); syscall 42 tools/testing/selftests/size/get_size.c return syscall(SYS_write, STDOUT_FILENO, s, len); syscall 94 tools/testing/selftests/size/get_size.c ccode = syscall(SYS_sysinfo, &info); syscall 99 tools/testing/selftests/size/get_size.c syscall(SYS_exit, ccode); syscall 115 tools/testing/selftests/size/get_size.c syscall(SYS_exit, 0); syscall 45 tools/testing/selftests/timers/valid-adjtimex.c return syscall(__NR_clock_adjtime, id, tx); syscall 18 tools/testing/selftests/vm/mlock2.h return syscall(__NR_mlock2, start, len, flags); syscall 657 tools/testing/selftests/vm/userfaultfd.c uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); syscall 165 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_SET_GS, value) != 0) syscall 179 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_GET_GS, &base) != 0) syscall 196 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_SET_GS, initial_base) != 0) syscall 204 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_GET_GS, &arch_base) != 0) syscall 233 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_SET_GS, to_set) != 0) syscall 255 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) syscall 270 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) == 0) { syscall 318 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); syscall 320 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); syscall 338 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); syscall 357 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); syscall 378 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_SET_GS, local) != 0) syscall 404 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); syscall 406 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); syscall 425 tools/testing/selftests/x86/fsgsbase.c if (syscall(SYS_arch_prctl, ARCH_SET_GS, 0) != 0) syscall 430 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); syscall 432 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); syscall 584 tools/testing/selftests/x86/fsgsbase.c syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); syscall 154 tools/testing/selftests/x86/ldt_gdt.c ret = syscall(SYS_set_thread_area, &desc); syscall 156 tools/testing/selftests/x86/ldt_gdt.c ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, syscall 204 tools/testing/selftests/x86/ldt_gdt.c int ret = syscall(SYS_modify_ldt, oldmode ? 1 : 0x11, syscall 226 tools/testing/selftests/x86/ldt_gdt.c int ret = syscall(SYS_modify_ldt, 0x11, ptr, bytecount); syscall 444 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); syscall 452 tools/testing/selftests/x86/ldt_gdt.c if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) != 0) syscall 485 tools/testing/selftests/x86/ldt_gdt.c if (syscall(SYS_rt_sigaction, sig, NULL, &ksa, 8) == 0) { syscall 496 tools/testing/selftests/x86/ldt_gdt.c if (syscall(SYS_rt_sigaction, sig, &ksa, NULL, syscall 593 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); syscall 613 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); syscall 808 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_arch_prctl, ARCH_GET_FS, &saved_base); syscall 828 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_arch_prctl, ARCH_GET_FS, &new_base); syscall 835 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_arch_prctl, ARCH_SET_FS, saved_base); syscall 861 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_arch_prctl, ARCH_GET_GS, &saved_base); syscall 881 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_arch_prctl, ARCH_GET_GS, &new_base); syscall 888 tools/testing/selftests/x86/ldt_gdt.c syscall(SYS_arch_prctl, ARCH_SET_GS, saved_base); syscall 540 tools/testing/selftests/x86/protection_keys.c sret = syscall(SYS_mprotect_key, ptr, size, orig_prot, pkey); syscall 553 tools/testing/selftests/x86/protection_keys.c int ret = syscall(SYS_pkey_alloc, flags, init_val); syscall 596 tools/testing/selftests/x86/protection_keys.c int ret = syscall(SYS_pkey_free, pkey); syscall 1095 tools/testing/selftests/x86/protection_keys.c futex_ret = syscall(SYS_futex, ptr, FUTEX_WAIT, some_int-1, NULL, syscall 1416 tools/testing/selftests/x86/protection_keys.c sret = syscall(SYS_mprotect_key, ptr, size, PROT_READ, pkey); syscall 186 tools/testing/selftests/x86/ptrace_syscall.c pid_t pid = getpid(), tid = syscall(SYS_gettid); syscall 189 tools/testing/selftests/x86/ptrace_syscall.c syscall(SYS_tgkill, pid, tid, SIGSTOP); syscall 191 tools/testing/selftests/x86/ptrace_syscall.c syscall(SYS_gettid, 10, 11, 12, 13, 14, 15); syscall 306 tools/testing/selftests/x86/ptrace_syscall.c pid_t pid = getpid(), tid = syscall(SYS_gettid); syscall 310 tools/testing/selftests/x86/ptrace_syscall.c syscall(SYS_tgkill, pid, tid, SIGSTOP); syscall 312 tools/testing/selftests/x86/ptrace_syscall.c syscall(SYS_pause, 0, 0, 0, 0, 0, 0); syscall 169 tools/testing/selftests/x86/sigreturn.c if (syscall(SYS_modify_ldt, 1, desc, sizeof(*desc)) == 0) { syscall 250 tools/testing/selftests/x86/sigreturn.c if (syscall(SYS_set_thread_area, &gdt_data16_desc) == 0) { syscall 275 tools/testing/selftests/x86/sigreturn.c if (syscall(SYS_set_thread_area, &gdt_npdata32_desc) == 0) { syscall 159 tools/testing/selftests/x86/single_step_syscall.c syscall(SYS_getpid); /* Force symbol binding without TF set. */ syscall 162 tools/testing/selftests/x86/single_step_syscall.c syscall(SYS_getpid); syscall 60 tools/testing/selftests/x86/syscall_nt.c syscall(SYS_getpid); syscall 25 tools/testing/selftests/x86/syscall_numbering.c long ret = syscall(nr, 0, 0, 0, 0, 0, 0); syscall 78 tools/testing/selftests/x86/syscall_numbering.c if (syscall(39 | X32_BIT, 0, 0, 0, 0, 0, 0) >= 0) { syscall 89 tools/testing/selftests/x86/test_mremap_vdso.c syscall(SYS_exit, ret); syscall 121 tools/testing/selftests/x86/test_vdso.c return syscall(__NR_getcpu, cpu, node, cache); syscall 126 tools/testing/selftests/x86/test_vdso.c return syscall(__NR_clock_gettime, id, ts); syscall 131 tools/testing/selftests/x86/test_vdso.c return syscall(__NR_gettimeofday, tv, tz); syscall 161 tools/testing/selftests/x86/test_vsyscall.c return syscall(SYS_gettimeofday, tv, tz); syscall 166 tools/testing/selftests/x86/test_vsyscall.c return syscall(SYS_clock_gettime, id, ts); syscall 171 tools/testing/selftests/x86/test_vsyscall.c return syscall(SYS_time, t); syscall 177 tools/testing/selftests/x86/test_vsyscall.c return syscall(SYS_getcpu, cpu, node, cache); syscall 173 tools/testing/selftests/x86/unwind_vdso.c syscall(SYS_getpid); /* Force symbol binding without TF set. */ syscall 176 tools/testing/selftests/x86/unwind_vdso.c syscall(SYS_getpid, 1, 2, 3, 4, 5, 6); syscall 54 tools/testing/selftests/x86/vdso_restorer.c if (syscall(SYS_rt_sigaction, SIGUSR1, &sa, NULL, 8) != 0) syscall 68 tools/testing/selftests/x86/vdso_restorer.c if (syscall(SYS_sigaction, SIGUSR1, &sa, 0) != 0)