Home
last modified time | relevance | path

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

/Linux-v6.6/arch/arm64/kernel/
Dsyscall.c18 long compat_arm_syscall(struct pt_regs *regs, int scno);
21 static long do_ni_syscall(struct pt_regs *regs, int scno) in do_ni_syscall() argument
26 ret = compat_arm_syscall(regs, scno); in do_ni_syscall()
40 static void invoke_syscall(struct pt_regs *regs, unsigned int scno, in invoke_syscall() argument
48 if (scno < sc_nr) { in invoke_syscall()
50 syscall_fn = syscall_table[array_index_nospec(scno, sc_nr)]; in invoke_syscall()
53 ret = do_ni_syscall(regs, scno); in invoke_syscall()
77 static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr, in el0_svc_common() argument
83 regs->syscallno = scno; in el0_svc_common()
129 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-v6.6/arch/arm/kernel/
Dentry-common.S92 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
93 str scno, [tsk, #TI_ABI_SYSCALL] @ make sure tracers see update
219 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
220 USER( ldreq scno, [saved_pc, #-4] )
224 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
243 streq scno, [tsk, #TI_ABI_SYSCALL]
244 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
247 bic scno, scno, #0xff000000 @ mask off SWI op-code
248 str scno, [tsk, #TI_ABI_SYSCALL]
249 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
[all …]
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()
Dentry-header.S427 scno .req r7 @ syscall number label
/Linux-v6.6/arch/arm64/include/asm/
Dcompat.h99 long compat_arm_syscall(struct pt_regs *regs, int scno);