Home
last modified time | relevance | path

Searched refs:scno (Results 1 – 5 of 5) sorted by relevance

/arch/arm64/kernel/
Dsyscall.c19 long compat_arm_syscall(struct pt_regs *regs, int scno);
22 static long do_ni_syscall(struct pt_regs *regs, int scno) in do_ni_syscall() argument
27 ret = compat_arm_syscall(regs, scno); in do_ni_syscall()
41 static void invoke_syscall(struct pt_regs *regs, unsigned int scno, in invoke_syscall() argument
49 if (scno < sc_nr) { in invoke_syscall()
51 syscall_fn = syscall_table[array_index_nospec(scno, sc_nr)]; in invoke_syscall()
54 ret = do_ni_syscall(regs, scno); in invoke_syscall()
81 static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr, in el0_svc_common() argument
87 regs->syscallno = scno; in el0_svc_common()
135 if (scno == NO_SYSCALL) in el0_svc_common()
[all …]
Dsys_compat.c69 long compat_arm_syscall(struct pt_regs *regs, int scno) in compat_arm_syscall() argument
73 switch (scno) { in compat_arm_syscall()
109 if (scno < __ARM_NR_COMPAT_END) in compat_arm_syscall()
/arch/arm/kernel/
Dentry-common.S103 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
104 str scno, [tsk, #TI_ABI_SYSCALL] @ make sure tracers see update
231 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
232 USER( ldreq scno, [saved_pc, #-4] )
236 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
255 streq scno, [tsk, #TI_ABI_SYSCALL]
256 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
259 bic scno, scno, #0xff000000 @ mask off SWI op-code
260 str scno, [tsk, #TI_ABI_SYSCALL]
261 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
[all …]
Dptrace.c857 int scno; in syscall_trace_enter() local
872 scno = syscall_get_nr(current, regs); in syscall_trace_enter()
875 trace_sys_enter(regs, scno); in syscall_trace_enter()
877 audit_syscall_entry(scno, regs->ARM_r0, regs->ARM_r1, regs->ARM_r2, in syscall_trace_enter()
880 return scno; in syscall_trace_enter()
Dentry-header.S414 scno .req r7 @ syscall number label