Lines Matching full:cause
105 if (kfence_handle_page_fault(addr, regs->cause == EXC_STORE_PAGE_FAULT, regs)) in no_context()
147 /* User mode accesses just cause a SIGSEGV */ in bad_area_nosemaphore()
175 /* User mode accesses just cause a SIGSEGV */ in vmalloc_fault()
246 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) in access_error() argument
248 switch (cause) { in access_error()
266 panic("%s: unhandled cause %lu", __func__, cause); in access_error()
280 unsigned long addr, cause; in handle_page_fault() local
285 cause = regs->cause; in handle_page_fault()
291 if (kprobe_page_fault(regs, cause)) in handle_page_fault()
318 tsk->thread.bad_cause = cause; in handle_page_fault()
335 if (cause == EXC_STORE_PAGE_FAULT) in handle_page_fault()
337 else if (cause == EXC_INST_PAGE_FAULT) in handle_page_fault()
346 if (unlikely(access_error(cause, vma))) { in handle_page_fault()
349 tsk->thread.bad_cause = cause; in handle_page_fault()
376 tsk->thread.bad_cause = cause; in handle_page_fault()
387 if (unlikely(access_error(cause, vma))) { in handle_page_fault()
388 tsk->thread.bad_cause = cause; in handle_page_fault()
430 tsk->thread.bad_cause = cause; in handle_page_fault()