/linux-6.1.9/arch/arm/include/asm/ |
D | ptrace.h | 27 (((regs)->ARM_cpsr & 0xf) == 0) 31 (((regs)->ARM_cpsr & PSR_T_BIT)) 38 ((((regs)->ARM_cpsr & PSR_J_BIT) >> (__ffs(PSR_J_BIT) - 1)) | \ 39 (((regs)->ARM_cpsr & PSR_T_BIT) >> (__ffs(PSR_T_BIT)))) 45 ((regs)->ARM_cpsr & MODE_MASK) 48 (!((regs)->ARM_cpsr & PSR_I_BIT)) 51 (!((regs)->ARM_cpsr & PSR_F_BIT)) 59 unsigned long mode = regs->ARM_cpsr & MODE_MASK; in valid_user_regs() 64 regs->ARM_cpsr &= ~(PSR_F_BIT | PSR_A_BIT); in valid_user_regs() 66 if ((regs->ARM_cpsr & PSR_I_BIT) == 0) { in valid_user_regs() [all …]
|
D | processor.h | 71 regs->ARM_cpsr = USR_MODE; \ 73 regs->ARM_cpsr = USR26_MODE; \ 75 regs->ARM_cpsr |= PSR_T_BIT; \ 76 regs->ARM_cpsr |= PSR_ENDSTATE; \
|
D | perf_event.h | 22 (regs)->ARM_cpsr = SVC_MODE; \
|
D | kexec.h | 50 [_ARM_cpsr] "=r" (newregs->ARM_cpsr), in crash_setup_regs()
|
/linux-6.1.9/arch/arm/probes/kprobes/ |
D | actions-arm.c | 170 unsigned long cpsr = regs->ARM_cpsr; in emulate_rd12rn16rm0rs8_rwflags() 186 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rd12rn16rm0rs8_rwflags() 200 unsigned long cpsr = regs->ARM_cpsr; in emulate_rd12rn16rm0_rwflags_nopc() 213 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rd12rn16rm0_rwflags_nopc() 230 unsigned long cpsr = regs->ARM_cpsr; in emulate_rd16rn12rm0rs8_rwflags_nopc() 243 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rd16rn12rm0rs8_rwflags_nopc() 280 unsigned long cpsr = regs->ARM_cpsr; in emulate_rdlo12rdhi16rn0rm8_rwflags_nopc() 294 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in emulate_rdlo12rdhi16rn0rm8_rwflags_nopc()
|
D | actions-thumb.c | 49 regs->uregs[rd] = regs->ARM_cpsr & mask; in t32_simulate_mrs() 97 regs->ARM_cpsr &= ~PSR_T_BIT; in t32_simulate_branch() 221 unsigned long cpsr = regs->ARM_cpsr; in t32_emulate_rd8rn16rm0_rwflags() 234 regs->ARM_cpsr = (regs->ARM_cpsr & ~APSR_MASK) | (cpsr & APSR_MASK); in t32_emulate_rd8rn16rm0_rwflags() 388 unsigned long cpsr = regs->ARM_cpsr; in t16_simulate_it() 392 regs->ARM_cpsr = cpsr; in t16_simulate_it() 445 unsigned long oldcpsr = regs->ARM_cpsr; in t16_emulate_loregs() 470 regs->ARM_cpsr = t16_emulate_loregs(insn, asi, regs); in t16_emulate_loregs_rwflags() 479 regs->ARM_cpsr = cpsr; in t16_emulate_loregs_noitrwflags() 492 unsigned long cpsr = regs->ARM_cpsr; in t16_emulate_hiregs() [all …]
|
D | core.c | 213 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in singlestep_skip() 259 if (!p->ainsn.insn_check_cc(regs->ARM_cpsr)) { in kprobe_handler()
|
D | test-core.c | 1122 regs->ARM_cpsr &= ~(APSR_MASK | PSR_IT_MASK); in setup_test_context() 1123 regs->ARM_cpsr |= test_context_cpsr(scenario); in setup_test_context() 1147 regs->ARM_cpsr |= PSR_I_BIT; in setup_test_context() 1203 initial_regs.ARM_cpsr &= ~PSR_IGNORE_BITS; in test_before_post_handler() 1224 result_regs.ARM_cpsr &= ~PSR_IGNORE_BITS; in test_after_pre_handler() 1235 regs->ARM_cpsr &= ~PSR_I_BIT; in test_after_pre_handler() 1276 pr_err("cpsr %08lx\n", regs->ARM_cpsr); in print_registers()
|
/linux-6.1.9/arch/arm/probes/ |
D | decode-thumb.c | 849 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in thumb16_singlestep() 858 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in thumb32_singlestep()
|
D | decode-arm.c | 73 regs->ARM_cpsr |= PSR_T_BIT; in simulate_blx1() 86 regs->ARM_cpsr &= ~PSR_T_BIT; in simulate_blx2bx() 88 regs->ARM_cpsr |= PSR_T_BIT; in simulate_blx2bx() 96 regs->uregs[rd] = regs->ARM_cpsr & mask; in simulate_mrs()
|
D | decode.h | 41 long cpsr = regs->ARM_cpsr; in bx_write_pc() 49 regs->ARM_cpsr = cpsr; in bx_write_pc()
|
/linux-6.1.9/arch/arm/kernel/ |
D | process.c | 140 regs->ARM_pc, regs->ARM_lr, regs->ARM_cpsr); in __show_regs() 153 flags = regs->ARM_cpsr; in __show_regs() 177 printk("xPSR: %08lx\n", regs->ARM_cpsr); in __show_regs() 266 childregs->ARM_cpsr = SVC_MODE; in copy_thread()
|
D | signal.c | 168 regs->ARM_cpsr = context.arm_cpsr; in restore_sigframe() 273 .arm_cpsr = regs->ARM_cpsr, in setup_sigframe() 327 unsigned long cpsr = regs->ARM_cpsr & ~(PSR_f | PSR_E_BIT); in setup_return() 440 regs->ARM_cpsr = cpsr; in setup_return()
|
D | traps.c | 441 (regs->ARM_cpsr & hook->cpsr_mask) == hook->cpsr_val) in call_undef_hook() 641 regs->ARM_cpsr &= ~MODE32_BIT; in arm_syscall() 647 regs->ARM_cpsr |= MODE32_BIT; in arm_syscall()
|
D | swp_emulate.c | 166 res = arm_check_condition(instr, regs->ARM_cpsr); in swp_handler()
|
D | kgdb.c | 48 { "cpsr", 4, offsetof(struct pt_regs, ARM_cpsr)},
|
D | asm-offsets.c | 82 DEFINE(S_PSR, offsetof(struct pt_regs, ARM_cpsr)); in main()
|
/linux-6.1.9/samples/kprobes/ |
D | kprobe_example.c | 48 p->symbol_name, p->addr, (long)regs->ARM_pc, (long)regs->ARM_cpsr); in handler_pre() 85 p->symbol_name, p->addr, (long)regs->ARM_cpsr); in handler_post()
|
/linux-6.1.9/arch/arm/mm/ |
D | extable.c | 17 regs->ARM_cpsr &= ~PSR_IT_MASK; in fixup_exception()
|
D | alignment.c | 901 if (regs->ARM_cpsr & PSR_C_BIT) in do_alignment() 939 regs->ARM_cpsr = it_advance(regs->ARM_cpsr); in do_alignment()
|
/linux-6.1.9/arch/arm/include/asm/xen/ |
D | events.h | 17 return raw_irqs_disabled_flags(regs->ARM_cpsr); in xen_irqs_disabled()
|
/linux-6.1.9/arch/arm/nwfpe/ |
D | fpmodule.inl | 72 rval = regs->ARM_cpsr & ~CC_MASK; 73 regs->ARM_cpsr = rval | (val & CC_MASK);
|
/linux-6.1.9/arch/arm/include/uapi/asm/ |
D | ptrace.h | 135 #define ARM_cpsr uregs[16] macro
|
/linux-6.1.9/arch/arm/probes/uprobes/ |
D | core.c | 38 if (!auprobe->asi.insn_check_cc(regs->ARM_cpsr)) { in arch_uprobe_ignore()
|