Lines Matching defs:trapnr
99 struct pt_regs *regs, int trapnr)
101 regs->ax = trapnr;
106 struct pt_regs *regs, int trapnr)
108 regs->ax = trapnr | SGX_ENCLS_FAULT_FLAG;
159 struct pt_regs *regs, int trapnr,
162 WARN_ONCE(trapnr == X86_TRAP_GP && !gp_fault_address_ok(fault_address),
168 struct pt_regs *regs, int trapnr)
170 WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?");
171 return ex_handler_fault(fixup, regs, trapnr);
219 struct pt_regs *regs, int trapnr,
224 return ex_handler_uaccess(fixup, regs, trapnr, fault_address);
307 int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code,
341 return ex_handler_fault(e, regs, trapnr);
343 return ex_handler_uaccess(e, regs, trapnr, fault_addr);
345 return ex_handler_copy(e, regs, trapnr);
372 return ex_handler_sgx(e, regs, trapnr);
374 return ex_handler_ucopy_len(e, regs, trapnr, fault_addr, reg, imm);
388 void __init early_fixup_exception(struct pt_regs *regs, int trapnr)
391 if (trapnr == X86_TRAP_NMI)
420 if (fixup_exception(regs, trapnr, regs->orig_ax, 0))
423 if (trapnr == X86_TRAP_UD) {
439 (unsigned)trapnr, (unsigned long)regs->cs, regs->ip,