Home
last modified time | relevance | path

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

123

/linux/tools/arch/s390/include/uapi/asm/
A Dsie.h190 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/arch/s390/include/uapi/asm/
A Dsie.h190 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/arch/arm64/kvm/hyp/include/hyp/
A Dswitch.h170 static bool kvm_hyp_handle_fpsimd(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_fpsimd() argument
341 static bool kvm_hyp_handle_sysreg(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_hyp_handle_sysreg() argument
352 return kvm_hyp_handle_ptrauth(vcpu, exit_code); in kvm_hyp_handle_sysreg()
395 *exit_code = ARM_EXCEPTION_EL1_SERROR; in kvm_hyp_handle_dabt_low()
406 static void early_exit_filter(struct kvm_vcpu *vcpu, u64 *exit_code);
422 return fn(vcpu, exit_code); in kvm_hyp_handle_exit()
444 early_exit_filter(vcpu, exit_code); in fixup_guest_exit()
446 if (ARM_EXCEPTION_CODE(*exit_code) != ARM_EXCEPTION_IRQ) in fixup_guest_exit()
449 if (ARM_SERROR_PENDING(*exit_code)) { in fixup_guest_exit()
470 if (*exit_code != ARM_EXCEPTION_TRAP) in fixup_guest_exit()
[all …]
/linux/lib/kunit/
A Dtry-catch.c63 int exit_code, time_remaining; in kunit_try_catch_run() local
83 exit_code = try_catch->try_result; in kunit_try_catch_run()
85 if (!exit_code) in kunit_try_catch_run()
88 if (exit_code == -EFAULT) in kunit_try_catch_run()
90 else if (exit_code == -EINTR) in kunit_try_catch_run()
92 else if (exit_code) in kunit_try_catch_run()
93 kunit_err(test, "Unknown error: %d\n", exit_code); in kunit_try_catch_run()
/linux/arch/arm64/kvm/hyp/nvhe/
A Dswitch.c168 static bool kvm_handle_pvm_sys64(struct kvm_vcpu *vcpu, u64 *exit_code) in kvm_handle_pvm_sys64() argument
175 return (kvm_hyp_handle_sysreg(vcpu, exit_code) || in kvm_handle_pvm_sys64()
176 kvm_handle_pvm_sysreg(vcpu, exit_code)); in kvm_handle_pvm_sys64()
193 return kvm_hyp_handle_fpsimd(vcpu, exit_code); in kvm_handle_pvm_fpsimd()
236 static void early_exit_filter(struct kvm_vcpu *vcpu, u64 *exit_code) in early_exit_filter() argument
249 *exit_code &= BIT(ARM_EXIT_WITH_SERROR_BIT); in early_exit_filter()
250 *exit_code |= ARM_EXCEPTION_IL; in early_exit_filter()
261 u64 exit_code; in __kvm_vcpu_run() local
314 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run()
317 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run()
[all …]
/linux/tools/testing/selftests/net/
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
A Dsetup_loopback.sh50 exit_code=$?
51 if [[ "${exit_code}" -ne 0 ]]; then
53 exit $exit_code
A Dtoeplitz.sh194 exit_code=$?
196 if [[ "${exit_code}" -eq 0 ]]; then
199 exit "${exit_code}"
/linux/tools/testing/selftests/ptrace/
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()
/linux/arch/x86/kernel/
A Dsev-shared.c70 static bool vc_decoding_needed(unsigned long exit_code) in vc_decoding_needed() argument
73 return !(exit_code >= SVM_EXIT_EXCP_BASE && in vc_decoding_needed()
74 exit_code <= SVM_EXIT_LAST_EXCP); in vc_decoding_needed()
79 unsigned long exit_code) in vc_init_em_ctxt() argument
86 if (vc_decoding_needed(exit_code)) in vc_init_em_ctxt()
129 struct es_em_ctxt *ctxt, u64 exit_code, in sev_es_ghcb_hv_call() argument
136 ghcb_set_sw_exit_code(ghcb, exit_code); in sev_es_ghcb_hv_call()
164 if (exit_code != SVM_EXIT_CPUID) in do_vc_no_ghcb()
521 unsigned long exit_code) in vc_handle_rdtsc() argument
523 bool rdtscp = (exit_code == SVM_EXIT_RDTSCP); in vc_handle_rdtsc()
[all …]
A Dsev.c834 u64 exit_code, exit_info_1, exit_info_2; in vc_do_mmio() local
844 exit_code = read ? SVM_VMGEXIT_MMIO_READ : SVM_VMGEXIT_MMIO_WRITE; in vc_do_mmio()
1226 unsigned long exit_code) in vc_handle_exitcode() argument
1230 switch (exit_code) { in vc_handle_exitcode()
1242 result = vc_handle_rdtsc(ghcb, ctxt, exit_code); in vc_handle_exitcode()
1477 unsigned long exit_code = regs->orig_ax; in handle_vc_boot_ghcb() local
1487 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in handle_vc_boot_ghcb()
1489 result = vc_handle_exitcode(&ctxt, boot_ghcb, exit_code); in handle_vc_boot_ghcb()
1498 exit_code, regs->ip); in handle_vc_boot_ghcb()
1502 exit_code, regs->ip); in handle_vc_boot_ghcb()
[all …]
/linux/scripts/
A Dmodules-check.sh11 exit_code=0
20 exit_code=1
26 exit $exit_code
/linux/arch/arm64/kvm/hyp/vhe/
A Dswitch.c115 static void early_exit_filter(struct kvm_vcpu *vcpu, u64 *exit_code) in early_exit_filter() argument
124 u64 exit_code; in __kvm_vcpu_run_vhe() local
153 exit_code = __guest_enter(vcpu); in __kvm_vcpu_run_vhe()
156 } while (fixup_guest_exit(vcpu, &exit_code)); in __kvm_vcpu_run_vhe()
169 return exit_code; in __kvm_vcpu_run_vhe()
/linux/Documentation/sphinx/
A Dkfigure.py296 exit_code = 42
299 exit_code = subprocess.call(cmd, stdout = out)
300 if exit_code != 0:
302 "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
303 return bool(exit_code == 0)
317 exit_code = subprocess.call(cmd)
318 if exit_code != 0:
319 kernellog.warn(app, "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
320 return bool(exit_code == 0)
/linux/arch/x86/boot/compressed/
A Dsev.c172 void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code) in do_boot_stage2_vc() argument
181 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in do_boot_stage2_vc()
185 switch (exit_code) { in do_boot_stage2_vc()
188 result = vc_handle_rdtsc(boot_ghcb, &ctxt, exit_code); in do_boot_stage2_vc()
/linux/arch/x86/kvm/svm/
A Dnested.c39 if (svm->vmcb->control.exit_code != SVM_EXIT_NPF) { in nested_svm_inject_npf_exit()
44 svm->vmcb->control.exit_code = SVM_EXIT_NPF; in nested_svm_inject_npf_exit()
182 dst->exit_code = from->exit_code; in copy_vmcb_control_area()
685 vmcb12->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun()
716 svm->vmcb->control.exit_code = SVM_EXIT_ERR; in nested_svm_vmrun()
818 vmcb12->control.exit_code = vmcb->control.exit_code; in nested_svm_vmexit()
823 if (vmcb12->control.exit_code != SVM_EXIT_ERR) in nested_svm_vmexit()
1038 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_intercept() local
1041 switch (exit_code) { in nested_svm_intercept()
1218 u32 exit_code = svm->vmcb->control.exit_code; in nested_svm_exit_special() local
[all …]
A Dsvm.c3336 svm_exit_handlers[exit_code]); in svm_check_exit_valid()
3357 if (exit_code == SVM_EXIT_MSR) in svm_invoke_exit_handler()
3377 *reason = control->exit_code; in svm_get_exit_info()
3392 u32 exit_code = svm->vmcb->control.exit_code; in handle_exit() local
3421 = svm->vmcb->control.exit_code; in handle_exit()
3429 exit_code != SVM_EXIT_NPF && exit_code != SVM_EXIT_TASK_SWITCH && in handle_exit()
3430 exit_code != SVM_EXIT_INTR && exit_code != SVM_EXIT_NMI) in handle_exit()
3434 exit_code); in handle_exit()
4131 u32 exit_code; member
4205 switch (icpt_info.exit_code) { in svm_check_intercept()
[all …]
/linux/include/linux/
A Dtracehook.h73 if (current->exit_code) { in ptrace_report_syscall()
74 send_sig(current->exit_code, current, 1); in ptrace_report_syscall()
75 current->exit_code = 0; in ptrace_report_syscall()
/linux/tools/perf/arch/powerpc/util/
A Dkvm-stat.c45 static const char *get_hcall_exit_reason(u64 exit_code) in get_hcall_exit_reason() argument
50 if (tbl->exit_code == exit_code) in get_hcall_exit_reason()
56 (unsigned long long)exit_code); in get_hcall_exit_reason()
/linux/kernel/
A Dexit.c816 tsk->exit_code = code; in do_exit()
906 do_group_exit(int exit_code) in do_group_exit() argument
929 do_exit(exit_code); in do_group_exit()
1015 status = p->exit_code; in wait_task_zombie()
1137 return &p->exit_code; in task_stopped_code()
1167 int exit_code, *p_code, why; in wait_task_stopped() local
1180 exit_code = 0; in wait_task_stopped()
1187 exit_code = *p_code; in wait_task_stopped()
1188 if (!exit_code) in wait_task_stopped()
1197 if (!exit_code) in wait_task_stopped()
[all …]
/linux/tools/testing/selftests/tc-testing/
A Dtdc.py279 exit_code = p.returncode
281 exit_code = None
285 if (exit_code is None or exit_code != int(tidx["expExitCode"])):
286 print("exit: {!r}".format(exit_code))
290 …res.set_failmsg('Command exited with {}, expected {}\n{}'.format(exit_code, tidx["expExitCode"], p…
719 exit_code = 0 # KSFT_PASS
729 exit_code = 1 # KSFT_FAIL
754 exit_code = 4 # KSFT_SKIP
755 exit(exit_code)
/linux/tools/testing/selftests/bpf/
A Dget_cgroup_id_user.c58 int exit_code = 1; in main() local
133 exit_code = 0; in main()
142 return exit_code; in main()
/linux/tools/testing/selftests/clone3/
A Dclone3_set_tid.c66 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/arch/xtensa/platforms/iss/include/platform/
A Dsimcall.h24 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/arch/x86/include/asm/
A Dsev.h45 void do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code);
88 u64 exit_code, u64 exit_info_1,

Completed in 48 milliseconds

123