Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/kernel/
Dsyscall.c17 long compat_arm_syscall(struct pt_regs *regs, int scno);
20 static long do_ni_syscall(struct pt_regs *regs, int scno) in do_ni_syscall() argument
25 ret = compat_arm_syscall(regs, scno); in do_ni_syscall()
39 static void invoke_syscall(struct pt_regs *regs, unsigned int scno, in invoke_syscall() argument
45 if (scno < sc_nr) { in invoke_syscall()
47 syscall_fn = syscall_table[array_index_nospec(scno, sc_nr)]; in invoke_syscall()
50 ret = do_ni_syscall(regs, scno); in invoke_syscall()
96 static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr, in el0_svc_common() argument
102 regs->syscallno = scno; in el0_svc_common()
151 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()
118 SIGILL, ILL_ILLTRP, addr, scno); in compat_arm_syscall()
/Linux-v5.10/arch/arm/kernel/
Dentry-common.S109 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
215 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
216 USER( ldreq scno, [saved_pc, #-4] )
220 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
237 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
240 bic scno, scno, #0xff000000 @ mask off SWI op-code
241 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
257 invoke_syscall tbl, scno, r10, __ret_fast_syscall
260 2: cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)
261 eor r0, scno, #__NR_SYSCALL_BASE @ put OS number back
[all …]
Dptrace.c888 asmlinkage int syscall_trace_enter(struct pt_regs *regs, int scno) in syscall_trace_enter() argument
890 current_thread_info()->syscall = scno; in syscall_trace_enter()
905 scno = current_thread_info()->syscall; in syscall_trace_enter()
908 trace_sys_enter(regs, scno); in syscall_trace_enter()
910 audit_syscall_entry(scno, regs->ARM_r0, regs->ARM_r1, regs->ARM_r2, in syscall_trace_enter()
913 return scno; in syscall_trace_enter()
Dentry-header.S414 scno .req r7 @ syscall number label