Home
last modified time | relevance | path

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

/arch/arm/kernel/
Dentry-common.S81 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
192 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
193 USER( ldreq scno, [lr, #-4] )
197 USER( ldr scno, [lr, #-4] ) @ get SWI instruction
212 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
215 bic scno, scno, #0xff000000 @ mask off SWI op-code
216 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
226 invoke_syscall tbl, scno, r10, ret_fast_syscall
229 2: cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)
230 eor r0, scno, #__NR_SYSCALL_BASE @ put OS number back
[all …]
Dptrace.c931 asmlinkage int syscall_trace_enter(struct pt_regs *regs, int scno) in syscall_trace_enter() argument
933 current_thread_info()->syscall = scno; in syscall_trace_enter()
941 secure_computing_strict(scno); in syscall_trace_enter()
947 scno = current_thread_info()->syscall; in syscall_trace_enter()
950 trace_sys_enter(regs, scno); in syscall_trace_enter()
952 audit_syscall_entry(scno, regs->ARM_r0, regs->ARM_r1, regs->ARM_r2, in syscall_trace_enter()
955 return scno; in syscall_trace_enter()
Dentry-header.S411 scno .req r7 @ syscall number label
/arch/unicore32/kernel/
Dptrace.c115 asmlinkage int syscall_trace(int why, struct pt_regs *regs, int scno) in syscall_trace() argument
120 return scno; in syscall_trace()
122 return scno; in syscall_trace()
131 current_thread_info()->syscall = scno; in syscall_trace()
Dentry.S136 scno .req r21 @ syscall number label
608 ldw.u scno, [ip] @ get SWI instruction
620 andn scno, scno, #0xff000000 @ mask off SWI op-code
621 andn scno, scno, #0x00ff0000 @ mask off SWI op-code
628 csub.a scno, #__NR_syscalls @ check upper syscall limit
631 ldw pc, [tbl+], scno << #2 @ call sys_* routine
642 mov r2, scno
648 mov scno, r0 @ syscall number (possibly new)
650 csub.a scno, #__NR_syscalls @ check upper syscall limit
653 ldw pc, [tbl+], scno << #2 @ call sys_* routine
[all …]
/arch/arm64/kernel/
Dentry.S359 scno .req x26 // syscall number label
656 uxtw scno, w7 // syscall number in w7 (r7)
894 uxtw scno, w8 // syscall number in w8
897 stp x0, scno, [sp, #S_ORIG_X0] // save the original x0 and syscall number
908 cmp scno, sc_nr // check upper syscall limit
910 ldr x16, [stbl, scno, lsl #3] // address in the syscall table
925 cmp scno, x0 // user-issued syscall(-1)
933 uxtw scno, w0 // syscall number (possibly new)
935 cmp scno, sc_nr // check upper syscall limit
941 ldr x16, [stbl, scno, lsl #3] // address in the syscall table