Lines Matching refs:trapnr
28 struct pt_regs *regs, int trapnr, in ex_handler_default() argument
38 struct pt_regs *regs, int trapnr, in ex_handler_fault() argument
43 regs->ax = trapnr; in ex_handler_fault()
59 struct pt_regs *regs, int trapnr, in ex_handler_fprestore() argument
74 struct pt_regs *regs, int trapnr, in ex_handler_uaccess() argument
78 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_uaccess()
85 struct pt_regs *regs, int trapnr, in ex_handler_copy() argument
89 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_copy()
91 regs->ax = trapnr; in ex_handler_copy()
97 struct pt_regs *regs, int trapnr, in ex_handler_rdmsr_unsafe() argument
114 struct pt_regs *regs, int trapnr, in ex_handler_wrmsr_unsafe() argument
130 struct pt_regs *regs, int trapnr, in ex_handler_clear_fs() argument
137 return ex_handler_default(fixup, regs, trapnr, error_code, fault_addr); in ex_handler_clear_fs()
158 int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code, in fixup_exception() argument
183 return handler(e, regs, trapnr, error_code, fault_addr); in fixup_exception()
189 void __init early_fixup_exception(struct pt_regs *regs, int trapnr) in early_fixup_exception() argument
192 if (trapnr == X86_TRAP_NMI) in early_fixup_exception()
221 if (fixup_exception(regs, trapnr, regs->orig_ax, 0)) in early_fixup_exception()
224 if (trapnr == X86_TRAP_UD) { in early_fixup_exception()
240 (unsigned)trapnr, (unsigned long)regs->cs, regs->ip, in early_fixup_exception()