Home
last modified time | relevance | path

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

12

/mirbsd/src/gnu/usr.bin/perl/os2/
Ddl_os2.c10 static ULONG retcode; variable
97 retcode = rc; in dlopen()
103 retcode = rc; in dlopen()
109 retcode = ERROR_MOD_NOT_FOUND; in dlopen()
116 retcode = rc; in dlopen()
159 retcode = rc; in dlsym()
170 if (retcode == 0) in dlerror()
172 if (retcode == ERROR_WRONG_PROCTYPE) in dlerror()
175 err = os2error(retcode); in dlerror()
182 retcode = 0; in dlerror()
[all …]
/mirbsd/src/sbin/raidctl/
Drf_configure.c162 int numscanned, val, r, c, retcode, aa, bb, cc; in rf_MakeConfig() local
177 retcode = -1; in rf_MakeConfig()
189 retcode = -1; in rf_MakeConfig()
245 retcode = -1; in rf_MakeConfig()
253 retcode = -1; in rf_MakeConfig()
267 retcode = -1; in rf_MakeConfig()
276 retcode = -1; in rf_MakeConfig()
281 retcode = -1; in rf_MakeConfig()
290 retcode = -1; in rf_MakeConfig()
297 retcode = -1; in rf_MakeConfig()
[all …]
/mirbsd/src/sys/dev/raidframe/
Drf_openbsdkintf.c493 int retcode; in rf_buildroothack() local
506 retcode = rf_auto_config_set(cset,&raidID); in rf_buildroothack()
507 if (!retcode) { in rf_buildroothack()
520 " raid%d\n", retcode, raidID); in rf_buildroothack()
889 int retcode = 0; in raidioctl() local
976 retcode = copyin((caddr_t)u_cfg, (caddr_t)k_cfg, in raidioctl()
978 if (retcode) { in raidioctl()
980 return (retcode); in raidioctl()
999 retcode = copyin(k_cfg->layoutSpecific, in raidioctl()
1001 if (retcode) { in raidioctl()
[all …]
Drf_dagutils.c525 int i, retcode = 0; in rf_ValidateBranch() local
533 retcode = 1; in rf_ValidateBranch()
537 retcode = 1; in rf_ValidateBranch()
541 retcode = 1; in rf_ValidateBranch()
547 retcode = 1; in rf_ValidateBranch()
553 retcode = 1; in rf_ValidateBranch()
560 retcode = 1; in rf_ValidateBranch()
568 retcode = 1; in rf_ValidateBranch()
576 retcode = 1; in rf_ValidateBranch()
580 return (retcode); in rf_ValidateBranch()
[all …]
Drf_dagfuncs.c483 int i, retcode; in rf_RegularXorFunc() local
485 retcode = 0; in rf_RegularXorFunc()
491 retcode = rf_XorIntoBuffer(raidPtr, in rf_RegularXorFunc()
502 return (rf_GenericWakeupFunc(node, retcode)); in rf_RegularXorFunc()
510 int i, retcode = 0; in rf_SimpleXorFunc() local
519 retcode = rf_bxor((char *) in rf_SimpleXorFunc()
532 return (rf_GenericWakeupFunc(node, retcode)); in rf_SimpleXorFunc()
550 int i, retcode = 0; in rf_RecoveryXorFunc() local
569 retcode = rf_bxor(srcbuf, destbuf, in rf_RecoveryXorFunc()
577 return (rf_GenericWakeupFunc(node, retcode)); in rf_RecoveryXorFunc()
[all …]
Drf_copyback.c93 int done, retcode; in rf_CopybackReconstructedData() local
150 retcode = raidlookup(raidPtr->Disks[frow][fcol].devname, proc, &vp); in rf_CopybackReconstructedData()
152 if (retcode) { in rf_CopybackReconstructedData()
154 raidPtr->Disks[frow][fcol].devname, retcode); in rf_CopybackReconstructedData()
169 if ((retcode = VOP_GETATTR(vp, &va, proc->p_ucred, proc)) != 0) in rf_CopybackReconstructedData()
173 retcode = VOP_IOCTL(vp, DIOCGPART, (caddr_t) &dpart, FREAD, in rf_CopybackReconstructedData()
175 if (retcode) { in rf_CopybackReconstructedData()
211 retcode = rf_SCSI_DoTUR(tur_op, bus, targ, lun, badDisk->dev); in rf_CopybackReconstructedData()
215 if (retcode) { in rf_CopybackReconstructedData()
Drf_reconstruct.c478 int retcode; in rf_ReconstructInPlace() local
586 retcode = raidlookup(raidPtr->Disks[row][col].devname, in rf_ReconstructInPlace()
589 if (retcode) { in rf_ReconstructInPlace()
592 raidPtr->Disks[row][col].devname, retcode); in rf_ReconstructInPlace()
600 return(retcode); in rf_ReconstructInPlace()
609 if ((retcode = in rf_ReconstructInPlace()
613 return(retcode); in rf_ReconstructInPlace()
615 retcode = VOP_IOCTL(vp, DIOCGPART, (caddr_t) & dpart, in rf_ReconstructInPlace()
617 if (retcode) { in rf_ReconstructInPlace()
620 return(retcode); in rf_ReconstructInPlace()
[all …]
Drf_parityscan.c196 int i, retcode; in rf_VerifyParityBasic() local
204 retcode = RF_PARITY_OKAY; in rf_VerifyParityBasic()
267 retcode = RF_PARITY_COULD_NOT_VERIFY; in rf_VerifyParityBasic()
286 retcode = RF_PARITY_BAD; in rf_VerifyParityBasic()
291 if (retcode && correct_it) { in rf_VerifyParityBasic()
317 retcode = RF_PARITY_COULD_NOT_CORRECT; in rf_VerifyParityBasic()
320 if (retcode == RF_PARITY_BAD) in rf_VerifyParityBasic()
321 retcode = RF_PARITY_CORRECTED; in rf_VerifyParityBasic()
328 return (retcode); in rf_VerifyParityBasic()
Drf_decluster.c751 int retcode; in rf_InstallSpareTable() local
764 retcode = rf_GetSpareTableFromDaemon(req); in rf_InstallSpareTable()
765 RF_ASSERT(!retcode); in rf_InstallSpareTable()
768 return (retcode); in rf_InstallSpareTable()
780 int i, retcode; in rf_SetSpareTable() local
788 retcode = copyin((caddr_t) data, (caddr_t) ptrs, in rf_SetSpareTable()
791 if (retcode) in rf_SetSpareTable()
792 return (retcode); in rf_SetSpareTable()
804 retcode = copyin(ptrs[i], info->SpareTable[i], in rf_SetSpareTable()
806 if (retcode) { in rf_SetSpareTable()
[all …]
Drf_evenodd.c462 int i, retcode; in rf_VerifyParityEvenOdd() local
470 retcode = RF_PARITY_OKAY; in rf_VerifyParityEvenOdd()
549 retcode = RF_PARITY_COULD_NOT_VERIFY; in rf_VerifyParityEvenOdd()
591 retcode = RF_PARITY_BAD; in rf_VerifyParityEvenOdd()
662 retcode = RF_PARITY_COULD_NOT_CORRECT; in rf_VerifyParityEvenOdd()
663 if ((retcode = RF_PARITY_BAD) && parity_corrected && red2_corrected) in rf_VerifyParityEvenOdd()
664 retcode = RF_PARITY_CORRECTED; in rf_VerifyParityEvenOdd()
672 return (retcode); in rf_VerifyParityEvenOdd()
Drf_stripelocks.c274 int retcode = 0; in rf_AcquireStripeLock() local
347 retcode = 0; in rf_AcquireStripeLock()
350 retcode = 1; in rf_AcquireStripeLock()
353 if (!retcode) in rf_AcquireStripeLock()
357 retcode = 2; in rf_AcquireStripeLock()
360 if (!retcode) { in rf_AcquireStripeLock()
384 tid, stripeID, retcode); in rf_AcquireStripeLock()
395 return (retcode); in rf_AcquireStripeLock()
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Df-typeprint.c163 int retcode; in f_type_print_varspec_suffix() local
184 retcode = f77_get_dynamic_lowerbound (type, &lower_bound); in f_type_print_varspec_suffix()
188 if (retcode == BOUND_FETCH_ERROR) in f_type_print_varspec_suffix()
207 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_varspec_suffix()
209 if (retcode == BOUND_FETCH_ERROR) in f_type_print_varspec_suffix()
291 int retcode; in f_type_print_base() local
387 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_base()
389 if (retcode == BOUND_FETCH_ERROR) in f_type_print_base()
Df-valprint.c193 int retcode; in f77_get_dynamic_length_of_aggregate() local
209 retcode = f77_get_dynamic_lowerbound (type, &lower_bound); in f77_get_dynamic_length_of_aggregate()
210 if (retcode == BOUND_FETCH_ERROR) in f77_get_dynamic_length_of_aggregate()
213 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f77_get_dynamic_length_of_aggregate()
214 if (retcode == BOUND_FETCH_ERROR) in f77_get_dynamic_length_of_aggregate()
232 int upper, lower, retcode; in f77_create_arrayprint_offset_tbl() local
241 retcode = f77_get_dynamic_upperbound (tmp_type, &upper); in f77_create_arrayprint_offset_tbl()
242 if (retcode == BOUND_FETCH_ERROR) in f77_create_arrayprint_offset_tbl()
245 retcode = f77_get_dynamic_lowerbound (tmp_type, &lower); in f77_create_arrayprint_offset_tbl()
246 if (retcode == BOUND_FETCH_ERROR) in f77_create_arrayprint_offset_tbl()
Dremote-fileio.c515 remote_fileio_reply (int retcode, int error) in remote_fileio_reply() argument
521 if (retcode < 0) in remote_fileio_reply()
524 retcode = -retcode; in remote_fileio_reply()
526 sprintf (buf + strlen (buf), "%x", retcode); in remote_fileio_reply()
557 remote_fileio_return_errno (int retcode) in remote_fileio_return_errno() argument
559 remote_fileio_reply (retcode, in remote_fileio_return_errno()
560 retcode < 0 ? remote_fileio_errno_to_target (errno) : 0); in remote_fileio_return_errno()
564 remote_fileio_return_success (int retcode) in remote_fileio_return_success() argument
566 remote_fileio_reply (retcode, 0); in remote_fileio_return_success()
/mirbsd/src/gnu/usr.bin/perl/ext/DynaLoader/
Ddl_beos.xs67 status_t retcode;
76 retcode = get_image_symbol((image_id) libhandle, symbolname,
83 SaveError(aTHX_ "%s", strerror(retcode)) ;
84 PerlIO_printf(Perl_debug_log, "retcode = %p (%s)\n", retcode, strerror(retcode));
/mirbsd/src/gnu/usr.bin/cvs/src/
Dcommit.c1694 int retcode; in remove_file() local
1707 retcode = 0; in remove_file()
1716 if ((retcode = RCS_deltag (finfo->rcs, tag)) != 0) in remove_file()
1719 error (0, retcode == -1 ? errno : 0, in remove_file()
1781 retcode = RCS_checkout (finfo->rcs, finfo->file, rev ? corev : NULL, in remove_file()
1783 if (retcode != 0) in remove_file()
1801 retcode = RCS_checkin (finfo->rcs, NULL, finfo->file, message, in remove_file()
1803 if (retcode != 0) in remove_file()
1806 error (0, retcode == -1 ? errno : 0, in remove_file()
1880 int retcode; in unlockrcs() local
[all …]
Dno_diff.c31 int retcode = 0; in No_Difference() local
56 retcode = RCS_cmp_file (vers->srcfile, vers->vn_user, NULL, NULL, options, in No_Difference()
58 if (retcode == 0) in No_Difference()
Dtag.c940 int retcode = 0; in rtag_fileproc() local
1006 retcode = RCS_settag(rcsfile, symtag, numtag); in rtag_fileproc()
1007 if (retcode == 0) in rtag_fileproc()
1066 retcode = RCS_settag (rcsfile, symtag, rev); in rtag_fileproc()
1067 if (retcode == 0) in rtag_fileproc()
1071 if (retcode != 0) in rtag_fileproc()
1073 error (1, retcode == -1 ? errno : 0, in rtag_fileproc()
1108 int retcode, isbranch; in rtag_delete() local
1137 if ((retcode = RCS_deltag(rcsfile, symtag)) != 0) in rtag_delete()
1140 error (0, retcode == -1 ? errno : 0, in rtag_delete()
[all …]
Ddiff.c730 int retcode; in diff_fileproc() local
733 retcode = RCS_checkout (vers->srcfile, NULL, use_rev2, NULL, in diff_fileproc()
736 if (retcode != 0) in diff_fileproc()
745 int retcode; in diff_fileproc() local
748 retcode = RCS_checkout (vers->srcfile, NULL, use_rev1, NULL, in diff_fileproc()
751 if (retcode != 0) in diff_fileproc()
896 int retcode; in diff_file_nodiff() local
1133 retcode = RCS_cmp_file( vers->srcfile, use_rev1, rev1_cache, in diff_file_nodiff()
1137 return retcode == 0 ? DIFF_SAME : DIFF_DIFFERENT; in diff_file_nodiff()
Dmkmodules.c875 int retcode = 0; in checkout_file() local
897 retcode = RCS_checkout (rcsnode, NULL, NULL, NULL, NULL, temp, NULL, NULL); in checkout_file()
898 if (retcode != 0) in checkout_file()
907 return retcode; in checkout_file()
1226 int retcode; in init() local
1243 retcode = add_rcs_file ("initial checkin", info_v, in init()
1250 if (retcode != 0) in init()
Dupdate.c1523 int retcode = 0; in patch_file() local
1613 retcode = RCS_checkout (vers_ts->srcfile, NULL, in patch_file()
1621 if (retcode != 0 || ! data.final_nl) in patch_file()
1636 retcode = RCS_checkout (vers_ts->srcfile, NULL, in patch_file()
1644 if (retcode != 0 || ! data.final_nl) in patch_file()
1650 retcode = 0; in patch_file()
1680 retcode = diff_exec (file1, file2, NULL, NULL, dargc, dargv, in patch_file()
1686 if (retcode != 0 && retcode != 1) in patch_file()
1775 if (retcode != 0 && retcode != 1) in patch_file()
1776 error (retcode == -1 ? 1 : 0, retcode == -1 ? old_errno : 0, in patch_file()
[all …]
/mirbsd/src/sbin/fsck/
Dpreen.c90 int ret, retcode, passno, sumstatus, status; in checkfstab() local
168 retcode = WEXITSTATUS(status); in checkfstab()
170 retcode = 0; in checkfstab()
184 retcode = 8; in checkfstab()
189 if (retcode != 0) { in checkfstab()
191 sumstatus |= retcode; in checkfstab()
/mirbsd/src/sys/dev/ic/
Dtropic.c817 u_char retcode; /* holds return value from status or request block */ local
854 retcode = SRB_INB(sc, srb, SRB_RETCODE);
863 if (retcode != 0xff)
865 sc->sc_dev.dv_xname, retcode);
870 if (retcode == 0) {
921 if (retcode != 0)
923 sc->sc_dev.dv_xname, retcode);
951 if (retcode != 0)
953 sc->sc_dev.dv_xname, retcode);
996 retcode = ASB_INB(sc, asb, CMD_RETCODE);
[all …]
/mirbsd/src/lib/libssl/src/crypto/ocsp/
Docsp_ht.c83 int len, retcode; in OCSP_sendreq_bio() local
137 retcode = strtoul(p, &r, 10); in OCSP_sendreq_bio()
146 if(retcode != 200) { in OCSP_sendreq_bio()
/mirbsd/src/gnu/usr.bin/binutils/binutils/
Ddllwrap.c357 int pid, wait_status, retcode; in run() local
417 retcode = 0; in run()
422 retcode = 1; in run()
427 retcode = 1; in run()
434 retcode = 1; in run()
438 retcode = 1; in run()
440 return retcode; in run()

12