Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/linux/tools/arch/s390/include/uapi/asm/
H A Dsie.h90 #define exit_code(opcode, mnemonic) \ macro
190 exit_code(0x0a, "SVC"), \
191 exit_code(0x80, "SSM"), \
192 exit_code(0x82, "LPSW"), \
193 exit_code(0x83, "DIAG"), \
194 exit_code(0xae, "SIGP"), \
195 exit_code(0xac, "STNSM"), \
196 exit_code(0xad, "STOSM"), \
197 exit_code(0xb1, "LRA"), \
198 exit_code(0xb6, "STCTL"), \
[all …]
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dsie.h90 #define exit_code(opcode, mnemonic) \ macro
190 exit_code(0x0a, "SVC"), \
191 exit_code(0x80, "SSM"), \
192 exit_code(0x82, "LPSW"), \
193 exit_code(0x83, "DIAG"), \
194 exit_code(0xae, "SIGP"), \
195 exit_code(0xac, "STNSM"), \
196 exit_code(0xad, "STOSM"), \
197 exit_code(0xb1, "LRA"), \
198 exit_code(0xb6, "STCTL"), \
[all …]
/openbmc/linux/lib/kunit/
H A Dtry-catch.c64 int exit_code, time_remaining; in kunit_try_catch_run() local
86 exit_code = try_catch->try_result; in kunit_try_catch_run()
88 if (!exit_code) in kunit_try_catch_run()
91 if (exit_code == -EFAULT) in kunit_try_catch_run()
93 else if (exit_code == -EINTR) in kunit_try_catch_run()
95 else if (exit_code == -ETIMEDOUT) in kunit_try_catch_run()
97 else if (exit_code) in kunit_try_catch_run()
98 kunit_err(test, "Unknown error: %d\n", exit_code); in kunit_try_catch_run()
/openbmc/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h282 static bool kvm_hyp_handle_fpsimd(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_fpsimd() argument
428 static bool kvm_hyp_handle_ptrauth(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_ptrauth() argument
525 static bool kvm_hyp_handle_sysreg(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_sysreg() argument
540 return kvm_hyp_handle_ptrauth(vcpu, exit_code); in kvm_hyp_handle_sysreg()
548 static bool kvm_hyp_handle_cp15_32(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_cp15_32() argument
557 static bool kvm_hyp_handle_memory_fault(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_memory_fault() argument
564 static bool kvm_hyp_handle_iabt_low(struct kvm_vcpu *vcpu, u64 *exit_code)
566 static bool kvm_hyp_handle_watchpt_low(struct kvm_vcpu *vcpu, u64 *exit_code)
569 static bool kvm_hyp_handle_dabt_low(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_dabt_low() argument
571 if (kvm_hyp_handle_memory_fault(vcpu, exit_code)) in kvm_hyp_handle_dabt_low()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dgro.sh14 local exit_code=0
33 exit_code=$?
34 if [[ "${exit_code}" -eq 0 ]]; then
39 echo ${exit_code}
47 exit_code=$(run_test $proto $test)
48 if [[ "${exit_code}" -ne 0 ]]; then
H A Dsetup_loopback.sh50 exit_code=$?
51 if [[ "${exit_code}" -ne 0 ]]; then
53 exit $exit_code
H A Dtoeplitz.sh194 exit_code=$?
196 if [[ "${exit_code}" -eq 0 ]]; then
199 exit "${exit_code}"
/openbmc/linux/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c47 int ret, exit_code = -1; in check_error_paths() local
99 exit_code = 0; in check_error_paths()
102 return exit_code; in check_error_paths()
108 int i, j, ret, exit_code = -1; in check_direct_path() local
147 exit_code = 0; in check_direct_path()
149 return exit_code; in check_direct_path()
155 int i, exit_code = 1; in main() local
211 exit_code = 0; in main()
218 return exit_code; in main()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dswitch.c174 static bool kvm_handle_pvm_sys64(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_sys64() argument
181 return (kvm_hyp_handle_sysreg(vcpu, exit_code) || in kvm_handle_pvm_sys64()
182 kvm_handle_pvm_sysreg(vcpu, exit_code)); in kvm_handle_pvm_sys64()
227 static void early_exit_filter(struct kvm_vcpu *vcpu, u64 *exit_code) in early_exit_filter() argument
240 *exit_code &= BIT(ARM_EXIT_WITH_SERROR_BIT); in early_exit_filter()
241 *exit_code |= ARM_EXCEPTION_IL; in early_exit_filter()
252 u64 exit_code; in __kvm_vcpu_run() local
316 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run()
319 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run()
357 return exit_code; in __kvm_vcpu_run()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_svm_test.c98 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in guest_code()
106 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code()
112 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code()
121 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in guest_code()
127 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code()
136 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code()
141 GUEST_ASSERT(vmcb->control.exit_code == HV_SVM_EXITCODE_ENL); in guest_code()
145 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in guest_code()
H A Dsvm_nested_soft_inject_test.c105 __GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL, in l1_guest_code()
107 vmcb->control.exit_code, in l1_guest_code()
135 __GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_HLT, in l1_guest_code()
137 vmcb->control.exit_code, in l1_guest_code()
/openbmc/qemu/contrib/plugins/
H A Dstoptrigger.c57 int exit_code; in exit_address_reached() local
59 exit_code = GPOINTER_TO_INT( in exit_address_reached()
62 exit_emulation(exit_code, msg); in exit_address_reached()
128 int exit_code = 0; in qemu_plugin_install() local
130 exit_code = g_ascii_strtoull(addr_tokens[1], NULL, 0); in qemu_plugin_install()
133 GINT_TO_POINTER(exit_code)); in qemu_plugin_install()
/openbmc/linux/Documentation/sphinx/
H A Dkfigure.py358 exit_code = 42
361 exit_code = subprocess.call(cmd, stdout = out)
362 if exit_code != 0:
364 "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
365 return bool(exit_code == 0)
390 exit_code = 0
393 exit_code = err.returncode
396 if exit_code != 0:
397 kernellog.warn(app, "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
405 return bool(exit_code == 0)
[all …]
/openbmc/linux/scripts/
H A Dmodules-check.sh11 exit_code=0
20 exit_code=1
26 exit $exit_code
/openbmc/u-boot/Documentation/sphinx/
H A Dkfigure.py303 exit_code = 42
306 exit_code = subprocess.call(cmd, stdout = out)
307 if exit_code != 0:
308 app.warn("Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
309 return bool(exit_code == 0)
323 exit_code = subprocess.call(cmd)
324 if exit_code != 0:
325 app.warn("Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
326 return bool(exit_code == 0)
/openbmc/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c180 static void early_exit_filter(struct kvm_vcpu *vcpu, u64 *exit_code) in early_exit_filter() argument
208 u64 exit_code; in __kvm_vcpu_run_vhe() local
242 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run_vhe()
245 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run_vhe()
258 return exit_code; in __kvm_vcpu_run_vhe()
/openbmc/qemu/tests/tcg/multiarch/arm-compat-semi/
H A Dsemihosting.c23 uintptr_t exit_code = 0x20026; in main() local
26 uintptr_t exit_code = (uintptr_t) &exit_block; in main()
79 __semi_call(SYS_REPORTEXC, exit_code); in main()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dverify_sig_setup.sh65 local exit_code="$1"
68 if [[ "${exit_code}" -ne 0 ]]; then
73 exit ${exit_code}
H A Dget_cgroup_id_user.c58 int exit_code = 1; in main() local
141 exit_code = 0; in main()
150 return exit_code; in main()
/openbmc/openbmc/meta-ibm/meta-system1/recipes-phosphor/flash/phosphor-software-manager/
H A Dbios-update.sh44 exit_code=$?
46 if [ "$exit_code" -eq 0 ]; then
53 if [ "$exit_code" -ne 0 ]; then
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Dkvm-stat.c44 static const char *get_hcall_exit_reason(u64 exit_code) in get_hcall_exit_reason() argument
49 if (tbl->exit_code == exit_code) in get_hcall_exit_reason()
55 (unsigned long long)exit_code); in get_hcall_exit_reason()
/openbmc/linux/kernel/
H A Dexit.c858 tsk->exit_code = code; in do_exit()
998 do_group_exit(int exit_code) in do_group_exit() argument
1003 exit_code = sig->group_exit_code; in do_group_exit()
1005 exit_code = 0; in do_group_exit()
1012 exit_code = sig->group_exit_code; in do_group_exit()
1014 exit_code = 0; in do_group_exit()
1016 sig->group_exit_code = exit_code; in do_group_exit()
1023 do_exit(exit_code); in do_group_exit()
1110 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
1193 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/
H A D0001-Return-a-valid-exit_code-from-vg_regtest.patch4 Subject: [PATCH] Return a valid exit_code from vg_regtest
19 + return $exit_code;
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c42 if (vmcb->control.exit_code != SVM_EXIT_NPF) { in nested_svm_inject_npf_exit()
47 vmcb->control.exit_code = SVM_EXIT_NPF; in nested_svm_inject_npf_exit()
350 to->exit_code = from->exit_code; in __nested_copy_vmcb_control_to_cache()
886 vmcb12->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun()
919 svm->vmcb->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun()
1019 vmcb12->control.exit_code = vmcb02->control.exit_code; in nested_svm_vmexit()
1024 if (vmcb12->control.exit_code != SVM_EXIT_ERR) in nested_svm_vmexit()
1124 trace_kvm_nested_vmexit_inject(vmcb12->control.exit_code, in nested_svm_vmexit()
1305 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_intercept() local
1308 switch (exit_code) { in nested_svm_intercept()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dsev-shared.c171 static bool vc_decoding_needed(unsigned long exit_code) in vc_decoding_needed() argument
174 return !(exit_code >= SVM_EXIT_EXCP_BASE && in vc_decoding_needed()
175 exit_code <= SVM_EXIT_LAST_EXCP); in vc_decoding_needed()
180 unsigned long exit_code) in vc_init_em_ctxt() argument
187 if (vc_decoding_needed(exit_code)) in vc_init_em_ctxt()
228 u64 exit_code, u64 exit_info_1, in sev_es_ghcb_hv_call() argument
235 ghcb_set_sw_exit_code(ghcb, exit_code); in sev_es_ghcb_hv_call()
569 void __head do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code) in do_vc_no_ghcb() argument
577 if (exit_code != SVM_EXIT_CPUID) in do_vc_no_ghcb()
985 unsigned long exit_code) in vc_handle_rdtsc() argument
[all …]

1234