/openbmc/linux/arch/x86/mm/ |
H A D | fault.c | 122 is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr) in is_prefetch() argument 136 if (error_code & X86_PF_INSTR) in is_prefetch() 463 static int is_f00f_bug(struct pt_regs *regs, unsigned long error_code, in is_f00f_bug() argument 467 if (boot_cpu_has_bug(X86_BUG_F00F) && !(error_code & X86_PF_USER) && in is_f00f_bug() 508 show_fault_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address) in show_fault_oops() argument 513 if (error_code & X86_PF_INSTR) { in show_fault_oops() 541 (error_code & X86_PF_USER) ? "user" : "supervisor", in show_fault_oops() 542 (error_code & X86_PF_INSTR) ? "instruction fetch" : in show_fault_oops() 543 (error_code & X86_PF_WRITE) ? "write access" : in show_fault_oops() 546 pr_alert("#PF: error_code(0x%04lx) - %s\n", error_code, in show_fault_oops() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | cet.c | 28 static const char *cp_err_string(unsigned long error_code) in cp_err_string() argument 30 unsigned int cpec = error_code & CP_EC; in cp_err_string() 37 static void do_unexpected_cp(struct pt_regs *regs, unsigned long error_code) in do_unexpected_cp() argument 41 cp_err_string(error_code)); in do_unexpected_cp() 47 static void do_user_cp_fault(struct pt_regs *regs, unsigned long error_code) in do_user_cp_fault() argument 63 tsk->thread.error_code = error_code; in do_user_cp_fault() 71 regs->ip, regs->sp, ssp, error_code, in do_user_cp_fault() 72 cp_err_string(error_code), in do_user_cp_fault() 73 error_code & CP_ENCL ? " in enclave" : ""); in do_user_cp_fault() 112 static void do_kernel_cp_fault(struct pt_regs *regs, unsigned long error_code) in do_kernel_cp_fault() argument [all …]
|
H A D | traps.c | 136 struct pt_regs *regs, long error_code) in do_trap_no_signal() argument 145 error_code, trapnr)) in do_trap_no_signal() 149 if (fixup_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal() 152 tsk->thread.error_code = error_code; in do_trap_no_signal() 154 die(str, regs, error_code); in do_trap_no_signal() 156 if (fixup_vdso_exception(regs, trapnr, error_code, 0)) in do_trap_no_signal() 169 tsk->thread.error_code = error_code; in do_trap_no_signal() 177 struct pt_regs *regs, long error_code) in show_signal() argument 183 regs->ip, regs->sp, error_code); in show_signal() 191 long error_code, int sicode, void __user *addr) in do_trap() argument [all …]
|
H A D | sev.c | 289 ctxt->fi.error_code = X86_PF_INSTR | X86_PF_USER; in __vc_decode_user_insn() 295 ctxt->fi.error_code = 0; in __vc_decode_user_insn() 317 ctxt->fi.error_code = X86_PF_INSTR; in __vc_decode_kern_insn() 340 unsigned long error_code = X86_PF_PROT | X86_PF_WRITE; in vc_write_mem() local 407 error_code |= X86_PF_USER; in vc_write_mem() 410 ctxt->fi.error_code = error_code; in vc_write_mem() 419 unsigned long error_code = X86_PF_PROT; in vc_read_mem() local 485 error_code |= X86_PF_USER; in vc_read_mem() 488 ctxt->fi.error_code = error_code; in vc_read_mem() 509 ctxt->fi.error_code = 0; in vc_slow_virt_to_phys() [all …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | fault.c | 222 no_context(struct pt_regs *regs, unsigned long error_code, in no_context() argument 240 die("Oops", regs, error_code); in no_context() 244 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in __bad_area_nosemaphore() argument 259 no_context(regs, error_code, address); in __bad_area_nosemaphore() 263 bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, in bad_area_nosemaphore() argument 266 __bad_area_nosemaphore(regs, error_code, address, SEGV_MAPERR); in bad_area_nosemaphore() 270 __bad_area(struct pt_regs *regs, unsigned long error_code, in __bad_area() argument 281 __bad_area_nosemaphore(regs, error_code, address, si_code); in __bad_area() 285 bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address) in bad_area() argument 287 __bad_area(regs, error_code, address, SEGV_MAPERR); in bad_area() [all …]
|
H A D | tlbex_32.c | 22 handle_tlbmiss(struct pt_regs *regs, unsigned long error_code, in handle_tlbmiss() argument 59 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss() 62 if (error_code) in handle_tlbmiss() 74 if (error_code == FAULT_CODE_INITIAL) in handle_tlbmiss() 78 set_thread_fault_code(error_code); in handle_tlbmiss()
|
/openbmc/bmcweb/src/ |
H A D | dbus_utility.cpp | 37 void logError(const boost::system::error_code& ec) in logError() 74 std::function<void(const boost::system::error_code&, in getAllProperties() argument 85 std::function<void(const boost::system::error_code&, in getAllProperties() argument 95 [callback = std::move(callback)](const boost::system::error_code& ec, in checkDbusPathExists() 107 std::function<void(const boost::system::error_code&, in getSubTree() argument 112 const boost::system::error_code& ec, in getSubTree() 123 std::function<void(const boost::system::error_code&, in getSubTreePaths() argument 128 const boost::system::error_code& ec, in getSubTreePaths() 142 std::function<void(const boost::system::error_code&, in getAssociatedSubTree() argument 147 const boost::system::error_code& ec, in getAssociatedSubTree() [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | excp_helper.c | 44 static int check_exception(CPUX86State *env, int intno, int *error_code, in check_exception() argument 73 *error_code = 0; in check_exception() 92 int is_int, int error_code, in raise_interrupt2() argument 100 error_code, retaddr); in raise_interrupt2() 101 intno = check_exception(env, intno, &error_code, retaddr); in raise_interrupt2() 107 env->error_code = error_code; in raise_interrupt2() 121 int error_code) in raise_exception_err() argument 123 raise_interrupt2(env, exception_index, 0, error_code, 0, 0); in raise_exception_err() 127 int error_code, uintptr_t retaddr) in raise_exception_err_ra() argument 129 raise_interrupt2(env, exception_index, 0, error_code, 0, retaddr); in raise_exception_err_ra() [all …]
|
/openbmc/linux/arch/x86/include/asm/trace/ |
H A D | exceptions.h | 17 unsigned long error_code), 19 TP_ARGS(address, regs, error_code), 24 __field( unsigned long, error_code ) 30 __entry->error_code = error_code; 35 __entry->error_code) ); 40 unsigned long error_code), \ 41 TP_ARGS(address, regs, error_code), \
|
/openbmc/qemu/target/ppc/ |
H A D | user_only_helper.c | 31 int exception, error_code; in ppc_cpu_record_sigsegv() local 42 error_code = 0x40000000; in ppc_cpu_record_sigsegv() 45 error_code = 0x40000000; in ppc_cpu_record_sigsegv() 47 error_code |= 0x02000000; in ppc_cpu_record_sigsegv() 50 env->spr[SPR_DSISR] = error_code; in ppc_cpu_record_sigsegv() 53 env->error_code = error_code; in ppc_cpu_record_sigsegv()
|
H A D | mmu-hash32.c | 128 env->error_code = 0x10000000; in ppc_hash32_direct_store() 144 env->error_code = POWERPC_EXCP_ALIGN_FP; in ppc_hash32_direct_store() 149 env->error_code = 0; in ppc_hash32_direct_store() 169 env->error_code = 0; in ppc_hash32_direct_store() 193 env->error_code = 0; in ppc_hash32_direct_store() 325 env->error_code = 0x08000000; in ppc_hash32_xlate() 328 env->error_code = 0; in ppc_hash32_xlate() 357 env->error_code = 0x10000000; in ppc_hash32_xlate() 368 env->error_code = 0x40000000; in ppc_hash32_xlate() 371 env->error_code = 0; in ppc_hash32_xlate() [all …]
|
/openbmc/boost-dbus/test/ |
H A D | avahi.cpp | 26 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST() 45 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST() argument 73 std::function<void(boost::system::error_code, dbus::message)> event_handler = in TEST() 74 [&](boost::system::error_code ec, dbus::message s) { in TEST() 85 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST() argument 95 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST() argument 107 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST() 134 f.async_dispatch([&](boost::system::error_code ec, dbus::message s) { in TEST() 166 [&](boost::system::error_code ec, dbus::message s) {}); in TEST() 183 std::function<void(boost::system::error_code, dbus::message)> callback = [&]( in TEST() [all …]
|
/openbmc/qemu/target/alpha/ |
H A D | fpu_helper.c | 77 uint32_t exc = env->error_code; in helper_fp_exc_raise() 90 uint32_t exc = env->error_code & ~ignore; in helper_fp_exc_raise_s() 223 env->error_code = soft_to_fpcr_exc(env); in helper_adds() 235 env->error_code = soft_to_fpcr_exc(env); in helper_subs() 247 env->error_code = soft_to_fpcr_exc(env); in helper_muls() 259 env->error_code = soft_to_fpcr_exc(env); in helper_divs() 270 env->error_code = soft_to_fpcr_exc(env); in helper_sqrts() 300 env->error_code = soft_to_fpcr_exc(env); in helper_addt() 312 env->error_code = soft_to_fpcr_exc(env); in helper_subt() 324 env->error_code = soft_to_fpcr_exc(env); in helper_mult() [all …]
|
/openbmc/bmcweb/include/ |
H A D | dbus_utility.hpp | 90 void logError(const boost::system::error_code& ec); 99 std::function<void(const boost::system::error_code&, 105 std::function<void(const boost::system::error_code&, in getProperty() argument 117 std::function<void(const boost::system::error_code&, in getProperty() argument 127 std::function<void(const boost::system::error_code&, 136 std::function<void(const boost::system::error_code&, 142 std::function<void(const boost::system::error_code&, 149 std::function<void(const boost::system::error_code&, 156 std::function<void(const boost::system::error_code&, 164 std::function<void(const boost::system::error_code&, [all …]
|
/openbmc/boost-dbus/include/dbus/ |
H A D | error.hpp | 67 boost::system::error_code error_code() const; 72 inline boost::system::error_code error::error_code() const { in error_code() function in dbus::error 73 return boost::system::error_code(is_set(), get_dbus_category()); in error_code() 78 error_code(), string(error_.name) + ":" + error_.message); in system_error()
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | idt_handlers_64.S | 15 .macro EXCEPTION_HANDLER name function error_code=0 argument 19 .if \error_code == 0 72 EXCEPTION_HANDLER boot_page_fault do_boot_page_fault error_code=1 73 EXCEPTION_HANDLER boot_nmi_trap do_boot_nmi_trap error_code=0 76 EXCEPTION_HANDLER boot_stage1_vc do_vc_no_ghcb error_code=1 77 EXCEPTION_HANDLER boot_stage2_vc do_boot_stage2_vc error_code=1
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | utils.hpp | 224 boost::system::error_code getService(Context::ptr ctx, const std::string& intf, 237 boost::system::error_code getSubTree( 250 boost::system::error_code getDbusObject( 256 static inline boost::system::error_code getDbusObject( in getDbusObject() 263 static inline boost::system::error_code getDbusObject( in getDbusObject() 281 boost::system::error_code getDbusProperty( in getDbusProperty() 286 boost::system::error_code ec; in getDbusProperty() 314 boost::system::error_code getAllDbusProperties( 327 boost::system::error_code setDbusProperty( 341 boost::system::error_code getAllDbusObjects( [all …]
|
/openbmc/qemu/target/i386/tcg/sysemu/ |
H A D | excp_helper.c | 50 int error_code; member 76 .error_code = inout->env->error_code, in ptw_translate() 156 int error_code; in mmu_translate() local 451 .error_code = env->error_code, in mmu_translate() 486 error_code = PG_ERROR_RSVD_MASK; in mmu_translate() 489 error_code = PG_ERROR_P_MASK; in mmu_translate() 493 error_code = PG_ERROR_PK_MASK | PG_ERROR_P_MASK; in mmu_translate() 496 error_code = 0; in mmu_translate() 499 error_code |= PG_ERROR_U_MASK; in mmu_translate() 505 error_code |= PG_ERROR_W_MASK; in mmu_translate() [all …]
|
/openbmc/bmcweb/http/ |
H A D | http_body.hpp | 105 boost::system::error_code& ec) in open() 112 boost::system::error_code ec2; in open() 133 void setFd(int fd, boost::system::error_code& ec) in setFd() 137 boost::system::error_code ec2; in setFd() 174 static void init(boost::beast::error_code& ec) in init() 180 boost::beast::error_code& ec) in get() 186 boost::beast::error_code& ec, size_t maxSize) in getWithMaxSize() 203 boost::system::error_code readEc; in getWithMaxSize() 253 boost::beast::error_code& ec) in init() 267 boost::system::error_code& ec) in put() [all …]
|
/openbmc/boost-dbus/include/dbus/detail/ |
H A D | queue.hpp | 22 typedef std::function<void(boost::system::error_code, Message)> handler_type; 42 boost::system::error_code error_; 47 boost::system::error_code e = boost::system::error_code()) in closure() 68 void(boost::system::error_code, in BOOST_ASIO_INITFN_RESULT_TYPE() argument 72 MessageHandler, void(boost::system::error_code, message_type)> in BOOST_ASIO_INITFN_RESULT_TYPE()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | exception.c | 47 int error_code) in helper_raise_exception_err() argument 49 do_raise_exception_err(env, exception, error_code, 0); in helper_raise_exception_err() 140 int error_code, uintptr_t pc) in do_raise_exception_err() argument 146 error_code); in do_raise_exception_err() 148 env->error_code = error_code; in do_raise_exception_err()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | led.hpp | 37 [asyncResp](const boost::system::error_code& ec, const bool blinking) { in getIndicatorLedState() 60 [asyncResp](const boost::system::error_code& ec2, in getIndicatorLedState() 126 ledBlinkng](const boost::system::error_code& ec) mutable { in setIndicatorLedState() 161 [asyncResp](const boost::system::error_code& ec, const bool blinking) { in getSystemLocationIndicatorActive() 183 [asyncResp](const boost::system::error_code& ec2, in getSystemLocationIndicatorActive() 220 [asyncResp, ledState](const boost::system::error_code& ec) { in setSystemLocationIndicatorActive()
|
/openbmc/phosphor-host-ipmid/libipmid/ |
H A D | utils.cpp | 328 boost::system::error_code getService(Context::ptr ctx, const std::string& intf, in getService() 332 boost::system::error_code ec; in getService() 347 boost::system::error_code getSubTree( in getSubTree() 351 boost::system::error_code ec; in getSubTree() 359 boost::system::error_code getDbusObject( in getDbusObject() 369 boost::system::error_code ec = in getDbusObject() 418 boost::system::error_code getAllDbusProperties( in getAllDbusProperties() 422 boost::system::error_code ec; in getAllDbusProperties() 429 boost::system::error_code setDbusProperty( in setDbusProperty() 434 boost::system::error_code ec; in setDbusProperty() [all …]
|
/openbmc/linux/drivers/platform/x86/intel/ifs/ |
H A D | runtest.c | 62 if (status.error_code < ARRAY_SIZE(scan_test_status)) { in message_not_tested() 65 scan_test_status[status.error_code]); in message_not_tested() 66 } else if (status.error_code == IFS_SW_TIMEOUT) { in message_not_tested() 69 } else if (status.error_code == IFS_SW_PARTIAL_COMPLETION) { in message_not_tested() 108 enum ifs_status_err_code err_code = status.error_code; in can_restart() 200 status.error_code = IFS_SW_TIMEOUT; in ifs_test_core() 219 if (status.error_code == IFS_NO_ERROR) in ifs_test_core() 220 status.error_code = IFS_SW_PARTIAL_COMPLETION; in ifs_test_core() 239 } else if (status.error_code) { in ifs_test_core()
|
/openbmc/sdbusplus/example/ |
H A D | register-property.cpp | 48 return [this](boost::system::error_code error) { in getFailed() 59 [this](boost::system::error_code ec, uint32_t) { in asyncReadPropertyWithIncorrectType() 79 [this](boost::system::error_code ec, std::string value) { in asyncReadProperties() 91 [this](boost::system::error_code ec, std::string value) { in asyncReadProperties() 106 [this](const boost::system::error_code& ec) { in asyncChangeProperty() 123 [this](const boost::system::error_code& ec) { in asyncChangeProperty() 161 signals.async_wait([&ioc](const boost::system::error_code&, const int&) { in main() argument
|