| /linux-6.15/tools/testing/selftests/net/ |
| H A D | gro.sh | 14 local exit_code=0 33 exit_code=$? 35 ${exit_code} -ne 0 ]]; then 37 exit_code=0 39 if [[ "${exit_code}" -eq 0 ]]; then 44 echo ${exit_code} 52 exit_code=$(run_test $proto $test) 53 if [[ "${exit_code}" -ne 0 ]]; then 103 exit_code=$(run_test "${proto}" "${test}") 104 exit $exit_code
|
| H A D | setup_loopback.sh | 52 exit_code=$? 53 if [[ "${exit_code}" -ne 0 ]]; then 55 exit $exit_code
|
| H A D | toeplitz.sh | 194 exit_code=$? 196 if [[ "${exit_code}" -eq 0 ]]; then 199 exit "${exit_code}"
|
| /linux-6.15/tools/arch/s390/include/uapi/asm/ |
| H A D | sie.h | 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"), \ 199 exit_code(0xb7, "LCTL"), \ [all …]
|
| /linux-6.15/arch/s390/include/uapi/asm/ |
| H A D | sie.h | 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"), \ 199 exit_code(0xb7, "LCTL"), \ [all …]
|
| /linux-6.15/lib/kunit/ |
| H A D | try-catch.c | 67 int exit_code, time_remaining; in kunit_try_catch_run() local 96 exit_code = try_catch->try_result; in kunit_try_catch_run() 98 if (!exit_code) in kunit_try_catch_run() 101 if (exit_code == -EFAULT) in kunit_try_catch_run() 103 else if (exit_code == -EINTR) { in kunit_try_catch_run() 109 } else if (exit_code == -ETIMEDOUT) in kunit_try_catch_run() 111 else if (exit_code) in kunit_try_catch_run() 112 kunit_err(test, "Unknown error: %d\n", exit_code); in kunit_try_catch_run()
|
| /linux-6.15/arch/arm64/kvm/hyp/vhe/ |
| H A D | switch.c | 509 kvm_hyp_handle_fpsimd(vcpu, exit_code); in kvm_hyp_handle_zcr_el2() 515 if (kvm_hyp_handle_tlbi_el2(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe() 518 if (kvm_hyp_handle_timer(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe() 521 if (kvm_hyp_handle_cpacr_el1(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe() 524 if (kvm_hyp_handle_zcr_el2(vcpu, exit_code)) in kvm_hyp_handle_sysreg_vhe() 527 return kvm_hyp_handle_sysreg(vcpu, exit_code); in kvm_hyp_handle_sysreg_vhe() 567 synchronize_vcpu_pstate(vcpu, exit_code); in fixup_guest_exit() 597 u64 exit_code; in __kvm_vcpu_run_vhe() local 621 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run_vhe() 624 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run_vhe() [all …]
|
| /linux-6.15/arch/arm64/kvm/hyp/nvhe/ |
| H A D | switch.c | 210 static bool kvm_handle_pvm_sys64(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_sys64() argument 216 return (kvm_hyp_handle_sysreg(vcpu, exit_code) || in kvm_handle_pvm_sys64() 217 kvm_handle_pvm_sysreg(vcpu, exit_code)); in kvm_handle_pvm_sys64() 255 synchronize_vcpu_pstate(vcpu, exit_code); in fixup_guest_exit() 275 *exit_code &= BIT(ARM_EXIT_WITH_SERROR_BIT); in fixup_guest_exit() 276 *exit_code |= ARM_EXCEPTION_IL; in fixup_guest_exit() 279 return __fixup_guest_exit(vcpu, exit_code, handlers); in fixup_guest_exit() 289 u64 exit_code; in __kvm_vcpu_run() local 353 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run() 356 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run() [all …]
|
| /linux-6.15/tools/testing/selftests/ptrace/ |
| H A D | peeksiginfo.c | 47 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()
|
| /linux-6.15/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 914 int exit_code; member 1007 t->exit_code = KSFT_FAIL; in __wait_for_test() 1018 t->exit_code = KSFT_FAIL; in __wait_for_test() 1027 t->exit_code = KSFT_FAIL; in __wait_for_test() 1036 t->exit_code = KSFT_FAIL; in __wait_for_test() 1065 t->exit_code = KSFT_FAIL; in __wait_for_test() 1079 t->exit_code = KSFT_FAIL; in __wait_for_test() 1218 t->exit_code = KSFT_PASS; in __run_test() 1237 t->exit_code = KSFT_FAIL; in __run_test() 1241 _exit(t->exit_code); in __run_test() [all …]
|
| /linux-6.15/tools/testing/selftests/kvm/x86/ |
| H A D | hyperv_svm_test.c | 97 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in guest_code() 105 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code() 111 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code() 120 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in guest_code() 126 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code() 135 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_MSR); in guest_code() 140 GUEST_ASSERT(vmcb->control.exit_code == HV_SVM_EXITCODE_ENL); in guest_code() 144 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in guest_code()
|
| H A D | svm_nested_soft_inject_test.c | 105 __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()
|
| /linux-6.15/arch/arm64/kvm/hyp/include/hyp/ |
| H A D | switch.h | 328 static inline bool kvm_hyp_handle_mops(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_mops() argument 712 u64 *exit_code) in kvm_hyp_handle_memory_fault() argument 724 if (kvm_hyp_handle_memory_fault(vcpu, exit_code)) in kvm_hyp_handle_dabt_low() 743 *exit_code = ARM_EXCEPTION_EL1_SERROR; in kvm_hyp_handle_dabt_low() 763 return fn(vcpu, exit_code); in kvm_hyp_handle_exit() 791 static inline bool __fixup_guest_exit(struct kvm_vcpu *vcpu, u64 *exit_code, in __fixup_guest_exit() argument 794 if (ARM_EXCEPTION_CODE(*exit_code) != ARM_EXCEPTION_IRQ) in __fixup_guest_exit() 797 if (ARM_SERROR_PENDING(*exit_code) && in __fixup_guest_exit() 798 ARM_EXCEPTION_CODE(*exit_code) != ARM_EXCEPTION_IRQ) { in __fixup_guest_exit() 819 if (*exit_code != ARM_EXCEPTION_TRAP) in __fixup_guest_exit() [all …]
|
| /linux-6.15/tools/sched_ext/include/scx/ |
| H A D | user_exit_info.h | 26 s64 exit_code; member 50 if (bpf_core_field_exists((__ei)->exit_code)) \ 51 __uei_name.exit_code = (__ei)->exit_code; \ 87 __uei->exit_code; \
|
| /linux-6.15/tools/perf/util/ |
| H A D | kvm-stat.c | 47 u64 exit_code) in get_exit_reason() argument 50 if (tbl->exit_code == exit_code) in get_exit_reason() 56 (unsigned long long)exit_code, kvm->exit_reasons_isa); in get_exit_reason()
|
| /linux-6.15/scripts/ |
| H A D | modules-check.sh | 11 exit_code=0 20 exit_code=1 26 exit $exit_code
|
| /linux-6.15/Documentation/sphinx/ |
| H A D | kfigure.py | 355 exit_code = 42 358 exit_code = subprocess.call(cmd, stdout = out) 359 if exit_code != 0: 362 return bool(exit_code == 0) 387 exit_code = 0 390 exit_code = err.returncode 393 if exit_code != 0: 403 return bool(exit_code == 0) 423 exit_code = subprocess.call(cmd) 424 if exit_code != 0: [all …]
|
| /linux-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_info_test.c | 160 ASSERT_TRUE(WIFSIGNALED(info.exit_code)); in TEST_F() 194 ASSERT_TRUE(WIFEXITED(info.exit_code)); in TEST_F() 195 ASSERT_EQ(WEXITSTATUS(info.exit_code), 0); in TEST_F() 217 ASSERT_TRUE(WIFSIGNALED(info.exit_code)); in TEST_F() 366 ASSERT_TRUE(WIFEXITED(info.exit_code)); in TEST_F() 367 ASSERT_EQ(WEXITSTATUS(info.exit_code), 0); in TEST_F() 379 ASSERT_TRUE(WIFEXITED(info2.exit_code)); in TEST_F() 389 ASSERT_TRUE(WIFSIGNALED(info.exit_code)); in TEST_F() 504 ASSERT_TRUE(WIFEXITED(info.exit_code)); in TEST_F() 505 ASSERT_EQ(WEXITSTATUS(info.exit_code), 0); in TEST_F() [all …]
|
| /linux-6.15/tools/testing/selftests/kselftest/ |
| H A D | ksft.py | 77 exit_code = KSFT_PASS 79 exit_code = KSFT_FAIL 83 sys.exit(exit_code)
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | uprobe.c | 27 int exit_code; in urand_trigger() local 30 exit_code = pclose(*urand_pipe); in urand_trigger() 33 return exit_code; in urand_trigger()
|
| /linux-6.15/tools/perf/arch/powerpc/util/ |
| H A D | kvm-stat.c | 44 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()
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | verify_sig_setup.sh | 86 local exit_code="$1" 89 if [[ "${exit_code}" -ne 0 ]]; then 94 exit ${exit_code}
|
| /linux-6.15/tools/testing/selftests/landlock/ |
| H A D | scoped_abstract_unix_test.c | 135 _exit(_metadata->exit_code); in TEST_F() 162 _metadata->exit_code = KSFT_FAIL; in TEST_F() 226 _exit(_metadata->exit_code); in TEST_F() 268 _metadata->exit_code = KSFT_FAIL; in TEST_F() 342 _exit(_metadata->exit_code); in TEST_F() 378 _metadata->exit_code = KSFT_FAIL; in TEST_F() 521 _exit(_metadata->exit_code); in TEST_F() 695 _exit(_metadata->exit_code); in TEST_F() 903 _exit(_metadata->exit_code); in TEST_F() 1049 _exit(_metadata->exit_code); in TEST() [all …]
|
| /linux-6.15/kernel/ |
| H A D | exit.c | 937 tsk->exit_code = code; in do_exit() 1077 do_group_exit(int exit_code) in do_group_exit() argument 1084 exit_code = 0; in do_group_exit() 1093 exit_code = 0; in do_group_exit() 1102 do_exit(exit_code); in do_group_exit() 1287 return &p->exit_code; in task_stopped_code() 1330 exit_code = 0; in wait_task_stopped() 1337 exit_code = *p_code; in wait_task_stopped() 1338 if (!exit_code) in wait_task_stopped() 1347 if (!exit_code) in wait_task_stopped() [all …]
|
| /linux-6.15/arch/x86/kvm/svm/ |
| H A D | nested.c | 42 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() 356 to->exit_code = from->exit_code; in __nested_copy_vmcb_control_to_cache() 888 vmcb12->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun() 1021 vmcb12->control.exit_code = vmcb02->control.exit_code; in nested_svm_vmexit() 1026 if (vmcb12->control.exit_code != SVM_EXIT_ERR) in nested_svm_vmexit() 1307 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_intercept() local 1310 switch (exit_code) { in nested_svm_intercept() 1502 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_exit_special() local 1505 switch (exit_code) { in nested_svm_exit_special() [all …]
|