Home
last modified time | relevance | path

Searched refs:cp0_status (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/kernel/
Dkprobes.c177 kcb->kprobe_saved_SR = kcb->kprobe_old_SR = (regs->cp0_status & ST0_IE); in set_current_kprobe()
233 regs->cp0_status &= ~ST0_IE; in prepare_singlestep()
295 regs->cp0_status &= ~ST0_IE; in kprobe_handler()
296 regs->cp0_status |= kcb->kprobe_saved_SR; in kprobe_handler()
387 regs->cp0_status |= kcb->kprobe_saved_SR; in post_kprobe_handler()
411 regs->cp0_status |= kcb->kprobe_old_SR; in kprobe_fault_handler()
Dprocess.c72 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread()
74 regs->cp0_status = status; in start_thread()
137 p->thread.cp0_status = (read_c0_status() & ~(ST0_CU2|ST0_CU1)) | ST0_KERNEL_CUMASK; in copy_thread()
140 unsigned long status = p->thread.cp0_status; in copy_thread()
153 childregs->cp0_status = status; in copy_thread()
172 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
871 uregs[MIPS32_EF_CP0_STATUS] = regs->cp0_status; in mips_dump_regs32()
893 uregs[MIPS64_EF_CP0_STATUS] = regs->cp0_status; in mips_dump_regs64()
Dkgdb.c89 { "sr", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_status) },
143 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg()
177 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
269 *(ptr++) = p->thread.cp0_status; in sleeping_thread_to_gdb_regs()
Dtraps.c206 regs.cp0_status = KSU_KERNEL; in show_stack()
292 printk("Status: %08x ", (uint32_t) regs->cp0_status); in __show_regs()
295 if (regs->cp0_status & ST0_KUO) in __show_regs()
297 if (regs->cp0_status & ST0_IEO) in __show_regs()
299 if (regs->cp0_status & ST0_KUP) in __show_regs()
301 if (regs->cp0_status & ST0_IEP) in __show_regs()
303 if (regs->cp0_status & ST0_KUC) in __show_regs()
305 if (regs->cp0_status & ST0_IEC) in __show_regs()
308 if (regs->cp0_status & ST0_KX) in __show_regs()
310 if (regs->cp0_status & ST0_SX) in __show_regs()
[all …]
Dasm-offsets.c68 OFFSET(PT_STATUS, pt_regs, cp0_status); in output_ptreg_defines()
125 thread.cp0_status); in output_thread_defines()
Dptrace.c84 __put_user((long)regs->cp0_status, (__s64 __user *)&data->cp0_status); in ptrace_getregs()
889 REG_OFFSET_NAME(c0_status, cp0_status),
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dprocessor.h253 unsigned long cp0_status; member
334 .cp0_status = 0, \
388 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
Dptrace.h38 unsigned long cp0_status; member
141 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER)
/kernel/linux/linux-5.10/samples/kprobes/
Dkprobe_example.c40 p->symbol_name, p->addr, regs->cp0_epc, regs->cp0_status); in handler_pre()
70 p->symbol_name, p->addr, regs->cp0_status); in handler_post()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dptrace.h39 __u64 cp0_status; member
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dptrace.h46 __u64 cp0_status; member
/kernel/linux/linux-5.10/drivers/watchdog/
Docteon-wdt-main.c217 u64 cp0_status = read_c0_status(); in octeon_wdt_nmi_stage3() local
243 octeon_wdt_write_hex(cp0_status, 16); in octeon_wdt_nmi_stage3()
/kernel/linux/linux-5.10/arch/mips/mti-malta/
Dmalta-int.c95 regs->cp0_epc, regs->cp0_status, in corehi_irqdispatch()
/kernel/linux/linux-5.10/arch/mips/kvm/
Dentry.c234 UASM_i_SW(&p, V0, offsetof(struct pt_regs, cp0_status), K1); in kvm_mips_build_vcpu_run()