Lines Matching refs:current

145 	if (kexec_should_crash(current))  in die_will_crash()
148 !current->pid || is_global_init(current)) in die_will_crash()
229 if (kexec_should_crash(current)) in oops_end()
241 if (in_interrupt() || panic_on_oops || !current->pid || in oops_end()
242 is_global_init(current)) { in oops_end()
318 if (!unhandled_signal(current, signr)) in show_signal_msg()
325 current->comm, current->pid, signame(signr), signr, in show_signal_msg()
354 current->thread.trap_nr = code; in exception_common()
579 #define single_stepping(regs) (current->thread.debug.dbcr0 & DBCR0_IC)
580 #define clear_single_step(regs) (current->thread.debug.dbcr0 &= ~DBCR0_IC)
889 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu()
896 flush_vsx_to_thread(current); in p9_hmi_special_emu()
910 vdst = (u8 *)&current->thread.vr_state.vr[t]; in p9_hmi_special_emu()
912 vdst = (u8 *)&current->thread.fp_state.fpr[t][0]; in p9_hmi_special_emu()
924 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu()
939 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu()
946 smp_processor_id(), current->comm, current->pid, regs->nip, in p9_hmi_special_emu()
965 smp_processor_id(), current->comm, current->pid, in p9_hmi_special_emu()
1182 flush_fp_to_thread(current); in parse_fpe()
1185 code = __parse_fpscr(current->thread.fp_state.fpscr); in parse_fpe()
1414 current->thread.dscr = regs->gpr[rd]; in emulate_instruction()
1415 current->thread.dscr_inherit = 1; in emulate_instruction()
1416 mtspr(SPRN_DSCR, current->thread.dscr); in emulate_instruction()
1444 code = __parse_fpscr(current->thread.fp_state.fpscr); in emulate_math()
1612 if (!(current->thread.align_ctl & PR_UNALIGN_SIGBUS)) in DEFINE_INTERRUPT_HANDLER()
1682 current->thread.load_tm++; in tm_unavailable()
1685 tm_restore_sprs(&current->thread); in tm_unavailable()
1762 current->thread.dscr = regs->gpr[rd]; in DEFINE_INTERRUPT_HANDLER()
1763 current->thread.dscr_inherit = 1; in DEFINE_INTERRUPT_HANDLER()
1764 current->thread.fscr |= FSCR_DSCR; in DEFINE_INTERRUPT_HANDLER()
1765 mtspr(SPRN_FSCR, current->thread.fscr); in DEFINE_INTERRUPT_HANDLER()
1837 current->thread.load_fp = 1; in DEFINE_INTERRUPT_HANDLER()
1842 tm_recheckpoint(&current->thread); in DEFINE_INTERRUPT_HANDLER()
1855 current->thread.load_vec = 1; in DEFINE_INTERRUPT_HANDLER()
1856 tm_recheckpoint(&current->thread); in DEFINE_INTERRUPT_HANDLER()
1857 current->thread.used_vr = 1; in DEFINE_INTERRUPT_HANDLER()
1873 current->thread.used_vsr = 1; in DEFINE_INTERRUPT_HANDLER()
1878 current->thread.load_vec = 1; in DEFINE_INTERRUPT_HANDLER()
1879 current->thread.load_fp = 1; in DEFINE_INTERRUPT_HANDLER()
1881 tm_recheckpoint(&current->thread); in DEFINE_INTERRUPT_HANDLER()
1930 dbcr_dac(current) &= ~(DBCR_DAC1R | DBCR_DAC1W); in handle_debug()
1932 current->thread.debug.dbcr2 &= ~DBCR2_DAC12MODE; in handle_debug()
1938 dbcr_dac(current) &= ~(DBCR_DAC2R | DBCR_DAC2W); in handle_debug()
1943 current->thread.debug.dbcr0 &= ~DBCR0_IAC1; in handle_debug()
1944 dbcr_iac_range(current) &= ~DBCR_IAC12MODE; in handle_debug()
1949 current->thread.debug.dbcr0 &= ~DBCR0_IAC2; in handle_debug()
1954 current->thread.debug.dbcr0 &= ~DBCR0_IAC3; in handle_debug()
1955 dbcr_iac_range(current) &= ~DBCR_IAC34MODE; in handle_debug()
1960 current->thread.debug.dbcr0 &= ~DBCR0_IAC4; in handle_debug()
1970 if (DBCR_ACTIVE_EVENTS(current->thread.debug.dbcr0, in handle_debug()
1971 current->thread.debug.dbcr1)) in handle_debug()
1975 current->thread.debug.dbcr0 &= ~DBCR0_IDM; in handle_debug()
1978 mtspr(SPRN_DBCR0, current->thread.debug.dbcr0); in handle_debug()
1985 current->thread.debug.dbsr = debug_status; in DEFINE_INTERRUPT_HANDLER()
2002 current->thread.debug.dbcr0 &= ~DBCR0_BT; in DEFINE_INTERRUPT_HANDLER()
2003 current->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in DEFINE_INTERRUPT_HANDLER()
2037 current->thread.debug.dbcr0 &= ~DBCR0_IC; in DEFINE_INTERRUPT_HANDLER()
2038 if (DBCR_ACTIVE_EVENTS(current->thread.debug.dbcr0, in DEFINE_INTERRUPT_HANDLER()
2039 current->thread.debug.dbcr1)) in DEFINE_INTERRUPT_HANDLER()
2043 current->thread.debug.dbcr0 &= ~DBCR0_IDM; in DEFINE_INTERRUPT_HANDLER()
2063 flush_altivec_to_thread(current); in DEFINE_INTERRUPT_HANDLER()
2080 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2081 current->thread.vr_state.vscr.u[3] |= 0x10000; in DEFINE_INTERRUPT_HANDLER()
2112 flush_spe_to_thread(current); in DEFINE_INTERRUPT_HANDLER()
2114 spefscr = current->thread.spefscr; in DEFINE_INTERRUPT_HANDLER()
2115 fpexc_mode = current->thread.fpexc_mode; in DEFINE_INTERRUPT_HANDLER()
2144 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2161 giveup_spe(current); in DEFINE_INTERRUPT_HANDLER()
2178 "in %s at %lx\n", current->comm, regs->nip); in DEFINE_INTERRUPT_HANDLER()
2274 pr_warn_ratelimited("%s used emulated %s instruction\n", current->comm, in ppc_warn_emulated_print()