Lines Matching +full:sub +full:- +full:units

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/kernel/entry-common.S
14 #include <asm/unistd-oabi.h>
19 #include "entry-header.S"
37 * have tracing, context tracking and rseq debug disabled - the overheads
45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing
81 /* Slower path - fall through to work_pending */
92 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE)
94 ldmia sp, {r0 - r6} @ have to reload r0 - r6
144 *-----------------------------------------------------------------------------
150 sub sp, sp, #PT_REGS_SIZE
151 stmia sp, {r0 - r12}
163 sub sp, sp, #PT_REGS_SIZE
164 stmia sp, {r0 - r12}
175 sub sp, sp, #PT_REGS_SIZE
176 stmia sp, {r0 - r12} @ Calling r0 - r12
182 mrs saved_psr, spsr @ called from non-FIQ mode, so ok.
208 USER( ldreq r10, [saved_pc, #-4] ) @ get SWI instruction
210 USER( ldr r10, [saved_pc, #-4] ) @ get SWI instruction
223 USER( ldreq scno, [saved_pc, #-4] )
227 USER( ldr scno, [saved_pc, #-4] ) @ get SWI instruction
250 bic scno, scno, #0xff000000 @ mask off SWI op-code
260 TRACE( ldmia sp, {r0 - r3} )
272 2: cmp scno, #(__ARM_NR_BASE - __NR_SYSCALL_BASE)
282 * position to return -EFAULT. Instead, return back to the
283 * instruction and re-enter the user fault handling path trying
288 sub lr, saved_pc, #4
305 cmp scno, #-1 @ skip the syscall?
328 .ifgt __sys_nr - \nr
331 .rept \nr - __sys_nr
339 .ifgt __sys_nr - __NR_syscalls
342 .rept __NR_syscalls - __sys_nr
345 .size \sym, . - \sym
357 #include <calls-eabi.S>
359 #include <calls-oabi.S>
370 cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
410 * Note: off_4k (r5) is always units of 4K. If we can't do the requested
460 #include <calls-oabi.S>