Home
last modified time | relevance | path

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

/linux-5.19.10/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.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-5.19.10/arch/arm/kernel/
Dentry-common.S105 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
233 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
234 USER( ldreq scno, [saved_pc, #-4] )
238 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
257 streq scno, [tsk, #TI_ABI_SYSCALL]
258 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
261 bic scno, scno, #0xff000000 @ mask off SWI op-code
262 str scno, [tsk, #TI_ABI_SYSCALL]
263 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
265 str scno, [tsk, #TI_ABI_SYSCALL]
[all …]
Dptrace.c854 int scno; in syscall_trace_enter() local
869 scno = syscall_get_nr(current, regs); in syscall_trace_enter()
872 trace_sys_enter(regs, scno); in syscall_trace_enter()
874 audit_syscall_entry(scno, regs->ARM_r0, regs->ARM_r1, regs->ARM_r2, in syscall_trace_enter()
877 return scno; in syscall_trace_enter()
Dentry-header.S427 scno .req r7 @ syscall number label