Lines Matching defs:code
142 int code;
151 code = (int) (regs->rax & SYSCALL_NUMBER_MASK);
157 MACHDBG_CODE(DBG_MACH_EXCP_SC,code)|DBG_FUNC_END,
176 code = ((int) regs->eax);
177 is_mach = (code < 0);
181 MACHDBG_CODE(DBG_MACH_EXCP_SC,-code)|DBG_FUNC_END,
471 int code;
501 code = saved_state->err & 0xffff;
514 code = (int)(saved_state->isf.err & 0xffff);
615 if (__improbable((code == (T_PF_PROT | T_PF_EXECUTE)) && (pmap_smep_enabled) && (saved_state->isf.rip == vaddr))) {
689 * recovery handling code in "case T_GENERAL_PROTECTION:".
698 if (code & T_PF_WRITE)
701 if (code & T_PF_EXECUTE)
828 "Error code: 0x%08x%s\n",
884 "Fault CR2: 0x%016llx, Error code: 0x%016llx, Fault CPU: 0x%x%s%s%s\n",
918 mach_exception_code_t code;
974 code = 0;
1011 code = EXC_I386_DIV;
1038 code = EXC_I386_SGL;
1047 code = EXC_I386_BPT;
1052 code = EXC_I386_INTO;
1057 code = EXC_I386_BOUND;
1062 code = EXC_I386_INVOP;
1075 code = EXC_I386_INVTSSFLT;
1081 code = EXC_I386_SEGNPFLT;
1087 code = EXC_I386_STKFLT;
1107 code = EXC_I386_GPFLT;
1153 code = EXC_I386_INVOP;
1163 i386_exception(exc, code, subcode);
1203 mach_exception_code_t code,
1208 DEBUG_KPRINT_SYSCALL_MACH("i386_exception: exc=%d code=0x%llx subcode=0x%llx\n",
1209 exc, code, subcode);
1210 codes[0] = code; /* new exception interface */