Lines Matching refs:fault_code
170 int fault_code) in do_fault_siginfo() argument
174 if (fault_code & FAULT_CODE_ITLB) { in do_fault_siginfo()
208 int fault_code, unsigned int insn, in do_kernel_fault() argument
221 if (!(fault_code & (FAULT_CODE_WRITE|FAULT_CODE_ITLB)) && in do_kernel_fault()
255 do_fault_siginfo(si_code, SIGSEGV, regs, address, insn, fault_code); in do_kernel_fault()
281 int si_code, fault_code; in do_sparc64_fault() local
286 fault_code = get_thread_fault_code(); in do_sparc64_fault()
294 if ((fault_code & FAULT_CODE_ITLB) && in do_sparc64_fault()
295 (fault_code & FAULT_CODE_DTLB)) in do_sparc64_fault()
343 if (fault_code & FAULT_CODE_BAD_RA) in do_sparc64_fault()
358 if (((fault_code & in do_sparc64_fault()
374 fault_code |= FAULT_CODE_WRITE; in do_sparc64_fault()
383 if (!(fault_code & FAULT_CODE_WRITE)) { in do_sparc64_fault()
409 if ((fault_code & FAULT_CODE_ITLB) && !(vma->vm_flags & VM_EXEC)) { in do_sparc64_fault()
416 if (fault_code & FAULT_CODE_WRITE) { in do_sparc64_fault()
426 set_thread_fault_code(fault_code | in do_sparc64_fault()
507 do_kernel_fault(regs, si_code, fault_code, insn, address); in do_sparc64_fault()
535 do_fault_siginfo(BUS_ADRERR, SIGBUS, regs, address, insn, fault_code); in do_sparc64_fault()