• Home
  • Raw
  • Download

Lines Matching refs:fsr

35 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr)  in notify_page_fault()  argument
42 if (kprobe_running() && kprobe_fault_handler(regs, fsr)) in notify_page_fault()
50 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr) in notify_page_fault() argument
133 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_kernel_fault() argument
151 die("Oops", regs, fsr); in __do_kernel_fault()
162 unsigned int fsr, unsigned int sig, int code, in __do_user_fault() argument
174 tsk->comm, sig, addr, fsr); in __do_user_fault()
181 tsk->thread.error_code = fsr; in __do_user_fault()
190 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad_area() argument
200 __do_user_fault(tsk, addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area()
202 __do_kernel_fault(mm, addr, fsr, regs); in do_bad_area()
214 static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) in access_error() argument
218 if ((fsr & FSR_WRITE) && !(fsr & FSR_CM)) in access_error()
220 if (fsr & FSR_LNX_PF) in access_error()
227 __do_page_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_page_fault() argument
245 if (access_error(fsr, vma)) { in __do_page_fault()
262 do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_page_fault() argument
269 if (notify_page_fault(regs, fsr)) in do_page_fault()
288 if ((fsr & FSR_WRITE) && !(fsr & FSR_CM)) in do_page_fault()
315 fault = __do_page_fault(mm, addr, fsr, flags, tsk); in do_page_fault()
395 __do_user_fault(tsk, addr, fsr, sig, code, regs); in do_page_fault()
399 __do_kernel_fault(mm, addr, fsr, regs); in do_page_fault()
404 do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_page_fault() argument
429 do_translation_fault(unsigned long addr, unsigned int fsr, in do_translation_fault() argument
438 return do_page_fault(addr, fsr, regs); in do_translation_fault()
487 do_bad_area(addr, fsr, regs); in do_translation_fault()
492 do_translation_fault(unsigned long addr, unsigned int fsr, in do_translation_fault() argument
505 do_sect_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_sect_fault() argument
507 do_bad_area(addr, fsr, regs); in do_sect_fault()
516 do_bad(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad() argument
522 int (*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
552 do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_DataAbort() argument
554 const struct fsr_info *inf = fsr_info + fsr_fs(fsr); in do_DataAbort()
557 if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) in do_DataAbort()
561 inf->name, fsr, addr); in do_DataAbort()
568 arm_notify_die("", regs, &info, fsr, 0); in do_DataAbort()
608 static int __init early_abort_handler(unsigned long addr, unsigned int fsr, in early_abort_handler() argument
613 "firmware/bootloader bug.\n", fsr); in early_abort_handler()