/arch/um/sys-i386/shared/sysdep/ |
D | stub.h | 23 static inline long stub_syscall0(long syscall) in stub_syscall0() argument 27 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall)); in stub_syscall0() 32 static inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument 36 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)); in stub_syscall1() 41 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 45 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2() 51 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 55 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3() 61 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 66 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4() [all …]
|
D | syscalls.h | 20 #define EXECUTE_SYSCALL(syscall, regs) \ argument 22 (*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs))
|
/arch/um/sys-x86_64/shared/sysdep/ |
D | stub.h | 26 static inline long stub_syscall0(long syscall) in stub_syscall0() argument 32 : "0" (syscall) : __syscall_clobber ); in stub_syscall0() 37 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 43 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 48 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 54 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 60 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 67 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 74 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 81 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
|
D | syscalls.h | 18 #define EXECUTE_SYSCALL(syscall, regs) \ argument 20 (*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 | 62 unsigned long * syscall; in do_syscall_stub() local 99 syscall = (unsigned long *)((unsigned long)data + data[0]); in do_syscall_stub() 102 syscall[0], ret, syscall[7]); in do_syscall_stub() 105 syscall[1], syscall[2], syscall[3], in do_syscall_stub() 106 syscall[4], syscall[5], syscall[6]); in do_syscall_stub() 125 long run_syscall_stub(struct mm_id * mm_idp, int syscall, in run_syscall_stub() argument 137 *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/arm/kernel/ |
D | entry-header.S | 20 @ the addition of 8 bytes for storing syscall args 5 and 6. 63 scno .req r7 @ syscall number 64 tbl .req r8 @ syscall table pointer 65 why .req r8 @ Linux syscall (!= 0)
|
D | entry-common.S | 88 ldr r1, [tsk, #TI_FLAGS] @ check for syscall tracing 245 adr tbl, sys_call_table @ load syscall table pointer 246 ldr ip, [tsk, #TI_FLAGS] @ check for syscall tracing 267 cmp scno, #NR_syscalls @ check upper syscall limit 272 2: mov why, #0 @ no longer a real syscall 290 mov scno, r0 @ syscall number (possibly new) 292 cmp scno, #NR_syscalls @ check upper syscall limit 319 #define OBSOLETE(syscall) sys_ni_syscall argument 321 #define OBSOLETE(syscall) syscall argument 333 @ r0 = syscall number [all …]
|
/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/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/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/ia64/kernel/ |
D | audit.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/x86/kernel/ |
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/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/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/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/ia64/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/avr32/kernel/ |
D | signal.c | 226 sigset_t *oldset, struct pt_regs *regs, int syscall) in handle_signal() argument 263 int do_signal(struct pt_regs *regs, sigset_t *oldset, int syscall) in do_signal() argument 283 if (syscall) { in do_signal() 312 handle_signal(signr, &ka, &info, oldset, regs, syscall); in do_signal() 318 int syscall = 0; in do_notify_resume() local 321 syscall = 1; in do_notify_resume() 324 do_signal(regs, ¤t->blocked, syscall); in do_notify_resume()
|
/arch/mn10300/kernel/ |
D | kernel_execve.S | 23 # On return: D0: syscall return. 33 syscall 0
|
/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), \
|