/linux-6.6.21/tools/arch/s390/include/uapi/asm/ |
D | sie.h | 90 #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 …]
|
/linux-6.6.21/arch/s390/include/uapi/asm/ |
D | sie.h | 90 #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 …]
|
/linux-6.6.21/lib/kunit/ |
D | try-catch.c | 63 int exit_code, time_remaining; in kunit_try_catch_run() local 84 exit_code = try_catch->try_result; in kunit_try_catch_run() 86 if (!exit_code) in kunit_try_catch_run() 89 if (exit_code == -EFAULT) in kunit_try_catch_run() 91 else if (exit_code == -EINTR) in kunit_try_catch_run() 93 else if (exit_code) in kunit_try_catch_run() 94 kunit_err(test, "Unknown error: %d\n", exit_code); in kunit_try_catch_run()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | gro.sh | 14 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
|
D | setup_loopback.sh | 50 exit_code=$? 51 if [[ "${exit_code}" -ne 0 ]]; then 53 exit $exit_code
|
D | toeplitz.sh | 194 exit_code=$? 196 if [[ "${exit_code}" -eq 0 ]]; then 199 exit "${exit_code}"
|
/linux-6.6.21/arch/arm64/kvm/hyp/include/hyp/ |
D | switch.h | 282 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 …]
|
/linux-6.6.21/tools/testing/selftests/ptrace/ |
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.6.21/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_svm_test.c | 98 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()
|
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.6.21/arch/arm64/kvm/hyp/nvhe/ |
D | switch.c | 174 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()
|
/linux-6.6.21/scripts/ |
D | modules-check.sh | 11 exit_code=0 20 exit_code=1 26 exit $exit_code
|
/linux-6.6.21/Documentation/sphinx/ |
D | kfigure.py | 358 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 …]
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | verify_sig_setup.sh | 65 local exit_code="$1" 68 if [[ "${exit_code}" -ne 0 ]]; then 73 exit ${exit_code}
|
D | get_cgroup_id_user.c | 58 int exit_code = 1; in main() local 141 exit_code = 0; in main() 150 return exit_code; in main()
|
/linux-6.6.21/arch/arm64/kvm/hyp/vhe/ |
D | switch.c | 180 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()
|
/linux-6.6.21/tools/perf/arch/powerpc/util/ |
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.6.21/kernel/ |
D | exit.c | 856 tsk->exit_code = code; in do_exit() 996 do_group_exit(int exit_code) in do_group_exit() argument 1001 exit_code = sig->group_exit_code; in do_group_exit() 1003 exit_code = 0; in do_group_exit() 1010 exit_code = sig->group_exit_code; in do_group_exit() 1012 exit_code = 0; in do_group_exit() 1014 sig->group_exit_code = exit_code; in do_group_exit() 1021 do_exit(exit_code); in do_group_exit() 1108 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie() 1191 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie() [all …]
|
/linux-6.6.21/arch/x86/kernel/ |
D | sev-shared.c | 170 static bool vc_decoding_needed(unsigned long exit_code) in vc_decoding_needed() argument 173 return !(exit_code >= SVM_EXIT_EXCP_BASE && in vc_decoding_needed() 174 exit_code <= SVM_EXIT_LAST_EXCP); in vc_decoding_needed() 179 unsigned long exit_code) in vc_init_em_ctxt() argument 186 if (vc_decoding_needed(exit_code)) in vc_init_em_ctxt() 227 u64 exit_code, u64 exit_info_1, in sev_es_ghcb_hv_call() argument 234 ghcb_set_sw_exit_code(ghcb, exit_code); in sev_es_ghcb_hv_call() 573 void __init do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code) in do_vc_no_ghcb() argument 581 if (exit_code != SVM_EXIT_CPUID) in do_vc_no_ghcb() 989 unsigned long exit_code) in vc_handle_rdtsc() argument [all …]
|
D | sev.c | 1426 u64 exit_code, exit_info_1, exit_info_2; in vc_do_mmio() local 1436 exit_code = read ? SVM_VMGEXIT_MMIO_READ : SVM_VMGEXIT_MMIO_WRITE; in vc_do_mmio() 1452 return sev_es_ghcb_hv_call(ghcb, ctxt, exit_code, exit_info_1, exit_info_2); in vc_do_mmio() 1753 unsigned long exit_code) in vc_handle_exitcode() argument 1757 switch (exit_code) { in vc_handle_exitcode() 1769 result = vc_handle_rdtsc(ghcb, ctxt, exit_code); in vc_handle_exitcode() 2004 unsigned long exit_code = regs->orig_ax; in handle_vc_boot_ghcb() local 2010 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in handle_vc_boot_ghcb() 2012 result = vc_handle_exitcode(&ctxt, boot_ghcb, exit_code); in handle_vc_boot_ghcb() 2021 exit_code, regs->ip); in handle_vc_boot_ghcb() [all …]
|
/linux-6.6.21/arch/x86/kvm/svm/ |
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() 346 to->exit_code = from->exit_code; in __nested_copy_vmcb_control_to_cache() 882 vmcb12->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun() 915 svm->vmcb->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun() 1015 vmcb12->control.exit_code = vmcb02->control.exit_code; in nested_svm_vmexit() 1020 if (vmcb12->control.exit_code != SVM_EXIT_ERR) in nested_svm_vmexit() 1120 trace_kvm_nested_vmexit_inject(vmcb12->control.exit_code, in nested_svm_vmexit() 1301 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_intercept() local 1304 switch (exit_code) { in nested_svm_intercept() [all …]
|
D | svm.c | 2634 svm->vmcb->control.exit_code = SVM_EXIT_CR0_SEL_WRITE; in check_selective_cr0_intercepted() 2657 if (svm->vmcb->control.exit_code == SVM_EXIT_CR0_SEL_WRITE) in cr_interception() 2660 cr = svm->vmcb->control.exit_code - SVM_EXIT_READ_CR0; in cr_interception() 2726 cr = svm->vmcb->control.exit_code - SVM_EXIT_CR0_WRITE_TRAP; in cr_trap() 2781 dr = svm->vmcb->control.exit_code - SVM_EXIT_READ_DR0; in dr_interception() 3364 pr_err("%-20s%08x\n", "exit_code:", control->exit_code); in dump_vmcb() 3453 static bool svm_check_exit_valid(u64 exit_code) in svm_check_exit_valid() argument 3455 return (exit_code < ARRAY_SIZE(svm_exit_handlers) && in svm_check_exit_valid() 3456 svm_exit_handlers[exit_code]); in svm_check_exit_valid() 3459 static int svm_handle_invalid_exit(struct kvm_vcpu *vcpu, u64 exit_code) in svm_handle_invalid_exit() argument [all …]
|
/linux-6.6.21/arch/xtensa/platforms/iss/include/platform/ |
D | simcall.h | 24 static inline int simc_exit(int exit_code) in simc_exit() argument 27 return __simc(SYS_exit, exit_code, 0, 0); in simc_exit()
|
/linux-6.6.21/tools/testing/selftests/clone3/ |
D | clone3_set_tid.c | 66 int exit_code = EXIT_SUCCESS; in call_clone3_set_tid() local 80 exit_code = EXIT_FAILURE; in call_clone3_set_tid() 88 exit_code = EXIT_FAILURE; in call_clone3_set_tid() 95 child_exit(exit_code); in call_clone3_set_tid()
|
/linux-6.6.21/tools/testing/selftests/tc-testing/ |
D | tdc.py | 396 exit_code = p.returncode 398 exit_code = None 402 if (exit_code is None or exit_code != int(tidx["expExitCode"])): 403 print("exit: {!r}".format(exit_code)) 407 …res.set_failmsg('Command exited with {}, expected {}\n{}'.format(exit_code, tidx["expExitCode"], p… 843 exit_code = 0 # KSFT_PASS 853 exit_code = 1 # KSFT_FAIL 878 exit_code = 4 # KSFT_SKIP 879 exit(exit_code)
|