Lines Matching refs:error_code

21 static noinstr void fred_bad_type(struct pt_regs *regs, unsigned long error_code)  in fred_bad_type()  argument
31 regs->fred_ss.type, regs->fred_ss.vector, error_code, in fred_bad_type()
33 die("invalid or fatal FRED event", regs, error_code); in fred_bad_type()
41 regs->fred_ss.type, regs->fred_ss.vector, error_code, in fred_bad_type()
44 if (__die("Invalid or fatal FRED event", regs, error_code)) in fred_bad_type()
180 static noinstr void fred_hwexc(struct pt_regs *regs, unsigned long error_code) in fred_hwexc() argument
184 return exc_page_fault(regs, error_code); in fred_hwexc()
192 case X86_TRAP_DF: return exc_double_fault(regs, error_code); in fred_hwexc()
193 case X86_TRAP_TS: return exc_invalid_tss(regs, error_code); in fred_hwexc()
194 case X86_TRAP_NP: return exc_segment_not_present(regs, error_code); in fred_hwexc()
195 case X86_TRAP_SS: return exc_stack_segment(regs, error_code); in fred_hwexc()
196 case X86_TRAP_GP: return exc_general_protection(regs, error_code); in fred_hwexc()
198 case X86_TRAP_AC: return exc_alignment_check(regs, error_code); in fred_hwexc()
208 case X86_TRAP_CP: return exc_control_protection(regs, error_code); in fred_hwexc()
210 default: return fred_bad_type(regs, error_code); in fred_hwexc()
215 static noinstr void fred_swexc(struct pt_regs *regs, unsigned long error_code) in fred_swexc() argument
220 default: return fred_bad_type(regs, error_code); in fred_swexc()
226 unsigned long error_code = regs->orig_ax; in fred_entry_from_user() local
239 return fred_hwexc(regs, error_code); in fred_entry_from_user()
247 return fred_swexc(regs, error_code); in fred_entry_from_user()
253 return fred_bad_type(regs, error_code); in fred_entry_from_user()
258 unsigned long error_code = regs->orig_ax; in fred_entry_from_kernel() local
271 return fred_hwexc(regs, error_code); in fred_entry_from_kernel()
277 return fred_swexc(regs, error_code); in fred_entry_from_kernel()
281 return fred_bad_type(regs, error_code); in fred_entry_from_kernel()