| /arch/x86/um/shared/sysdep/ |
| A D | stub_32.h | 16 static __always_inline long stub_syscall0(long syscall) in stub_syscall0() argument 20 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall) in stub_syscall0() 26 static __always_inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument 30 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1) in stub_syscall1() 36 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 40 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2() 47 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument 52 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3() 64 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4() 76 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall5() [all …]
|
| A D | stub_64.h | 21 static __always_inline long stub_syscall0(long syscall) in stub_syscall0() argument 27 : "0" (syscall) : __syscall_clobber ); in stub_syscall0() 32 static __always_inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument 38 : "0" (syscall), "D" (arg1) : __syscall_clobber ); in stub_syscall1() 43 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 49 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 54 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument 61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 74 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 88 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5() [all …]
|
| /arch/mips/kernel/ |
| A D | scall64-n32.S | 35 dsubu t0, v0, __NR_N32_Linux # check syscall number 39 ld t1, PT_EPC(sp) # skip syscall on return 45 sd a3, PT_R26(sp) # save a3 for syscall restarting 47 LONG_S v0, TI_SYSCALL($28) # Store syscall number 50 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled? 65 ld t1, PT_R2(sp) # syscall number 67 sd t1, PT_R0(sp) # save it for syscall restarting 79 bltz v0, 1f # seccomp failed? Skip syscall 82 ld v0, PT_R2(sp) # Restore syscall (maybe modified) 90 dsubu t2, v0, __NR_N32_Linux # check (new) syscall number
|
| A D | scall64-n64.S | 42 ld t1, PT_EPC(sp) # skip syscall on return 47 sd a3, PT_R26(sp) # save a3 for syscall restarting 49 LONG_S v0, TI_SYSCALL($28) # Store syscall number 52 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled? 64 ld t2, (t0) # syscall routine 74 ld t1, PT_R2(sp) # syscall number 76 sd t1, PT_R0(sp) # save it for syscall restarting 89 bltz v0, 1f # seccomp failed? Skip syscall 92 ld v0, PT_R2(sp) # Restore syscall (maybe modified)
|
| A D | scall32-o32.S | 32 lw t1, PT_EPC(sp) # skip syscall on return 37 sw a3, PT_R26(sp) # save a3 for syscall restarting 92 lw t0, TI_FLAGS($28) # syscall tracing enabled? 97 subu v0, v0, __NR_O32_Linux # check syscall number 104 lw t2, (t1) # syscall routine 115 lw t1, PT_R2(sp) # syscall number 117 sw t1, PT_R0(sp) # save it for syscall restarting 131 bltz v0, 1f # seccomp failed? Skip syscall 134 lw v0, PT_R2(sp) # Restore syscall (maybe modified) 184 subu t0, a0, __NR_O32_Linux # check syscall number [all …]
|
| A D | scall64-o32.S | 34 ld t1, PT_EPC(sp) # skip syscall on return 36 dsubu t0, v0, __NR_O32_Linux # check syscall number 55 sd a3, PT_R26(sp) # save a3 for syscall restarting 92 LONG_S a0, TI_SYSCALL($28) # Save a0 as syscall number 99 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled? 114 ld t1, PT_R2(sp) # syscall number 116 sd t1, PT_R0(sp) # save it for syscall restarting 134 bltz v0, 1f # seccomp failed? Skip syscall 137 ld v0, PT_R2(sp) # Restore syscall (maybe modified) 196 subu t0, a0, __NR_O32_Linux # check syscall number [all …]
|
| /arch/um/kernel/skas/ |
| A D | syscall.c | 20 int syscall; in handle_syscall() local 33 syscall = UPT_SYSCALL_NR(r); in handle_syscall() 42 syscall == __NR_sched_yield) in handle_syscall() 45 if (syscall >= 0 && syscall < __NR_syscalls) { in handle_syscall() 48 ret = (*sys_call_table[syscall])(UPT_SYSCALL_ARG1(®s->regs), in handle_syscall()
|
| /arch/powerpc/kernel/syscalls/ |
| A D | Makefile | 7 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
|
| /arch/s390/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 36 $(uapi)/unistd_32.h: $(syscall) $(systbl) FORCE 40 $(uapi)/unistd_64.h: $(syscall) $(systbl) FORCE 43 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE 47 $(kapi)/unistd_nr.h: $(syscall) $(systbl) FORCE
|
| /arch/arm64/include/asm/ |
| A D | Kbuild | 2 syscall-y += syscall_table_32.h 3 syscall-y += syscall_table_64.h 5 # arm32 syscall table used by lib/compat_audit.c: 6 syscall-y += unistd_32.h 8 syscall-y += unistd_compat_32.h
|
| /arch/powerpc/platforms/cell/ |
| A D | spu_callbacks.c | 45 syscall_fn syscall; in spu_sys_callback() local 52 syscall = spu_syscall_table[s->nr_ret]; in spu_sys_callback() 56 syscall, in spu_sys_callback() 61 return syscall(s->parm[0], s->parm[1], s->parm[2], in spu_sys_callback()
|
| /arch/m68k/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 17 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 20 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
| /arch/microblaze/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 17 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 20 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
| /arch/alpha/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 17 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 20 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
| /arch/sh/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 17 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 20 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
| /arch/xtensa/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 17 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 20 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
| /arch/sparc/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 17 $(uapi)/unistd_%.h: $(syscall) $(syshdr) FORCE 20 $(kapi)/syscall_table_%.h: $(syscall) $(systbl) FORCE
|
| /arch/parisc/kernel/syscalls/ |
| A D | Makefile | 7 syscall := $(src)/syscall.tbl macro 17 $(uapi)/unistd_%.h: $(syscall) $(syshdr) FORCE 20 $(kapi)/syscall_table_%.h: $(syscall) $(systbl) FORCE
|
| /arch/x86/entry/vsyscall/ |
| A D | vsyscall_emu_64.S | 21 syscall 27 syscall 33 syscall
|
| /arch/arm/tools/ |
| A D | Makefile | 14 syscall := $(src)/syscall.tbl macro 50 $(uapi)/unistd-%.h: $(syscall) $(syshdr) FORCE 53 $(kapi)/unistd-nr.h: $(syscall) $(sysnr) FORCE 56 $(gen)/calls-%.S: $(syscall) $(systbl) FORCE
|
| /arch/sh/kernel/vsyscall/ |
| A D | Makefile | 2 obj-y += vsyscall.o vsyscall-syscall.o vsyscall-syms.o 4 $(obj)/vsyscall-syscall.o: $(obj)/vsyscall-trapa.so 23 $(call if_changed,syscall) 31 $(call if_changed,syscall)
|
| /arch/sparc/kernel/ |
| A D | audit.c | 43 int audit_classify_syscall(int abi, unsigned int syscall) in audit_classify_syscall() argument 47 return sparc32_classify_syscall(syscall); in audit_classify_syscall() 49 switch(syscall) { in audit_classify_syscall()
|
| /arch/x86/kernel/ |
| A D | audit_64.c | 42 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 46 return ia32_classify_syscall(syscall); in audit_classify_syscall() 48 switch(syscall) { in audit_classify_syscall()
|
| /arch/s390/kernel/ |
| A D | audit.c | 42 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 46 return s390_classify_syscall(syscall); in audit_classify_syscall() 48 switch(syscall) { in audit_classify_syscall()
|
| /arch/powerpc/kernel/ |
| A D | audit.c | 43 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 47 return ppc32_classify_syscall(syscall); in audit_classify_syscall() 49 switch(syscall) { in audit_classify_syscall()
|