/arch/x86/um/shared/sysdep/ |
D | stub_32.h | 15 static inline long stub_syscall0(long syscall) in stub_syscall0() argument 19 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall)); in stub_syscall0() 24 static inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument 28 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)); in stub_syscall1() 33 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 37 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2() 43 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 47 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 58 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4() [all …]
|
D | stub_64.h | 18 static inline long stub_syscall0(long syscall) in stub_syscall0() argument 24 : "0" (syscall) : __syscall_clobber ); in stub_syscall0() 29 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 35 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 40 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 46 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 52 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 59 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 66 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 73 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
|
/arch/um/os-Linux/skas/ |
D | mem.c | 55 unsigned long * syscall; in do_syscall_stub() local 86 syscall = (unsigned long *)((unsigned long)data + data[0]); in do_syscall_stub() 89 syscall[0], ret, syscall[7]); in do_syscall_stub() 92 syscall[1], syscall[2], syscall[3], in do_syscall_stub() 93 syscall[4], syscall[5], syscall[6]); in do_syscall_stub() 112 long run_syscall_stub(struct mm_id * mm_idp, int syscall, in run_syscall_stub() argument 121 *stack++ = syscall; in run_syscall_stub()
|
/arch/um/kernel/skas/ |
D | syscall.c | 19 int syscall; in handle_syscall() local 43 syscall = UPT_SYSCALL_NR(r); in handle_syscall() 44 if (syscall >= 0 && syscall < __NR_syscalls) in handle_syscall() 46 EXECUTE_SYSCALL(syscall, regs)); in handle_syscall()
|
/arch/mips/kernel/ |
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 48 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled? 63 ld t1, PT_R2(sp) # syscall number 65 sd t1, PT_R0(sp) # save it for syscall restarting 78 bltz v0, 1f # seccomp failed? Skip syscall 81 ld v0, PT_R2(sp) # Restore syscall (maybe modified) 89 dsubu t2, v0, __NR_N32_Linux # check (new) syscall number
|
D | scall64-n64.S | 43 ld t1, PT_EPC(sp) # skip syscall on return 48 sd a3, PT_R26(sp) # save a3 for syscall restarting 51 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled? 63 ld t2, (t0) # syscall routine 73 ld t1, PT_R2(sp) # syscall number 75 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)
|
D | scall32-o32.S | 33 lw t1, PT_EPC(sp) # skip syscall on return 38 sw a3, PT_R26(sp) # save a3 for syscall restarting 81 lw t0, TI_FLAGS($28) # syscall tracing enabled? 86 subu v0, v0, __NR_O32_Linux # check syscall number 93 lw t2, (t1) # syscall routine 104 lw t1, PT_R2(sp) # syscall number 106 sw t1, PT_R0(sp) # save it for syscall restarting 129 bltz v0, 1f # seccomp failed? Skip syscall 132 lw v0, PT_R2(sp) # Restore syscall (maybe modified) 182 subu t0, a0, __NR_O32_Linux # check syscall number [all …]
|
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 83 LONG_L t0, TI_FLAGS($28) # syscall tracing enabled? 98 ld t1, PT_R2(sp) # syscall number 100 sd t1, PT_R0(sp) # save it for syscall restarting 133 bltz v0, 1f # seccomp failed? Skip syscall 136 ld v0, PT_R2(sp) # Restore syscall (maybe modified) 146 dsubu t0, v0, __NR_O32_Linux # check (new) syscall number 195 subu t0, a0, __NR_O32_Linux # check syscall number [all …]
|
/arch/s390/kernel/syscalls/ |
D | Makefile | 7 syscall := $(srctree)/$(src)/syscall.tbl macro 34 $(uapi)/unistd_32.h: $(syscall) FORCE 38 $(uapi)/unistd_64.h: $(syscall) FORCE 41 $(kapi)/syscall_table.h: $(syscall) FORCE 45 $(kapi)/unistd_nr.h: $(syscall) FORCE
|
/arch/powerpc/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 19 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 23 $(uapi)/unistd_64.h: $(syscall) $(syshdr) FORCE 27 $(kapi)/syscall_table_32.h: $(syscall) $(systbl) FORCE 31 $(kapi)/syscall_table_64.h: $(syscall) $(systbl) FORCE 35 $(kapi)/syscall_table_spu.h: $(syscall) $(systbl) FORCE
|
/arch/powerpc/platforms/cell/ |
D | spu_callbacks.c | 45 long (*syscall)(u64 a1, u64 a2, u64 a3, u64 a4, u64 a5, u64 a6); 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/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
/arch/microblaze/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
/arch/xtensa/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
/arch/ia64/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_64.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
/arch/sh/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
/arch/alpha/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE
|
/arch/x86/entry/vsyscall/ |
D | vsyscall_emu_64.S | 21 syscall 27 syscall 33 syscall
|
/arch/parisc/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_%.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table_%.h: $(syscall) $(systbl) FORCE
|
/arch/sparc/kernel/syscalls/ |
D | Makefile | 8 syscall := $(src)/syscall.tbl macro 18 $(uapi)/unistd_%.h: $(syscall) $(syshdr) FORCE 21 $(kapi)/syscall_table_%.h: $(syscall) $(systbl) FORCE
|
/arch/arm/tools/ |
D | Makefile | 14 syscall := $(src)/syscall.tbl macro 51 $(uapi)/unistd-%.h: $(syscall) $(syshdr) FORCE 54 $(kapi)/unistd-nr.h: $(syscall) $(sysnr) FORCE 57 $(gen)/calls-%.S: $(syscall) $(systbl) FORCE
|
/arch/sh/kernel/vsyscall/ |
D | Makefile | 2 obj-y += vsyscall.o vsyscall-syscall.o vsyscall-syms.o 4 $(obj)/vsyscall-syscall.o: \ 24 $(call if_changed,syscall) 32 $(call if_changed,syscall)
|
/arch/s390/kernel/ |
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/sparc/kernel/ |
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/powerpc/kernel/ |
D | audit.c | 41 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 46 return ppc32_classify_syscall(syscall); in audit_classify_syscall() 48 switch(syscall) { in audit_classify_syscall()
|