Lines Matching refs:fault_code
159 int fault_code) in do_fault_siginfo() argument
163 if (fault_code & FAULT_CODE_ITLB) { in do_fault_siginfo()
197 int fault_code, unsigned int insn, in do_kernel_fault() argument
210 if (!(fault_code & (FAULT_CODE_WRITE|FAULT_CODE_ITLB)) && in do_kernel_fault()
244 do_fault_siginfo(si_code, SIGSEGV, regs, address, insn, fault_code); in do_kernel_fault()
270 int si_code, fault_code; in do_sparc64_fault() local
275 fault_code = get_thread_fault_code(); in do_sparc64_fault()
283 if ((fault_code & FAULT_CODE_ITLB) && in do_sparc64_fault()
284 (fault_code & FAULT_CODE_DTLB)) in do_sparc64_fault()
332 if (fault_code & FAULT_CODE_BAD_RA) in do_sparc64_fault()
347 if (((fault_code & in do_sparc64_fault()
363 fault_code |= FAULT_CODE_WRITE; in do_sparc64_fault()
372 if (!(fault_code & FAULT_CODE_WRITE)) { in do_sparc64_fault()
398 if ((fault_code & FAULT_CODE_ITLB) && !(vma->vm_flags & VM_EXEC)) { in do_sparc64_fault()
405 if (fault_code & FAULT_CODE_WRITE) { in do_sparc64_fault()
415 set_thread_fault_code(fault_code | in do_sparc64_fault()
494 do_kernel_fault(regs, si_code, fault_code, insn, address); in do_sparc64_fault()
522 do_fault_siginfo(BUS_ADRERR, SIGBUS, regs, address, insn, fault_code); in do_sparc64_fault()