Searched refs:syscall (Results 1 - 25 of 447) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dexec_target.c11 #include <sys/syscall.h>
15 syscall(SYS_exit, 0);
/linux-master/tools/perf/util/
H A Dsetns.c5 #include <sys/syscall.h>
9 return syscall(__NR_setns, fd, nstype);
/linux-master/arch/x86/um/shared/sysdep/
H A Dsyscalls_32.h13 #define EXECUTE_SYSCALL(syscall, regs) \
14 ((*sys_call_table[syscall]))(SYSCALL_ARGS(&regs->regs))
H A Dstub_32.h15 static __always_inline long stub_syscall0(long syscall) argument
19 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall)
25 static __always_inline long stub_syscall1(long syscall, long arg1) argument
29 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)
35 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) argument
39 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1),
46 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, argument
51 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1),
58 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, argument
63 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "
70 stub_syscall5(long syscall, long arg1, long arg2, long arg3, long arg4, long arg5) argument
[all...]
H A Dstub_64.h17 #define __syscall "syscall"
19 static __always_inline long stub_syscall0(long syscall) argument
25 : "0" (syscall) : __syscall_clobber );
30 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) argument
36 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber );
41 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, argument
48 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3)
54 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, argument
61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3),
68 static __always_inline long stub_syscall5(long syscall, lon argument
[all...]
H A Dsyscalls_64.h17 #define EXECUTE_SYSCALL(syscall, regs) \
18 (((*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(&regs->regs), \
/linux-master/tools/testing/selftests/arm64/bti/
H A Dsystem.c13 syscall(__NR_exit, n);
19 return syscall(__NR_write, fd, buf, size);
/linux-master/arch/x86/include/asm/
H A Daudit.h5 int ia32_classify_syscall(unsigned int syscall);
/linux-master/tools/testing/selftests/arm64/abi/
H A DMakefile4 TEST_GEN_PROGS := hwcap ptrace syscall-abi tpidr2
8 $(OUTPUT)/syscall-abi: syscall-abi.c syscall-abi-asm.S
/linux-master/include/linux/
H A Daudit_arch.h24 extern int audit_classify_compat_syscall(int abi, unsigned syscall);
/linux-master/tools/perf/scripts/python/bin/
H A Dsyscall-counts-report2 # description: system-wide syscall counts
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm
H A Dsyscall-counts-by-pid-report2 # description: system-wide syscall counts, by pid
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
/linux-master/tools/perf/
H A Dperf-sys.h7 #include <sys/syscall.h>
17 return syscall(__NR_perf_event_open, attr, pid, cpu,
/linux-master/tools/testing/selftests/bpf/
H A Dtask_local_storage_helpers.h6 #include <sys/syscall.h>
19 return syscall(__NR_pidfd_open, pid, flags);
/linux-master/arch/um/kernel/skas/
H A Dsyscall.c19 int syscall; local
22 * If we have infinite CPU resources, then make every syscall also a
32 /* Initialize the syscall number and default return value. */
43 syscall = UPT_SYSCALL_NR(r);
44 if (syscall >= 0 && syscall < __NR_syscalls)
46 EXECUTE_SYSCALL(syscall, regs));
/linux-master/arch/x86/entry/vsyscall/
H A Dvsyscall_emu_64.S21 syscall
27 syscall
33 syscall
/linux-master/tools/testing/selftests/lsm/
H A Dcommon.h12 return syscall(__NR_lsm_get_self_attr, attr, ctx, size, flags);
20 return syscall(__NR_lsm_set_self_attr, attr, ctx, size, flags);
27 return syscall(__NR_lsm_list_modules, ids, size, flags);
/linux-master/arch/x86/um/asm/
H A Dsyscall.h5 #include <asm/syscall-generic.h>
/linux-master/arch/mips/vdso/
H A Dsigreturn.S21 syscall
31 syscall
/linux-master/tools/testing/selftests/kvm/include/
H A Dnumaif.h23 return syscall(__NR_get_mempolicy, policy, nmask,
31 return syscall(__NR_migrate_pages, pid, maxnode, frommask, tomask);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlinked_maps.c5 #include <sys/syscall.h>
22 syscall(SYS_getpgid);
/linux-master/arch/s390/kernel/vdso32/
H A Dvdso_user_wrapper.S7 .macro vdso_syscall func,syscall
13 svc \syscall
14 /* Make sure we notice when a syscall returns, which shouldn't happen */
/linux-master/tools/testing/selftests/livepatch/
H A Dtest_klp-call_getpid.c10 #include <sys/syscall.h>
36 (void)syscall(SYS_getpid);
/linux-master/arch/s390/kernel/syscalls/
H A DMakefile7 syscall := $(srctree)/$(src)/syscall.tbl macro
33 $(uapi)/unistd_32.h: $(syscall) FORCE
37 $(uapi)/unistd_64.h: $(syscall) FORCE
40 $(kapi)/syscall_table.h: $(syscall) FORCE
44 $(kapi)/unistd_nr.h: $(syscall) FORCE
/linux-master/arch/powerpc/kernel/syscalls/
H A DMakefile7 syscall := $(src)/syscall.tbl macro
18 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE
22 $(uapi)/unistd_64.h: $(syscall) $(syshdr) FORCE
26 $(kapi)/syscall_table_32.h: $(syscall) $(systbl) FORCE
30 $(kapi)/syscall_table_64.h: $(syscall) $(systbl) FORCE
34 $(kapi)/syscall_table_spu.h: $(syscall) $(systbl) FORCE

Completed in 235 milliseconds

1234567891011>>