Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 - 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_current_pid_tgid_new_ns.c34 int exit_code = 1; in main() local
42 return exit_code; in main()
47 return exit_code; in main()
53 return exit_code; in main()
68 return exit_code; in main()
78 return exit_code; in main()
82 return exit_code; in main()
90 int exit_code = 1; in main() local
98 return exit_code; in main()
149 exit_code in main()
[all...]
/kernel/linux/linux-5.10/lib/kunit/
H 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()
/kernel/linux/linux-6.6/lib/kunit/
H A Dtry-catch.c63 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()
/kernel/linux/linux-6.6/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()
609 kvm_hyp_handle_exit(struct kvm_vcpu *vcpu, u64 *exit_code) kvm_hyp_handle_exit() argument
622 synchronize_vcpu_pstate(struct kvm_vcpu *vcpu, u64 *exit_code) synchronize_vcpu_pstate() argument
645 fixup_guest_exit(struct kvm_vcpu *vcpu, u64 *exit_code) fixup_guest_exit() argument
[all...]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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(
[all...]
/kernel/linux/linux-6.6/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(
[all...]
/kernel/linux/linux-5.10/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(
[all...]
/kernel/linux/linux-6.6/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(
[all...]
/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dmodules-check.sh11 exit_code=0
20 exit_code=1
26 exit $exit_code
/kernel/linux/linux-5.10/scripts/
H A Dmodules-check.sh11 exit_code=0
20 exit_code=1
26 exit $exit_code
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dsev-es-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()
86 if (vc_decoding_needed(exit_code)) in vc_init_em_ctxt()
99 u64 exit_code, u64 exit_info_1, in sev_es_ghcb_hv_call()
108 ghcb_set_sw_exit_code(ghcb, exit_code); in sev_es_ghcb_hv_call()
147 void __init do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code) in do_vc_no_ghcb() argument
153 if (exit_code != SVM_EXIT_CPUID) in do_vc_no_ghcb()
548 unsigned long exit_code) in vc_handle_rdtsc()
77 vc_init_em_ctxt(struct es_em_ctxt *ctxt, struct pt_regs *regs, unsigned long exit_code) vc_init_em_ctxt() argument
97 sev_es_ghcb_hv_call(struct ghcb *ghcb, struct es_em_ctxt *ctxt, u64 exit_code, u64 exit_info_1, u64 exit_info_2) sev_es_ghcb_hv_call() argument
546 vc_handle_rdtsc(struct ghcb *ghcb, struct es_em_ctxt *ctxt, unsigned long exit_code) vc_handle_rdtsc() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
H A Dsev-es.c183 void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code) in do_boot_stage2_vc() argument
192 result = vc_init_em_ctxt(&ctxt, regs, exit_code); in do_boot_stage2_vc()
196 switch (exit_code) { in do_boot_stage2_vc()
199 result = vc_handle_rdtsc(boot_ghcb, &ctxt, exit_code); in do_boot_stage2_vc()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dptrace.h29 #define arch_ptrace_stop_needed(exit_code, info) \
34 #define arch_ptrace_stop(exit_code, info) \
132 #define arch_ptrace_stop_needed(exit_code, info) \
137 #define arch_ptrace_stop(exit_code, info) \
/kernel/linux/linux-5.10/include/linux/
H 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()
/kernel/linux/linux-6.6/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}
/kernel/uniproton/build/uniproton_ci_lib/
H A Dlogs.py37 exit_code = os.system('cd %s && %s' % (cwd, cmd))
38 if exit_code != 0:
43 return exit_code
/kernel/linux/linux-5.10/Documentation/sphinx/
H A Dkfigure.py308 exit_code = 42
311 exit_code = subprocess.call(cmd, stdout = out)
312 if exit_code != 0:
314 "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
315 return bool(exit_code == 0)
329 exit_code = subprocess.call(cmd)
330 if exit_code != 0:
331 kernellog.warn(app, "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
332 return bool(exit_code == 0)
/kernel/linux/linux-6.6/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()

Completed in 9 milliseconds

12345