Home
last modified time | relevance | path

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

/linux/arch/arm64/kernel/
H A 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
25 long ret = compat_arm_syscall(regs, scno); in do_ni_syscall()
38 static void invoke_syscall(struct pt_regs *regs, unsigned int scno, in invoke_syscall() argument
46 if (scno < sc_nr) { in invoke_syscall()
48 syscall_fn = syscall_table[array_index_nospec(scno, sc_nr)]; in invoke_syscall()
51 ret = do_ni_syscall(regs, scno); in invoke_syscall()
73 static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr, in el0_svc_common() argument
79 regs->syscallno = scno; in el0_svc_common()
125 if (scno == NO_SYSCALL) in el0_svc_common()
[all …]
H A Dsys_compat.c68 long compat_arm_syscall(struct pt_regs *regs, int scno) in compat_arm_syscall() argument
72 switch (scno) { in compat_arm_syscall()
108 if (scno < __ARM_NR_COMPAT_END) in compat_arm_syscall()
/linux/arch/arm/kernel/
H A Dentry-common.S92 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
93 str scno, [tsk, #TI_ABI_SYSCALL] @ make sure tracers see update
222 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
223 USER( ldreq scno, [saved_pc, #-4] )
227 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
246 streq scno, [tsk, #TI_ABI_SYSCALL]
247 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
250 bic scno, scno, #0xff000000 @ mask off SWI op-code
251 str scno, [tsk, #TI_ABI_SYSCALL]
252 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
[all …]
H A Dptrace.c851 int scno; in syscall_trace_enter() local
866 scno = syscall_get_nr(current, regs); in syscall_trace_enter()
869 trace_sys_enter(regs, scno); in syscall_trace_enter()
871 audit_syscall_entry(scno, regs->ARM_r0, regs->ARM_r1, regs->ARM_r2, in syscall_trace_enter()
874 return scno; in syscall_trace_enter()
H A Dentry-header.S427 scno .req r7 @ syscall number label
/linux/arch/arm64/include/asm/
H A Dcompat.h99 long compat_arm_syscall(struct pt_regs *regs, int scno);