Lines Matching refs:fault_num
48 unsigned long address, int fault_num, struct task_struct *tsk)
62 info.si_trapno = fault_num;
204 static int handle_migrating_pte(pgd_t *pgd, int fault_num,
233 if (fault_num == INT_ITLB_MISS) {
253 int fault_num,
300 if (handle_migrating_pte(pgd, fault_num, address,
398 if (fault_num == INT_ITLB_MISS) {
437 switch (fault_num) {
476 fault_num, tsk);
493 if (fault_num == INT_ITLB_MISS) {
546 force_sig_info_fault(SIGBUS, BUS_ADRERR, address, fault_num, tsk);
574 struct intvec_state do_page_fault_ics(struct pt_regs *regs, int fault_num,
584 do_page_fault, fault_num, address, write, 1
589 (fault_num != INT_DTLB_MISS &&
590 fault_num != INT_DTLB_ACCESS)) {
595 old_pc, fault_num, write, address);
599 if (fault_num != INT_DTLB_ACCESS && vmalloc_fault(pgd, address) >= 0)
648 " PC %#lx, fault %d", pc, fault_num);
665 if (fault_num == INT_DTLB_ACCESS)
667 if (handle_migrating_pte(pgd, fault_num, address, 1, write))
685 void do_page_fault(struct pt_regs *regs, int fault_num,
701 if (fault_num == INT_DMATLB_MISS ||
702 fault_num == INT_DMATLB_ACCESS ||
703 fault_num == INT_DMATLB_MISS_DWNCL ||
704 fault_num == INT_DMATLB_ACCESS_DWNCL) {
713 switch (fault_num) {
736 panic("Bad fault number %d in do_page_fault", fault_num);
741 switch (fault_num) {
768 if (async->fault_num != 0) {
771 fault_num, async->fault_num,
774 BUG_ON(fault_num == 0);
775 async->fault_num = fault_num;
783 handle_page_fault(regs, fault_num, is_page_fault, address, write);
795 if (async->fault_num) {
797 * Clear async->fault_num before calling the page-fault
802 int fault_num = async->fault_num;
803 async->fault_num = 0;
804 handle_page_fault(regs, fault_num, async->is_fault,