| /linux/drivers/block/drbd/ |
| H A D | drbd_nl.c | 304 struct genl_info *info, int retcode) in drbd_adm_finish() argument 322 adm_ctx->reply_dh->ret_code = retcode; in drbd_adm_finish() 772 enum drbd_ret_code retcode; in drbd_adm_set_role() local 775 retcode = drbd_adm_prepare(&adm_ctx, skb, info, DRBD_ADM_NEED_MINOR); in drbd_adm_set_role() 777 return retcode; in drbd_adm_set_role() 778 if (retcode != NO_ERROR) in drbd_adm_set_role() 785 retcode = ERR_MANDATORY_TAG; in drbd_adm_set_role() 803 drbd_adm_finish(&adm_ctx, info, retcode); in drbd_adm_set_role() 1516 enum drbd_ret_code retcode; in drbd_adm_disk_opts() local 1523 retcode = drbd_adm_prepare(&adm_ctx, skb, info, DRBD_ADM_NEED_MINOR); in drbd_adm_disk_opts() [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | torture.sh | 347 retcode=$? 352 echo retcode=$retcode | tee -a $T/log 356 if test "$retcode" == 0 358 echo "$curflavor($retcode)" $resdir >> $T/successes 360 echo "$curflavor($retcode)" $resdir >> $T/failures 426 retcode=$? 428 if test "$retcode" -eq 0 433 retcode=$? 436 if test "$retcode" [all...] |
| /linux/arch/sh/kernel/ |
| H A D | signal_32.c | 66 u16 retcode[8]; member 73 u16 retcode[8]; member 296 err |= __put_user(MOVW(7), &frame->retcode[0]); in setup_frame() 297 err |= __put_user(TRAP_NOARG, &frame->retcode[1]); 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() 303 err |= __put_user((__NR_sigreturn), &frame->retcode[7]); in setup_frame() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_ioctl.c | 404 int if_version, retcode = 0; in drm_setversion() local 410 retcode = -EINVAL; in drm_setversion() 421 retcode = drm_set_busid(dev, file_priv); in drm_setversion() 422 if (retcode) in drm_setversion() 431 retcode = -EINVAL; in drm_setversion() 443 return retcode; in drm_setversion() 829 int retcode = -EINVAL; in drm_ioctl() local 879 retcode = -EINVAL; in drm_ioctl() 888 retcode = -ENOMEM; in drm_ioctl() 894 retcode = -EFAULT; in drm_ioctl() [all …]
|
| H A D | drm_file.c | 373 int retcode; in drm_open() local 388 retcode = drm_open_helper(filp, minor); in drm_open() 389 if (retcode) in drm_open() 402 return retcode; in drm_open()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_do_redirect.c | 26 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()
|
| /linux/arch/sparc/math-emu/ |
| H A D | math_32.c | 165 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()
|
| /linux/arch/alpha/kernel/ |
| H A D | signal.c | 128 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()
|
| /linux/arch/x86/um/ |
| H A D | signal.c | 246 restorer = frame->retcode; in setup_signal_stack_sc() 269 err |= __put_user(0xb858, (short __user *)(frame->retcode+0)); in setup_signal_stack_sc() 270 err |= __put_user(__NR_sigreturn, (int __user *)(frame->retcode+2)); in setup_signal_stack_sc() 271 err |= __put_user(0x80cd, (short __user *)(frame->retcode+6)); in setup_signal_stack_sc() 302 restorer = frame->retcode; in setup_signal_stack_si() 324 err |= __put_user(0xb8, (char __user *)(frame->retcode+0)); in setup_signal_stack_si() 325 err |= __put_user(__NR_rt_sigreturn, (int __user *)(frame->retcode+1)); in setup_signal_stack_si() 326 err |= __put_user(0x80cd, (short __user *)(frame->retcode+5)); in setup_signal_stack_si()
|
| /linux/scripts/kconfig/tests/ |
| H A D | conftest.py | 101 self.retcode = ps.returncode 108 if self.retcode == 0 and out_file: 121 print("[retcode]\n{}\n".format(self.retcode)) 133 return self.retcode
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_cpu.c | 348 int retcode; in run_cpucg_weight_test() local 350 waitpid(children[i].pid, &retcode, 0); in run_cpucg_weight_test() 351 if (!WIFEXITED(retcode)) in run_cpucg_weight_test() 353 if (WEXITSTATUS(retcode)) in run_cpucg_weight_test() 558 int retcode; in run_cpucg_nested_weight_test() local 560 waitpid(leaf[i].pid, &retcode, 0); in run_cpucg_nested_weight_test() 561 if (!WIFEXITED(retcode)) in run_cpucg_nested_weight_test() 563 if (WEXITSTATUS(retcode)) in run_cpucg_nested_weight_test()
|
| H A D | cgroup_util.c | |
| /linux/tools/time/ |
| H A D | udelay_test.sh | 56 retcode=1 59 exit $retcode
|
| /linux/arch/m68k/kernel/ |
| H A D | signal.c | 232 char retcode[8]; member 243 char retcode[8]; member 910 err |= __put_user(frame->retcode, &frame->pretcode); in setup_frame() 913 (long __user *)(frame->retcode)); in setup_frame() 922 push_cache ((unsigned long) &frame->retcode); in setup_frame() 982 err |= __put_user(frame->retcode, &frame->pretcode); in setup_rt_frame() 985 err |= __put_user(0x203c0000, (long __user *)(frame->retcode + 0)); in setup_rt_frame() 987 (long __user *)(frame->retcode + 4)); in setup_rt_frame() 991 (long __user *)(frame->retcode + 0)); in setup_rt_frame() 992 err |= __put_user(0x4e40, (short __user *)(frame->retcode + 4)); in setup_rt_frame() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | sigframe.h | 37 char retcode[8]; member 52 char retcode[8]; member
|
| /linux/drivers/net/ethernet/qualcomm/ |
| H A D | qca_uart.c | 68 s32 retcode; in qca_tty_receive() local 70 retcode = qcafrm_fsm_decode(&qca->frm_handle, in qca_tty_receive() 75 switch (retcode) { in qca_tty_receive() 91 n_stats->rx_bytes += retcode; in qca_tty_receive() 92 skb_put(qca->rx_skb, retcode); in qca_tty_receive()
|
| H A D | qca_spi.c | 398 s32 retcode; in qcaspi_receive() local 400 retcode = qcafrm_fsm_decode(&qca->frm_handle, in qcaspi_receive() 405 switch (retcode) { in qcaspi_receive() 422 n_stats->rx_bytes += retcode; in qcaspi_receive() 423 skb_put(qca->rx_skb, retcode); in qcaspi_receive()
|
| /linux/drivers/usb/class/ |
| H A D | usbtmc.c | 2377 int retcode; in usbtmc_probe() local 2408 retcode = usb_find_common_endpoints(iface_desc, in usbtmc_probe() 2410 if (retcode) { in usbtmc_probe() 2415 retcode = -EINVAL; in usbtmc_probe() 2426 retcode = usb_find_int_in_endpoint(iface_desc, &int_in); in usbtmc_probe() 2427 if (!retcode) { in usbtmc_probe() 2436 retcode = get_capabilities(data); in usbtmc_probe() 2437 if (retcode) in usbtmc_probe() 2444 retcode = -ENOMEM; in usbtmc_probe() 2455 retcode in usbtmc_probe() 2552 int retcode = 0; usbtmc_resume() local [all...] |
| /linux/tools/testing/selftests/cgroup/lib/ |
| H A D | cgroup_util.c | 394 int pid, retcode; in clone_into_cgroup() 407 waitpid(pid, &retcode, 0); in clone_into_cgroup() 408 if (WIFEXITED(retcode)) in clone_into_cgroup() 409 return WEXITSTATUS(retcode); in clone_into_cgroup() 373 int pid, retcode; cg_run() local
|
| /linux/arch/arm/kernel/ |
| H A D | signal.h | 5 unsigned long retcode[4]; member
|
| H A D | asm-offsets.c | 93 DEFINE(SIGFRAME_RC3_OFFSET, offsetof(struct sigframe, retcode[3])); in main() 94 DEFINE(RT_SIGFRAME_RC3_OFFSET, offsetof(struct rt_sigframe, sig.retcode[3])); in main()
|
| /linux/arch/xtensa/kernel/ |
| H A D | signal.c | 46 unsigned char retcode[6]; member 402 err |= gen_return_code(frame->retcode); in setup_frame() 403 ra = (unsigned long) frame->retcode; in setup_frame()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | habanalabs_ioctl.c | 1243 int retcode; in _hl_ioctl() local 1250 retcode = -ENOTTY; in _hl_ioctl() 1267 retcode = -ENOMEM; in _hl_ioctl() 1275 retcode = -EFAULT; in _hl_ioctl() 1280 retcode = func(hpriv, kdata); in _hl_ioctl() 1283 retcode = -EFAULT; in _hl_ioctl() 1286 if (retcode) in _hl_ioctl() 1294 return retcode; in _hl_ioctl()
|
| /linux/arch/arm64/include/asm/ |
| H A D | signal32.h | 49 compat_ulong_t retcode[2]; member
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_chardev.c | 3341 int retcode = -EINVAL; in kfd_ioctl() local 3345 retcode = -ENOTTY; in kfd_ioctl() 3361 retcode = -ENOTTY; in kfd_ioctl() 3382 retcode = -EBADF; in kfd_ioctl() 3391 retcode = -EINVAL; in kfd_ioctl() 3403 retcode = -EACCES; in kfd_ioctl() 3414 retcode = -ENOMEM; in kfd_ioctl() 3424 retcode = -EFAULT; in kfd_ioctl() 3431 retcode = func(filep, process, kdata); in kfd_ioctl() 3435 retcode = -EFAULT; in kfd_ioctl() [all …]
|