Lines Matching full:cause
53 if (kfence_handle_page_fault(addr, regs->cause == EXC_STORE_PAGE_FAULT, regs)) in no_context()
95 /* User mode accesses just cause a SIGSEGV */ in bad_area_nosemaphore()
123 /* User mode accesses just cause a SIGSEGV */ in vmalloc_fault()
194 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) in access_error() argument
196 switch (cause) { in access_error()
214 panic("%s: unhandled cause %lu", __func__, cause); in access_error()
228 unsigned long addr, cause; in handle_page_fault() local
233 cause = regs->cause; in handle_page_fault()
239 if (kprobe_page_fault(regs, cause)) in handle_page_fault()
266 tsk->thread.bad_cause = cause; in handle_page_fault()
283 if (cause == EXC_STORE_PAGE_FAULT) in handle_page_fault()
285 else if (cause == EXC_INST_PAGE_FAULT) in handle_page_fault()
294 if (unlikely(access_error(cause, vma))) { in handle_page_fault()
319 tsk->thread.bad_cause = cause; in handle_page_fault()
330 if (unlikely(access_error(cause, vma))) { in handle_page_fault()
331 tsk->thread.bad_cause = cause; in handle_page_fault()
373 tsk->thread.bad_cause = cause; in handle_page_fault()