Home
last modified time | relevance | path

Searched refs:syscall (Results 1 – 25 of 88) sorted by relevance

1234

/arch/x86/um/shared/sysdep/
Dstub_32.h15 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 …]
Dstub_64.h18 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()
Dsyscalls_32.h18 #define EXECUTE_SYSCALL(syscall, regs) \ argument
20 (*sys_call_table[syscall]))(SYSCALL_ARGS(&regs->regs))
Dsyscalls_64.h17 #define EXECUTE_SYSCALL(syscall, regs) \ argument
19 (*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(&regs->regs), \
/arch/um/kernel/skas/
Dsyscall.c19 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/
Dmem.c60 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/
Dkernel_thread.S39 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/
Dvsyscall_emu_64.S22 syscall
27 syscall
32 syscall
Daudit_64.c40 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/
Dspu_callbacks.c54 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/
Daudit.c41 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()
Dcompat_audit.c30 int s390_classify_syscall(unsigned syscall) in s390_classify_syscall() argument
32 switch(syscall) { in s390_classify_syscall()
/arch/sh/kernel/vsyscall/
DMakefile1 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/
Daudit.c40 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()
Dcompat_audit.c29 int ppc32_classify_syscall(unsigned syscall) in ppc32_classify_syscall() argument
31 switch(syscall) { in ppc32_classify_syscall()
/arch/sparc/kernel/
Daudit.c40 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()
Dcompat_audit.c29 int sparc32_classify_syscall(unsigned syscall) in sparc32_classify_syscall() argument
31 switch(syscall) { in sparc32_classify_syscall()
/arch/x86/ia32/
Daudit.c28 int ia32_classify_syscall(unsigned syscall) in ia32_classify_syscall() argument
30 switch (syscall) { in ia32_classify_syscall()
/arch/parisc/kernel/
Dsys32.h28 #define KERNEL_SYSCALL(ret, syscall, args...) \ argument
32 ret = syscall(args); \
/arch/ia64/kernel/
Daudit.c36 int audit_classify_syscall(int abi, unsigned syscall) in audit_classify_syscall() argument
38 switch(syscall) { in audit_classify_syscall()
/arch/mn10300/kernel/
Dkernel_execve.S23 # On return: D0: syscall return.
33 syscall 0
/arch/arm/kernel/
Dentry-common.S90 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/
Dsyscalls.h10 #define EXECUTE_SYSCALL(syscall, regs) \ argument
11 (*sys_call_table[syscall])(UM_SYSCALL_ARG1(&regs), \
/arch/c6x/kernel/
Dentry.S121 ;; 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/
Dstub_64.S6 syscall
54 syscall

1234