Home
last modified time | relevance | path

Searched refs:retcode (Results 1 – 25 of 64) sorted by relevance

123

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_nl.c777 return retcode; in drbd_adm_set_role()
1514 return retcode; in drbd_adm_disk_opts()
1744 return retcode; in drbd_adm_attach()
2174 return retcode; in drbd_adm_detach()
2376 return retcode; in drbd_adm_net_opts()
2523 return retcode; in drbd_adm_connect()
2731 return retcode; in drbd_adm_disconnect()
2790 return retcode; in drbd_adm_resize()
2920 return retcode; in drbd_adm_resource_opts()
2957 return retcode; in drbd_adm_invalidate()
[all …]
/openbmc/qemu/crypto/
H A Dsecret_keyring.c45 long retcode; in qcrypto_secret_keyring_load_data() local
55 retcode = keyctl_read(secret->serial, NULL, 0); in qcrypto_secret_keyring_load_data()
56 if (retcode <= 0) { in qcrypto_secret_keyring_load_data()
60 buffer = g_new0(uint8_t, retcode); in qcrypto_secret_keyring_load_data()
62 retcode = keyctl_read(secret->serial, buffer, retcode); in qcrypto_secret_keyring_load_data()
63 if (retcode < 0) { in qcrypto_secret_keyring_load_data()
68 *outputlen = retcode; in qcrypto_secret_keyring_load_data()
/openbmc/linux/arch/sh/kernel/
H A Dsignal_32.c66 u16 retcode[8]; member
73 u16 retcode[8]; member
296 err |= __put_user(MOVW(7), &frame->retcode[0]); in setup_frame()
298 err |= __put_user(OR_R0_R0, &frame->retcode[2]); in setup_frame()
299 err |= __put_user(OR_R0_R0, &frame->retcode[3]); in setup_frame()
300 err |= __put_user(OR_R0_R0, &frame->retcode[4]); in setup_frame()
301 err |= __put_user(OR_R0_R0, &frame->retcode[5]); in setup_frame()
302 err |= __put_user(OR_R0_R0, &frame->retcode[6]); in setup_frame()
304 regs->pr = (unsigned long) frame->retcode; in setup_frame()
366 err |= __put_user(MOVW(7), &frame->retcode[0]); in setup_rt_frame()
[all …]
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh288 retcode=$?
293 echo retcode=$retcode | tee -a $T/log
297 if test "$retcode" == 0
349 retcode=$?
351 if test "$retcode" -eq 0
356 retcode=$?
359 if test "$retcode" -eq 0
363 retcode="$?"
367 if test "$retcode" -eq 0
395 retcode=$?
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_ioctl.c391 retcode = -EINVAL; in drm_setversion()
403 if (retcode) in drm_setversion()
412 retcode = -EINVAL; in drm_setversion()
424 return retcode; in drm_setversion()
777 int retcode; in drm_ioctl_kernel() local
787 return retcode; in drm_ioctl_kernel()
798 return retcode; in drm_ioctl_kernel()
873 retcode = -EINVAL; in drm_ioctl()
888 retcode = -EFAULT; in drm_ioctl()
909 if (retcode) in drm_ioctl()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A Drun-ptest7 retcode=$?
8 if [ $retcode -eq 0 ]
10 elif [ $retcode -eq 77 ]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_do_redirect.c26 volatile int retcode = XDP_REDIRECT; variable
36 int ret = retcode; in xdp_redirect()
58 if (retcode > XDP_PASS) in xdp_redirect()
59 retcode--; in xdp_redirect()
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A D__init__.py13 def __init__(self, retcode, cmd, output = None): argument
14 self.retcode = retcode
18 …mand '%s' returned non-zero exit status %d with output: %s" % (self.cmd, self.retcode, self.output)
/openbmc/qemu/linux-user/cris/
H A Dsignal.c35 uint16_t retcode[4]; /* Trampoline code. */ member
43 uint16_t retcode[4]; /* Trampoline code. */ member
100 static void setup_sigreturn(uint16_t *retcode) in setup_sigreturn() argument
103 __put_user(0x9c5f, retcode + 0); in setup_sigreturn()
104 __put_user(TARGET_NR_sigreturn, retcode + 1); in setup_sigreturn()
105 __put_user(0xe93d, retcode + 2); in setup_sigreturn()
124 setup_sigreturn(frame->retcode); in setup_frame()
/openbmc/linux/arch/openrisc/kernel/
H A Dsignal.c34 unsigned char retcode[16]; /* trampoline code */ member
184 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame()
189 err |= __put_user(0xa960, (short __user *)(frame->retcode + 0)); in setup_rt_frame()
190 err |= __put_user(__NR_rt_sigreturn, (short __user *)(frame->retcode + 2)); in setup_rt_frame()
191 err |= __put_user(0x20000001, (unsigned long __user *)(frame->retcode + 4)); in setup_rt_frame()
192 err |= __put_user(0x15000000, (unsigned long __user *)(frame->retcode + 8)); in setup_rt_frame()
/openbmc/qemu/linux-user/arm/
H A Dsignal.c98 abi_ulong retcode[4]; member
107 QEMU_BUILD_BUG_ON(offsetof(struct sigframe, retcode[3])
109 QEMU_BUILD_BUG_ON(offsetof(struct rt_sigframe, sig.retcode[3])
179 abi_ulong retcode; in setup_return() local
214 retcode = default_sigreturn + (is_fdpic * 2 + is_rt) * 8; in setup_return()
223 write_arm_fdpic_sigreturn(frame->retcode, in setup_return()
227 write_arm_sigreturn(frame->retcode, in setup_return()
235 __put_user((abi_ulong)ka->sa_restorer, &frame->retcode[3]); in setup_return()
237 retcode = ka->sa_restorer; in setup_return()
246 env->regs[14] = retcode; in setup_return()
[all …]
/openbmc/linux/arch/sparc/math-emu/
H A Dmath_32.c165 int retcode = 0; /* assume all succeed */ in do_mathemu() local
183 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu()
184 if (retcode) { in do_mathemu()
190 return retcode; in do_mathemu()
195 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu()
196 if (!retcode) /* insn failed, no point doing any more */ in do_mathemu()
200 if (retcode) in do_mathemu()
206 return retcode; in do_mathemu()
/openbmc/openbmc/poky/scripts/
H A Dyocto-check-layer-wrapper43 retcode=$?
47 exit $retcode
/openbmc/linux/tools/time/
H A Dudelay_test.sh56 retcode=1
59 exit $retcode
/openbmc/linux/arch/x86/um/
H A Dsignal.c346 char retcode[8]; member
358 char retcode[8]; member
374 restorer = frame->retcode; in setup_signal_stack_sc()
392 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc()
393 err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_signal_stack_sc()
394 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_signal_stack_sc()
419 restorer = frame->retcode; in setup_signal_stack_si()
438 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_signal_stack_si()
439 err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_signal_stack_si()
440 err |= __put_user(0x80cd, (short __user *)(frame->retcode+5)); in setup_signal_stack_si()
/openbmc/linux/arch/alpha/kernel/
H A Dsignal.c128 unsigned int retcode[3]; member
135 unsigned int retcode[3]; member
347 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_frame()
348 err |= __put_user(INSN_LDI_R0+__NR_sigreturn, frame->retcode+1); in setup_frame()
349 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_frame()
351 r26 = (unsigned long) frame->retcode; in setup_frame()
401 err |= __put_user(INSN_MOV_R30_R16, frame->retcode+0); in setup_rt_frame()
403 frame->retcode+1); in setup_rt_frame()
404 err |= __put_user(INSN_CALLSYS, frame->retcode+2); in setup_rt_frame()
406 r26 = (unsigned long) frame->retcode; in setup_rt_frame()
/openbmc/u-boot/scripts/kconfig/tests/
H A Dconftest.py82 self.retcode = ps.returncode
89 if self.retcode == 0 and out_file:
102 print("[retcode]\n{}\n".format(self.retcode))
114 return self.retcode
/openbmc/linux/scripts/kconfig/tests/
H A Dconftest.py86 self.retcode = ps.returncode
93 if self.retcode == 0 and out_file:
106 print("[retcode]\n{}\n".format(self.retcode))
118 return self.retcode
/openbmc/linux/arch/x86/include/asm/
H A Dsigframe.h37 char retcode[8]; member
52 char retcode[8]; member
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c273 int retcode; in run_cpucg_weight_test() local
275 waitpid(children[i].pid, &retcode, 0); in run_cpucg_weight_test()
276 if (!WIFEXITED(retcode)) in run_cpucg_weight_test()
278 if (WEXITSTATUS(retcode)) in run_cpucg_weight_test()
483 int retcode; in run_cpucg_nested_weight_test() local
485 waitpid(leaf[i].pid, &retcode, 0); in run_cpucg_nested_weight_test()
486 if (!WIFEXITED(retcode)) in run_cpucg_nested_weight_test()
488 if (WEXITSTATUS(retcode)) in run_cpucg_nested_weight_test()
/openbmc/qemu/tests/image-fuzzer/
H A Drunner.py187 retcode = run_app(temp_log, cmd)
188 if retcode == 0:
245 retcode = run_app(temp_log, current_cmd)
253 if retcode < 0:
256 % (test_summary, str_signal(-retcode)),
263 "'%d'\n\n" % (test_summary, retcode),
/openbmc/linux/drivers/accel/
H A Ddrm_accel.c231 int retcode; in accel_open() local
244 retcode = drm_open_helper(filp, minor); in accel_open()
245 if (retcode) in accel_open()
253 return retcode; in accel_open()
/openbmc/linux/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c82 s32 retcode; in qca_tty_receive() local
84 retcode = qcafrm_fsm_decode(&qca->frm_handle, in qca_tty_receive()
89 switch (retcode) { in qca_tty_receive()
105 n_stats->rx_bytes += retcode; in qca_tty_receive()
106 skb_put(qca->rx_skb, retcode); in qca_tty_receive()
/openbmc/linux/arch/arm/kernel/
H A Dsignal.c326 unsigned long retcode; in setup_return() local
377 retcode = (unsigned long)ksig->ka.sa.sa_restorer; in setup_return()
392 __put_user(retcode, rc+3)) in setup_return()
419 retcode = mm->context.sigpage + signal_return_offset + in setup_return()
431 retcode = ((unsigned long)rc) + thumb; in setup_return()
437 regs->ARM_lr = retcode; in setup_return()
462 err = setup_return(regs, ksig, frame->retcode, frame); in setup_frame()
484 err = setup_return(regs, ksig, frame->sig.retcode, frame); in setup_rt_frame()
/openbmc/u-boot/drivers/mtd/
H A Dcfi_flash.c610 int retcode; in flash_full_status_check() local
619 retcode = ERR_INVAL; in flash_full_status_check()
646 return retcode; in flash_full_status_check()
877 int retcode; in flash_write_cfibuffer() local
900 retcode = ERR_INVAL; in flash_write_cfibuffer()
1026 retcode = ERR_INVAL; in flash_write_cfibuffer()
1044 retcode = ERR_INVAL; in flash_write_cfibuffer()
1049 return retcode; in flash_write_cfibuffer()
1481 int retcode = 0; in flash_real_protect() local
1583 if (retcode == 0) { in flash_real_protect()
[all …]

123