/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()
|
D | syscalls_32.h | 18 #define EXECUTE_SYSCALL(syscall, regs) \ argument 20 (*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs))
|
D | syscalls_64.h | 17 #define EXECUTE_SYSCALL(syscall, regs) \ argument 19 (*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(®s->regs), \
|
/arch/um/kernel/skas/ |
D | syscall.c | 19 int syscall; in handle_syscall() local 32 syscall = UPT_SYSCALL_NR(r); in handle_syscall() 33 if ((syscall >= NR_SYSCALLS) || (syscall < 0)) in handle_syscall() 35 else result = EXECUTE_SYSCALL(syscall, regs); in handle_syscall()
|
/arch/um/os-Linux/skas/ |
D | mem.c | 60 unsigned long * syscall; in do_syscall_stub() local 97 syscall = (unsigned long *)((unsigned long)data + data[0]); in do_syscall_stub() 100 syscall[0], ret, syscall[7]); in do_syscall_stub() 103 syscall[1], syscall[2], syscall[3], in do_syscall_stub() 104 syscall[4], syscall[5], syscall[6]); in do_syscall_stub() 123 long run_syscall_stub(struct mm_id * mm_idp, int syscall, in run_syscall_stub() argument 135 *stack++ = syscall; in run_syscall_stub()
|
/arch/frv/kernel/ |
D | kernel_thread.S | 39 setlos.p #__NR_clone,gr7 ; syscall number 40 ori gr10,#CLONE_VM,gr8 ; first syscall arg [clone_flags] 41 sethi.p #0xe4e4,gr9 ; second syscall arg [newsp] 43 setlos.p #0,gr10 ; third syscall arg [parent_tidptr] 44 setlos #0,gr11 ; fourth syscall arg [child_tidptr] 57 setlos #__NR_exit,gr7 ; syscall number
|
/arch/x86/kernel/ |
D | vsyscall_emu_64.S | 22 syscall 27 syscall 32 syscall
|
D | audit_64.c | 40 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 45 return ia32_classify_syscall(syscall); in audit_classify_syscall() 47 switch(syscall) { in audit_classify_syscall()
|
/arch/powerpc/platforms/cell/ |
D | spu_callbacks.c | 54 long (*syscall)(u64 a1, u64 a2, u64 a3, u64 a4, u64 a5, u64 a6); in spu_sys_callback() local 61 syscall = spu_syscall_table[s->nr_ret]; in spu_sys_callback() 64 print_symbol(KERN_DEBUG "SPU-syscall %s:", (unsigned long)syscall); in spu_sys_callback() 71 return syscall(s->parm[0], s->parm[1], s->parm[2], in spu_sys_callback()
|
/arch/s390/kernel/ |
D | audit.c | 41 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 45 return s390_classify_syscall(syscall); in audit_classify_syscall() 47 switch(syscall) { in audit_classify_syscall()
|
D | compat_audit.c | 30 int s390_classify_syscall(unsigned syscall) in s390_classify_syscall() argument 32 switch(syscall) { in s390_classify_syscall()
|
/arch/sh/kernel/vsyscall/ |
D | Makefile | 1 obj-y += vsyscall.o vsyscall-syscall.o 3 $(obj)/vsyscall-syscall.o: \ 24 $(call if_changed,syscall) 36 $(call if_changed,syscall)
|
/arch/powerpc/kernel/ |
D | audit.c | 40 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 45 return ppc32_classify_syscall(syscall); in audit_classify_syscall() 47 switch(syscall) { in audit_classify_syscall()
|
D | compat_audit.c | 29 int ppc32_classify_syscall(unsigned syscall) in ppc32_classify_syscall() argument 31 switch(syscall) { in ppc32_classify_syscall()
|
/arch/sparc/kernel/ |
D | audit.c | 40 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 45 return sparc32_classify_syscall(syscall); in audit_classify_syscall() 47 switch(syscall) { in audit_classify_syscall()
|
D | compat_audit.c | 29 int sparc32_classify_syscall(unsigned syscall) in sparc32_classify_syscall() argument 31 switch(syscall) { in sparc32_classify_syscall()
|
/arch/x86/ia32/ |
D | audit.c | 28 int ia32_classify_syscall(unsigned syscall) in ia32_classify_syscall() argument 30 switch (syscall) { in ia32_classify_syscall()
|
/arch/parisc/kernel/ |
D | sys32.h | 28 #define KERNEL_SYSCALL(ret, syscall, args...) \ argument 32 ret = syscall(args); \
|
/arch/ia64/kernel/ |
D | audit.c | 36 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument 38 switch(syscall) { in audit_classify_syscall()
|
/arch/mn10300/kernel/ |
D | kernel_execve.S | 23 # On return: D0: syscall return. 33 syscall 0
|
/arch/arm/kernel/ |
D | entry-common.S | 90 ldr r1, [tsk, #TI_FLAGS] @ check for syscall tracing 421 adr tbl, sys_call_table @ load syscall table pointer 439 ldr r10, [tsk, #TI_FLAGS] @ check for syscall tracing 450 cmp scno, #NR_syscalls @ check upper syscall limit 455 2: mov why, #0 @ no longer a real syscall 473 mov scno, r0 @ syscall number (possibly new) 475 cmp scno, #NR_syscalls @ check upper syscall limit 503 #define OBSOLETE(syscall) sys_ni_syscall argument 505 #define OBSOLETE(syscall) syscall argument 517 @ r0 = syscall number [all …]
|
/arch/um/sys-ppc/shared/sysdep/ |
D | syscalls.h | 10 #define EXECUTE_SYSCALL(syscall, regs) \ argument 11 (*sys_call_table[syscall])(UM_SYSCALL_ARG1(®s), \
|
/arch/c6x/kernel/ |
D | entry.S | 121 ;; a syscall. It is cleared here, but the syscall handler 124 STW .D2T2 B1,*+SP(REGS__END+8) ; clear syscall flag 204 ;; Called before syscall handler when process is being debugged 218 ;; tracing returns (possibly new) syscall number 226 ;; reload syscall args from (possibly modified) stack frame 227 ;; and get syscall handler addr from sys_call_table: 240 BNOP .S2 B0,5 ; branch to syscall handler 320 ;; B0 = syscall number (in sys_call_table) 321 ;; A4,B4,A6,B6,A8,B8 = arguments of the syscall function 326 STW .D2T2 B2,*+SP(REGS__END+8) ; set syscall flag [all …]
|
/arch/x86/um/ |
D | stub_64.S | 6 syscall 54 syscall
|