Home
last modified time | relevance | path

Searched refs:bad_cause (Results 1 – 4 of 4) sorted by relevance

/linux/arch/riscv/kernel/probes/
H A Duprobes.c63 utask->autask.saved_cause = current->thread.bad_cause; in arch_uprobe_pre_xol()
64 current->thread.bad_cause = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
75 WARN_ON_ONCE(current->thread.bad_cause != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
76 current->thread.bad_cause = utask->autask.saved_cause; in arch_uprobe_post_xol()
85 if (t->thread.bad_cause != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
112 current->thread.bad_cause = utask->autask.saved_cause; in arch_uprobe_abort_xol()
/linux/arch/riscv/mm/
H A Dfault.c326 tsk->thread.bad_cause = cause; in handle_page_fault()
357 tsk->thread.bad_cause = cause; in handle_page_fault()
384 tsk->thread.bad_cause = cause; in handle_page_fault()
396 tsk->thread.bad_cause = cause; in handle_page_fault()
438 tsk->thread.bad_cause = cause; in handle_page_fault()
/linux/arch/riscv/kernel/
H A Dtraps.c135 current->thread.bad_cause = regs->cause; in do_trap_error()
289 current->thread.bad_cause = regs->cause; in handle_break()
/linux/arch/riscv/include/asm/
H A Dprocessor.h112 unsigned long bad_cause; member