Home
last modified time | relevance | path

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

/arch/arm/kernel/
Dentry-common.S61 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
403 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
404 USER( ldreq scno, [lr, #-4] )
408 USER( ldr scno, [lr, #-4] ) @ get SWI instruction
423 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
426 bic scno, scno, #0xff000000 @ mask off SWI op-code
427 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
437 cmp scno, #NR_syscalls @ check upper syscall limit
439 ldrcc pc, [tbl, scno, lsl #2] @ call sys_* routine
442 2: cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)
[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.S380 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.S295 scno .req x26 // syscall number label
578 uxtw scno, w7 // syscall number in w7 (r7)
804 uxtw scno, w8 // syscall number in w8
807 stp x0, scno, [sp, #S_ORIG_X0] // save the original x0 and syscall number
814 cmp scno, sc_nr // check upper syscall limit
816 ldr x16, [stbl, scno, lsl #3] // address in the syscall table
831 cmp scno, x0 // user-issued syscall(-1)
839 uxtw scno, w0 // syscall number (possibly new)
841 cmp scno, sc_nr // check upper syscall limit
847 ldr x16, [stbl, scno, lsl #3] // address in the syscall table