Home
last modified time | relevance | path

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

12

/linux/drivers/block/drbd/
H A Ddrbd_nl.c304 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()
1497 enum drbd_ret_code retcode; in drbd_adm_disk_opts() local
1504 retcode = drbd_adm_prepare(&adm_ctx, skb, info, DRBD_ADM_NEED_MINOR); in drbd_adm_disk_opts()
[all …]
/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()
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/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh304 retcode=$?
309 echo retcode=$retcode | tee -a $T/log
313 if test "$retcode" == 0
315 echo "$curflavor($retcode)" $resdir >> $T/successes
317 echo "$curflavor($retcode)" $resdir >> $T/failures
365 retcode=$?
367 if test "$retcode" -eq 0
372 retcode=$?
375 if test "$retcode" -eq 0
379 retcode="$?"
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_ioctl.c397 int if_version, retcode = 0; in drm_setversion() local
403 retcode = -EINVAL; in drm_setversion()
414 retcode = drm_set_busid(dev, file_priv); in drm_setversion()
415 if (retcode) in drm_setversion()
424 retcode = -EINVAL; in drm_setversion()
436 return retcode; in drm_setversion()
770 int retcode = -EINVAL; in drm_ioctl() local
820 retcode = -EINVAL; in drm_ioctl()
829 retcode = -ENOMEM; in drm_ioctl()
835 retcode = -EFAULT; in drm_ioctl()
[all …]
H A Ddrm_file.c356 int retcode; in drm_open() local
371 retcode = drm_open_helper(filp, minor); in drm_open()
372 if (retcode) in drm_open()
385 return retcode; in drm_open()
/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()
/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()
/linux/arch/openrisc/kernel/
H A Dsignal.c35 unsigned char retcode[16]; /* trampoline code */ member
216 return_ip = (unsigned long)&frame->retcode; in setup_rt_frame()
221 err |= __put_user(0xa960, (short __user *)(frame->retcode + 0)); in setup_rt_frame()
222 err |= __put_user(__NR_rt_sigreturn, (short __user *)(frame->retcode + 2)); in setup_rt_frame()
223 err |= __put_user(0x20000001, (unsigned long __user *)(frame->retcode + 4)); in setup_rt_frame()
224 err |= __put_user(0x15000000, (unsigned long __user *)(frame->retcode + 8)); in setup_rt_frame()
/linux/drivers/accel/
H A Ddrm_accel.c134 int retcode; in accel_open() local
147 retcode = drm_open_helper(filp, minor); in accel_open()
148 if (retcode) in accel_open()
156 return retcode; in accel_open()
/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()
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c273 int retcode; in run_cpucg_weight_test()
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()
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()
271 int retcode; run_cpucg_weight_test() local
481 int retcode; run_cpucg_nested_weight_test() local
H A Dcgroup_util.c351 int pid, retcode; in cg_run() local
364 waitpid(pid, &retcode, 0); in cg_run()
365 if (WIFEXITED(retcode)) in cg_run()
366 return WEXITSTATUS(retcode); in cg_run()
/linux/tools/time/
H A Dudelay_test.sh56 retcode=1
59 exit $retcode
/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
/linux/arch/x86/include/asm/
H A Dsigframe.h37 char retcode[8]; member
52 char retcode[8]; member
/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()
H A Dsignal.h5 unsigned long retcode[4]; member
H A Dasm-offsets.c91 DEFINE(SIGFRAME_RC3_OFFSET, offsetof(struct sigframe, retcode[3])); in main()
92 DEFINE(RT_SIGFRAME_RC3_OFFSET, offsetof(struct rt_sigframe, sig.retcode[3])); in main()
/linux/arch/m68k/kernel/
H A Dsignal.c232 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/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c68 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()
/linux/drivers/usb/class/
H A Dusbtmc.c2365 int retcode; in usbtmc_probe() local
2396 retcode = usb_find_common_endpoints(iface_desc, in usbtmc_probe()
2398 if (retcode) { in usbtmc_probe()
2403 retcode = -EINVAL; in usbtmc_probe()
2414 retcode = usb_find_int_in_endpoint(iface_desc, &int_in); in usbtmc_probe()
2415 if (!retcode) { in usbtmc_probe()
2424 retcode = get_capabilities(data); in usbtmc_probe()
2425 if (retcode) in usbtmc_probe()
2432 retcode = -ENOMEM; in usbtmc_probe()
2443 retcode = -ENOMEM; in usbtmc_probe()
[all …]
/linux/arch/arm64/kernel/
H A Dsignal32.c319 compat_ulong_t retcode; in compat_setup_return() local
338 retcode = ptr_to_compat(ka->sa.sa_restorer); in compat_setup_return()
346 retcode = (unsigned long)current->mm->context.sigpage + in compat_setup_return()
352 regs->compat_lr = retcode; in compat_setup_return()
424 compat_setup_return(regs, &ksig->ka, frame->sig.retcode, frame, usig); in compat_setup_rt_frame()
447 compat_setup_return(regs, &ksig->ka, frame->retcode, frame, usig); in compat_setup_frame()
/linux/arch/xtensa/kernel/
H A Dsignal.c46 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/arch/arm64/include/asm/
H A Dsignal32.h49 compat_ulong_t retcode[2]; member
/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c1239 int retcode; in _hl_ioctl() local
1246 retcode = -ENOTTY; in _hl_ioctl()
1263 retcode = -ENOMEM; in _hl_ioctl()
1271 retcode = -EFAULT; in _hl_ioctl()
1276 retcode = func(hpriv, kdata); in _hl_ioctl()
1279 retcode = -EFAULT; in _hl_ioctl()
1282 if (retcode) { in _hl_ioctl()
1293 return retcode; in _hl_ioctl()

12