Lines Matching refs:trapnr
98 struct pt_regs *regs, int trapnr)
100 regs->ax = trapnr;
105 struct pt_regs *regs, int trapnr)
107 regs->ax = trapnr | SGX_ENCLS_FAULT_FLAG;
158 struct pt_regs *regs, int trapnr,
161 WARN_ONCE(trapnr == X86_TRAP_GP && !gp_fault_address_ok(fault_address),
167 struct pt_regs *regs, int trapnr)
169 WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?");
170 return ex_handler_fault(fixup, regs, trapnr);
218 struct pt_regs *regs, int trapnr,
223 return ex_handler_uaccess(fixup, regs, trapnr, fault_address);
233 int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code,
267 return ex_handler_fault(e, regs, trapnr);
269 return ex_handler_uaccess(e, regs, trapnr, fault_addr);
271 return ex_handler_copy(e, regs, trapnr);
298 return ex_handler_sgx(e, regs, trapnr);
300 return ex_handler_ucopy_len(e, regs, trapnr, fault_addr, reg, imm);
310 void __init early_fixup_exception(struct pt_regs *regs, int trapnr)
313 if (trapnr == X86_TRAP_NMI)
342 if (fixup_exception(regs, trapnr, regs->orig_ax, 0))
345 if (trapnr == X86_TRAP_UD) {
361 (unsigned)trapnr, (unsigned long)regs->cs, regs->ip,