Lines Matching refs:cause
53 if (kfence_handle_page_fault(addr, regs->cause == EXC_STORE_PAGE_FAULT, regs))
94 /* User mode accesses just cause a SIGSEGV */
122 /* User mode accesses just cause a SIGSEGV */
193 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma)
195 switch (cause) {
213 panic("%s: unhandled cause %lu", __func__, cause);
227 unsigned long addr, cause;
232 cause = regs->cause;
238 if (kprobe_page_fault(regs, cause))
265 tsk->thread.bad_cause = cause;
282 if (cause == EXC_STORE_PAGE_FAULT)
284 else if (cause == EXC_INST_PAGE_FAULT)
293 if (unlikely(access_error(cause, vma))) {
318 tsk->thread.bad_cause = cause;
329 if (unlikely(access_error(cause, vma))) {
330 tsk->thread.bad_cause = cause;
372 tsk->thread.bad_cause = cause;