Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 1265) sorted by relevance

12345678910>>...51

/openbmc/linux/drivers/acpi/acpica/
H A Dutexcep.c32 const struct acpi_exception_info *exception; in acpi_format_exception() local
36 exception = acpi_ut_validate_exception(status); in acpi_format_exception()
37 if (!exception) { in acpi_format_exception()
47 return (exception->name); in acpi_format_exception()
68 const struct acpi_exception_info *exception = NULL; in ACPI_EXPORT_SYMBOL() local
81 exception = &acpi_gbl_exception_names_env[sub_status]; in ACPI_EXPORT_SYMBOL()
88 exception = &acpi_gbl_exception_names_pgm[sub_status]; in ACPI_EXPORT_SYMBOL()
95 exception = &acpi_gbl_exception_names_tbl[sub_status]; in ACPI_EXPORT_SYMBOL()
102 exception = &acpi_gbl_exception_names_aml[sub_status]; in ACPI_EXPORT_SYMBOL()
118 if (!exception || !exception->name) { in ACPI_EXPORT_SYMBOL()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dexception.c49 do_raise_exception_err(env, exception, error_code, 0); in helper_raise_exception_err()
52 void helper_raise_exception(CPUMIPSState *env, uint32_t exception) in helper_raise_exception() argument
54 do_raise_exception(env, exception, GETPC()); in helper_raise_exception()
62 static void raise_exception(CPUMIPSState *env, uint32_t exception) in raise_exception() argument
64 do_raise_exception(env, exception, 0); in raise_exception()
132 const char *mips_exception_name(int32_t exception) in mips_exception_name() argument
134 if (exception < 0 || exception > EXCP_LAST) { in mips_exception_name()
137 return excp_names[exception]; in mips_exception_name()
140 void do_raise_exception_err(CPUMIPSState *env, uint32_t exception, in do_raise_exception_err() argument
146 __func__, exception, mips_exception_name(exception), in do_raise_exception_err()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dpel_utils.py98 except Exception as exception:
101 ) from exception
118 except Exception as exception:
121 ) from exception
187 except Exception as exception:
192 ) from exception
222 except Exception as exception:
225 ) from exception
244 except Exception as exception:
247 ) from exception
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-unavailable.c47 int exception; member
52 if (flags.touch_fp && flags.exception == FP_UNA_EXCEPTION) in expecting_failure()
66 flags.exception == VSX_UNA_EXCEPTION) in expecting_failure()
113 if (flags.exception != FP_UNA_EXCEPTION && in tm_una_ping()
114 flags.exception != VEC_UNA_EXCEPTION && in tm_una_ping()
115 flags.exception != VSX_UNA_EXCEPTION) { in tm_una_ping()
216 [exception] "r" (flags.exception), in tm_una_ping()
377 for (exception = 0; exception < NUM_EXCEPTIONS; exception++) { in tm_unavailable_test()
380 if (exception == FP_UNA_EXCEPTION) in tm_unavailable_test()
383 else if (exception == VEC_UNA_EXCEPTION) in tm_unavailable_test()
[all …]
/openbmc/qemu/target/openrisc/
H A Dinterrupt.c34 int exception = cs->exception_index; in openrisc_cpu_do_interrupt() local
40 if (exception == EXCP_ILLEGAL) { in openrisc_cpu_do_interrupt()
64 if (exception == EXCP_SYSCALL || exception == EXCP_FPE) { in openrisc_cpu_do_interrupt()
69 if (exception > 0 && exception < EXCP_NR) { in openrisc_cpu_do_interrupt()
89 int_name[exception]); in openrisc_cpu_do_interrupt()
91 hwaddr vect_pc = exception << 8; in openrisc_cpu_do_interrupt()
100 cpu_abort(cs, "Unhandled exception 0x%x\n", exception); in openrisc_cpu_do_interrupt()
/openbmc/qemu/tests/tcg/s390x/
H A Dsignals-s390x.c44 enum exception { enum
54 enum exception exception; member
78 switch (expected.exception) { in handle_signal()
110 static void check_sigsegv(void *func, enum exception exception, in check_sigsegv() argument
118 prot = exception == exception_translation ? PROT_NONE : PROT_READ; in check_sigsegv()
121 if (exception == exception_translation) { in check_sigsegv()
131 expected.exception = exception; in check_sigsegv()
161 expected.exception = exception_operation; in main_1()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dnested_exceptions_test.c196 TEST_ASSERT(!events.exception.pending, in queue_ss_exception()
198 TEST_ASSERT(!events.exception.injected, in queue_ss_exception()
202 events.exception.pending = !inject; in queue_ss_exception()
203 events.exception.injected = inject; in queue_ss_exception()
204 events.exception.nr = SS_VECTOR; in queue_ss_exception()
205 events.exception.has_error_code = true; in queue_ss_exception()
206 events.exception.error_code = SS_ERROR_CODE; in queue_ss_exception()
250 TEST_ASSERT_EQ(events.exception.pending, true); in main()
251 TEST_ASSERT_EQ(events.exception.nr, SS_VECTOR); in main()
252 TEST_ASSERT_EQ(events.exception.has_error_code, true); in main()
[all …]
H A Ddebug_regs.c109 run->debug.arch.exception == BP_VECTOR && in main()
112 run->exit_reason, run->debug.arch.exception, in main()
126 run->debug.arch.exception == DB_VECTOR && in main()
131 i, run->exit_reason, run->debug.arch.exception, in main()
149 run->debug.arch.exception == DB_VECTOR && in main()
154 i, run->exit_reason, run->debug.arch.exception, in main()
175 run->debug.arch.exception == DB_VECTOR && in main()
180 i, run->exit_reason, run->debug.arch.exception, in main()
193 run->debug.arch.exception == DB_VECTOR && in main()
198 run->exit_reason, run->debug.arch.exception, in main()
/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hpp19 namespace exception namespace
24 struct exception : public std::exception struct
39 struct generated_exception : public exception
45 struct internal_exception : public exception
153 using exception_t = exception::exception;
154 using internal_exception_t = exception::internal_exception;
H A Dmessage.hpp281 throw exception::SdBusError(-r, "sd_bus_message_get_type"); in get_type()
296 throw exception::SdBusError(-r, "sd_bus_message_get_cookie"); in get_cookie()
311 throw exception::SdBusError(-r, "sd_bus_message_get_reply_cookie"); in get_reply_cookie()
349 throw exception::SdBusError(-r, "sd_bus_message_new_method_return"); in new_method_return()
360 message new_method_error(const sdbusplus::exception::exception& e) in new_method_error()
367 throw exception::SdBusError(-r, "sd_bus_message_new_method_error"); in new_method_error()
386 throw exception::SdBusError(-r, "sd_bus_message_new_method_errno"); in new_method_errno()
399 throw exception::SdBusError(-r, "sd_bus_send"); in method_return()
427 throw exception::SdBusError(&error, "sd_bus_call"); in call()
452 throw exception::SdBusError(-r, "sd_bus_call_async"); in call_async()
[all …]
H A Dbus.hpp181 throw exception::SdBusError(-r, "sd_bus_flush"); in flush()
197 throw exception::SdBusError(-r, "sd_bus_is_open"); in is_open()
211 throw exception::SdBusError(-r, "sd_bus_wait"); in wait()
233 throw exception::SdBusError(-r, "sd_bus_process"); in process()
251 throw exception::SdBusError(-r, "sd_bus_process discard"); in process_discard()
279 throw exception::SdBusError(-r, "sd_bus_request_name"); in request_name()
346 throw exception::SdBusError(&error, "sd_bus_call"); in call()
368 throw exception::SdBusError(&error, "sd_bus_call noreply"); in call_noreply()
389 catch (const exception::SdBusError&) in call_noreply_noerror()
519 void set_current_exception(std::exception_ptr exception) in set_current_exception()
[all …]
/openbmc/linux/arch/m68k/fpsp040/
H A Dskeleton.S18 | to handle the exception.
58 | Divide by Zero exception
80 | Inexact exception
83 | will probably want to clear the pending exception.
90 | swapped out before taking the exception, the exception taken on
171 | Overflow exception
197 | Underflow exception
223 | Signalling NAN exception
245 | Operand Error exception
268 | BSUN exception
[all …]
/openbmc/linux/arch/m68k/ifpsp060/
H A Dfskeleton.S70 | This is the exit point for the 060FPSP when an enabled overflow exception
75 | The sample routine below simply clears the exception status bit and
94 | The sample routine below simply clears the exception status bit and
113 | The sample routine below simply clears the exception status bit and
132 | The sample routine below simply clears the exception status bit and
151 | The sample routine below simply clears the exception status bit and
166 | for enabled inexact exceptions. The exception stack frame is an inexact
170 | The sample routine below simply clears the exception status bit and
183 | This is the exit point for the 060FPSP when an enabled bsun exception
185 | for enabled bsun exceptions. The exception stack frame is a bsun
[all …]
/openbmc/phosphor-bmc-code-mgmt/side-switch/
H A Dside_switch.cpp36 catch (const std::exception& e) in sideSwitchNeeded()
52 catch (const std::exception& e) in sideSwitchNeeded()
85 catch (const std::exception& e) in sideSwitchNeeded()
114 catch (const std::exception& e) in sideSwitchNeeded()
136 catch (const std::exception& e) in powerOffSystem()
183 catch (const std::exception& e) in powerOffSystem()
208 catch (const std::exception& e) in setAutoPowerRestart()
228 catch (const std::exception& e) in rebootTheBmc()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Did_map_tests.cpp60 catch (const std::exception& error) in TEST()
108 catch (const std::exception& error) in TEST()
150 catch (const std::exception& error) in TEST()
196 catch (const std::exception& error) in TEST()
212 catch (const std::exception& error) in TEST()
234 catch (const std::exception& error) in TEST()
249 catch (const std::exception& error) in TEST()
271 catch (const std::exception& error) in TEST()
287 catch (const std::exception& error) in TEST()
/openbmc/qemu/target/ppc/
H A Duser_only_helper.c32 int exception, error_code; in ppc_cpu_record_sigsegv() local
42 exception = POWERPC_EXCP_ISI; in ppc_cpu_record_sigsegv()
45 exception = POWERPC_EXCP_DSI; in ppc_cpu_record_sigsegv()
53 cs->exception_index = exception; in ppc_cpu_record_sigsegv()
/openbmc/linux/tools/crypto/ccp/
H A Dtest_dbc.py56 self.assertEqual(error.exception.errno, 2)
85 self.assertEqual(error.exception.errno, 22)
94 self.assertEqual(error.exception.errno, 22)
103 self.assertEqual(error.exception.errno, 22)
111 self.assertEqual(error.exception.errno, 22)
119 self.assertEqual(error.exception.errno, 22)
143 self.assertEqual(error.exception.errno, 1)
149 self.assertEqual(error.exception.errno, 1)
155 self.assertEqual(error.exception.errno, 1)
161 self.assertEqual(error.exception.errno, 1)
[all …]
/openbmc/sdbusplus/test/exception/
H A Dsdbus_error.cpp24 using sdbusplus::exception::SdBusError;
42 sdbusplus::exception::exception& sdbusErr = err; in TEST()
47 std::exception& stdErr = sdbusErr; in TEST()
173 sdbusplus::exception::internal_exception); in TEST()
175 sdbusplus::exception::exception); in TEST()
177 std::exception); in TEST()
/openbmc/sdbusplus/include/sdbusplus/message/
H A Dread.hpp147 throw exception::SdBusError( in op()
228 throw exception::SdBusError( in op()
240 throw exception::SdBusError( in op()
247 throw exception::SdBusError( in op()
266 throw exception::SdBusError( in op()
278 throw exception::SdBusError( in op()
285 throw exception::SdBusError( in op()
316 throw exception::SdBusError(-r, in op()
327 throw exception::SdBusError(-r, in op()
376 throw exception::SdBusError( in read()
[all …]
/openbmc/sdbusplus/src/
H A Devent.cpp71 throw exception::SdBusError(errno, __func__); in signal()
81 throw exception::SdBusError(errno, __func__); in ack()
89 throw exception::SdBusError(-rc, __func__); in event()
101 throw exception::SdBusError(-rc, __func__); in run_one()
120 throw exception::SdBusError(-rc, __func__); in add_io()
134 throw exception::SdBusError(errno, __func__); in add_condition()
162 throw exception::SdBusError(-rc, __func__); in add_oneshot_timer()
/openbmc/linux/drivers/s390/char/
H A Dtape_3590.c959 char *exception, *service; in tape_3590_print_mim_msg_f0() local
964 if (!exception || !service) in tape_3590_print_mim_msg_f0()
992 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1009 "service %s\n", exception, service); in tape_3590_print_mim_msg_f0()
1012 kfree(exception); in tape_3590_print_mim_msg_f0()
1023 char *exception, *service; in tape_3590_print_io_sim_msg_f1() local
1028 if (!exception || !service) in tape_3590_print_io_sim_msg_f1()
1123 kfree(exception); in tape_3590_print_io_sim_msg_f1()
1134 char *exception, *service; in tape_3590_print_dev_sim_msg_f2() local
1139 if (!exception || !service) in tape_3590_print_dev_sim_msg_f2()
[all …]
/openbmc/u-boot/tools/binman/
H A Dftest.py479 str(e.exception))
498 str(e.exception))
682 str(e.exception))
764 str(e.exception))
792 str(e.exception))
1043 str(e.exception))
1156 str(e.exception))
1236 str(e.exception))
1254 str(e.exception))
1270 str(e.exception))
[all …]
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_main.cpp70 catch (const std::exception& e) in getSBECallout()
89 catch (const std::exception& e) in handleSbeBootError()
98 if ((sbeError.errType() == exception::SBE_FFDC_NO_DATA) || in handleSbeBootError()
99 (sbeError.errType() == exception::SBE_CMD_TIMEOUT) || (dumpIsRequired)) in handleSbeBootError()
153 catch (const std::exception& e) in handleSbeBootError()
176 catch (const std::exception& e) in handleSbeBootError()
/openbmc/linux/LICENSES/exceptions/
H A DGCC-exception-2.01 SPDX-Exception-Identifier: GCC-exception-2.0
2 SPDX-URL: https://spdx.org/licenses/GCC-exception-2.0.html
5 This exception is used together with one of the above SPDX-Licenses to
7 To use this exception add it with the keyword WITH to one of the
9 SPDX-License-Identifier: <SPDX-License> WITH GCC-exception-2.0
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dcoredump.c102 bool *exception) in mt7996_coredump_fw_state() argument
114 *exception = !!count; in mt7996_coredump_fw_state()
119 bool exception) in mt7996_coredump_fw_stack() argument
134 if (!exception) { in mt7996_coredump_fw_stack()
156 if (!exception) { in mt7996_coredump_fw_stack()
169 bool exception; in mt7996_coredump_build() local
201 mt7996_coredump_fw_state(dev, dump, &exception); in mt7996_coredump_build()
202 mt7996_coredump_fw_stack(dev, dump, exception); in mt7996_coredump_build()

12345678910>>...51