Lines Matching refs:trans_exc_code

106 static inline int user_space_fault(unsigned long trans_exc_code)  in user_space_fault()  argument
112 trans_exc_code &= 3; in user_space_fault()
113 if (trans_exc_code == 2) in user_space_fault()
118 return trans_exc_code == 3; in user_space_fault()
125 return trans_exc_code != 3; in user_space_fault()
149 int si_code, unsigned long trans_exc_code) in do_sigsegv() argument
154 address = trans_exc_code & __FAIL_ADDR_MASK; in do_sigsegv()
165 unsigned long trans_exc_code) in do_no_context() argument
181 address = trans_exc_code & __FAIL_ADDR_MASK; in do_no_context()
182 if (!user_space_fault(trans_exc_code)) in do_no_context()
194 unsigned long trans_exc_code) in do_low_address() argument
204 do_no_context(regs, int_code, trans_exc_code); in do_low_address()
208 unsigned long trans_exc_code) in do_sigbus() argument
218 address = trans_exc_code & __FAIL_ADDR_MASK; in do_sigbus()
230 unsigned long trans_exc_code) in signal_return() argument
250 do_sigsegv(regs, int_code, SEGV_MAPERR, trans_exc_code); in signal_return()
256 unsigned long trans_exc_code, int fault) in do_fault_error() argument
264 (trans_exc_code & 3) == 0) { in do_fault_error()
265 signal_return(regs, int_code, trans_exc_code); in do_fault_error()
275 do_sigsegv(regs, int_code, si_code, trans_exc_code); in do_fault_error()
279 do_no_context(regs, int_code, trans_exc_code); in do_fault_error()
287 do_no_context(regs, int_code, trans_exc_code); in do_fault_error()
289 do_sigbus(regs, int_code, trans_exc_code); in do_fault_error()
308 unsigned long trans_exc_code) in do_exception() argument
328 if (unlikely(!user_space_fault(trans_exc_code) || in_atomic() || !mm)) in do_exception()
331 address = trans_exc_code & __FAIL_ADDR_MASK; in do_exception()
363 (trans_exc_code & store_indication) == 0x400) ? in do_exception()
391 unsigned long trans_exc_code) in do_protection_exception() argument
402 if (unlikely(!(trans_exc_code & 4))) { in do_protection_exception()
403 do_low_address(regs, pgm_int_code, trans_exc_code); in do_protection_exception()
406 fault = do_exception(regs, VM_WRITE, trans_exc_code); in do_protection_exception()
408 do_fault_error(regs, 4, trans_exc_code, fault); in do_protection_exception()
412 unsigned long trans_exc_code) in do_dat_exception() argument
419 (trans_exc_code & 3) == 0) in do_dat_exception()
422 fault = do_exception(regs, access, trans_exc_code); in do_dat_exception()
424 do_fault_error(regs, pgm_int_code & 255, trans_exc_code, fault); in do_dat_exception()
429 unsigned long trans_exc_code) in do_asce_exception() argument
434 if (unlikely(!user_space_fault(trans_exc_code) || in_atomic() || !mm)) in do_asce_exception()
438 vma = find_vma(mm, trans_exc_code & __FAIL_ADDR_MASK); in do_asce_exception()
448 do_sigsegv(regs, pgm_int_code, SEGV_MAPERR, trans_exc_code); in do_asce_exception()
453 do_no_context(regs, pgm_int_code, trans_exc_code); in do_asce_exception()