Lines Matching full:cause
53 if (kfence_handle_page_fault(addr, regs->cause == EXC_STORE_PAGE_FAULT, regs)) in no_context()
94 /* User mode accesses just cause a SIGSEGV */ in bad_area_nosemaphore()
122 /* User mode accesses just cause a SIGSEGV */ in vmalloc_fault()
193 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) in access_error() argument
195 switch (cause) { in access_error()
213 panic("%s: unhandled cause %lu", __func__, cause); in access_error()
227 unsigned long addr, cause; in handle_page_fault() local
232 cause = regs->cause; in handle_page_fault()
238 if (kprobe_page_fault(regs, cause)) in handle_page_fault()
265 tsk->thread.bad_cause = cause; in handle_page_fault()
282 if (cause == EXC_STORE_PAGE_FAULT) in handle_page_fault()
284 else if (cause == EXC_INST_PAGE_FAULT) in handle_page_fault()
293 if (unlikely(access_error(cause, vma))) { in handle_page_fault()
320 tsk->thread.bad_cause = cause; in handle_page_fault()
331 if (unlikely(access_error(cause, vma))) { in handle_page_fault()
332 tsk->thread.bad_cause = cause; in handle_page_fault()
374 tsk->thread.bad_cause = cause; in handle_page_fault()