Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/arch/riscv/mm/
H A Dfault.c318 tsk->thread.bad_cause = cause; in handle_page_fault()
349 tsk->thread.bad_cause = cause; in handle_page_fault()
376 tsk->thread.bad_cause = cause; in handle_page_fault()
388 tsk->thread.bad_cause = cause; in handle_page_fault()
430 tsk->thread.bad_cause = cause; in handle_page_fault()
/linux-6.15/arch/riscv/include/asm/
H A Dprocessor.h104 unsigned long bad_cause; member
/linux-6.15/arch/riscv/kernel/
H A Dtraps.c134 current->thread.bad_cause = regs->cause; in do_trap_error()
291 current->thread.bad_cause = regs->cause; in handle_break()