Lines Matching refs:scno
92 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
93 str scno, [tsk, #TI_ABI_SYSCALL] @ make sure tracers see update
217 * Pure EABI user space always put syscall number into scno (r7).
222 addne scno, r7, #__NR_SYSCALL_BASE @ put OS number in
223 USER( ldreq scno, [saved_pc, #-4] )
227 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
241 * If this is an old ABI call, get the syscall number into scno and
246 streq scno, [tsk, #TI_ABI_SYSCALL]
247 eorne scno, r10, #__NR_OABI_SYSCALL_BASE
250 bic scno, scno, #0xff000000 @ mask off SWI op-code
251 str scno, [tsk, #TI_ABI_SYSCALL]
252 eor scno, scno, #__NR_SYSCALL_BASE @ check OS number
254 str scno, [tsk, #TI_ABI_SYSCALL]
269 invoke_syscall tbl, scno, r10, __ret_fast_syscall
272 2: cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)
273 eor r0, scno, #__NR_SYSCALL_BASE @ put OS number back
303 mov scno, r0
304 invoke_syscall tbl, scno, r10, __sys_trace_return, reload=1
305 cmp scno, #-1 @ skip the syscall?
369 bic scno, r0, #__NR_OABI_SYSCALL_BASE
370 cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
371 cmpne scno, #NR_syscalls @ check range
373 movhs scno, #0
381 ldrlo pc, [tbl, scno, lsl #2]