Lines Matching refs:scno
109 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
288 mov r1, scno
291 mov scno, r0
292 invoke_syscall tbl, scno, r10, __sys_trace_return, reload=1
293 cmp scno, #-1 @ skip the syscall?
366 bic scno, r0, #__NR_OABI_SYSCALL_BASE
367 cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
368 cmpne scno, #NR_syscalls @ check range
370 movhs scno, #0
378 ldrlo pc, [tbl, scno, lsl #2]