Lines Matching refs:trapnr

98 			     struct pt_regs *regs, int trapnr)  in ex_handler_fault()  argument
100 regs->ax = trapnr; in ex_handler_fault()
105 struct pt_regs *regs, int trapnr) in ex_handler_sgx() argument
107 regs->ax = trapnr | SGX_ENCLS_FAULT_FLAG; in ex_handler_sgx()
134 struct pt_regs *regs, int trapnr) in ex_handler_uaccess() argument
136 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_uaccess()
141 struct pt_regs *regs, int trapnr) in ex_handler_copy() argument
143 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_copy()
144 return ex_handler_fault(fixup, regs, trapnr); in ex_handler_copy()
192 struct pt_regs *regs, int trapnr, int reg, int imm) in ex_handler_ucopy_len() argument
195 return ex_handler_uaccess(fixup, regs, trapnr); in ex_handler_ucopy_len()
205 int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code, in fixup_exception() argument
239 return ex_handler_fault(e, regs, trapnr); in fixup_exception()
241 return ex_handler_uaccess(e, regs, trapnr); in fixup_exception()
243 return ex_handler_copy(e, regs, trapnr); in fixup_exception()
270 return ex_handler_sgx(e, regs, trapnr); in fixup_exception()
272 return ex_handler_ucopy_len(e, regs, trapnr, reg, imm); in fixup_exception()
282 void __init early_fixup_exception(struct pt_regs *regs, int trapnr) in early_fixup_exception() argument
285 if (trapnr == X86_TRAP_NMI) in early_fixup_exception()
314 if (fixup_exception(regs, trapnr, regs->orig_ax, 0)) in early_fixup_exception()
317 if (trapnr == X86_TRAP_UD) { in early_fixup_exception()
333 (unsigned)trapnr, (unsigned long)regs->cs, regs->ip, in early_fixup_exception()