retcode 93 dev/raidframe/rf_copyback.c int done, retcode;
retcode 150 dev/raidframe/rf_copyback.c retcode = raidlookup(raidPtr->Disks[frow][fcol].devname, proc, &vp);
retcode 152 dev/raidframe/rf_copyback.c if (retcode) {
retcode 154 dev/raidframe/rf_copyback.c raidPtr->Disks[frow][fcol].devname, retcode);
retcode 169 dev/raidframe/rf_copyback.c if ((retcode = VOP_GETATTR(vp, &va, proc->p_ucred, proc)) != 0)
retcode 173 dev/raidframe/rf_copyback.c retcode = VOP_IOCTL(vp, DIOCGPART, (caddr_t) &dpart, FREAD,
retcode 175 dev/raidframe/rf_copyback.c if (retcode) {
retcode 211 dev/raidframe/rf_copyback.c retcode = rf_SCSI_DoTUR(tur_op, bus, targ, lun, badDisk->dev);
retcode 215 dev/raidframe/rf_copyback.c if (retcode) {
retcode 483 dev/raidframe/rf_dagfuncs.c int i, retcode;
retcode 485 dev/raidframe/rf_dagfuncs.c retcode = 0;
retcode 491 dev/raidframe/rf_dagfuncs.c retcode = rf_XorIntoBuffer(raidPtr,
retcode 502 dev/raidframe/rf_dagfuncs.c return (rf_GenericWakeupFunc(node, retcode));
retcode 510 dev/raidframe/rf_dagfuncs.c int i, retcode = 0;
retcode 519 dev/raidframe/rf_dagfuncs.c retcode = rf_bxor((char *)
retcode 532 dev/raidframe/rf_dagfuncs.c return (rf_GenericWakeupFunc(node, retcode));
retcode 550 dev/raidframe/rf_dagfuncs.c int i, retcode = 0;
retcode 569 dev/raidframe/rf_dagfuncs.c retcode = rf_bxor(srcbuf, destbuf,
retcode 577 dev/raidframe/rf_dagfuncs.c return (rf_GenericWakeupFunc(node, retcode));
retcode 602 dev/raidframe/rf_dagfuncs.c int length, retcode = 0;
retcode 608 dev/raidframe/rf_dagfuncs.c retcode = rf_bxor(srcbuf, targptr, length, bp);
retcode 609 dev/raidframe/rf_dagfuncs.c return (retcode);
retcode 621 dev/raidframe/rf_dagfuncs.c unsigned mask = sizeof(long) - 1, retcode = 0;
retcode 625 dev/raidframe/rf_dagfuncs.c retcode = rf_longword_bxor((unsigned long *) src,
retcode 630 dev/raidframe/rf_dagfuncs.c return (retcode);
retcode 525 dev/raidframe/rf_dagutils.c int i, retcode = 0;
retcode 533 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 537 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 541 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 547 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 553 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 560 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 568 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 576 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 580 dev/raidframe/rf_dagutils.c return (retcode);
retcode 644 dev/raidframe/rf_dagutils.c int retcode = 0;
retcode 654 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 659 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 665 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 672 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 686 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 696 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 702 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 710 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 718 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 728 dev/raidframe/rf_dagutils.c retcode = 1;
retcode 736 dev/raidframe/rf_dagutils.c if (retcode)
retcode 742 dev/raidframe/rf_dagutils.c return (retcode);
retcode 746 dev/raidframe/rf_dagutils.c return (retcode);
retcode 751 dev/raidframe/rf_decluster.c int retcode;
retcode 764 dev/raidframe/rf_decluster.c retcode = rf_GetSpareTableFromDaemon(req);
retcode 765 dev/raidframe/rf_decluster.c RF_ASSERT(!retcode);
retcode 768 dev/raidframe/rf_decluster.c return (retcode);
retcode 780 dev/raidframe/rf_decluster.c int i, retcode;
retcode 788 dev/raidframe/rf_decluster.c retcode = copyin((caddr_t) data, (caddr_t) ptrs,
retcode 791 dev/raidframe/rf_decluster.c if (retcode)
retcode 792 dev/raidframe/rf_decluster.c return (retcode);
retcode 804 dev/raidframe/rf_decluster.c retcode = copyin(ptrs[i], info->SpareTable[i],
retcode 806 dev/raidframe/rf_decluster.c if (retcode) {
retcode 809 dev/raidframe/rf_decluster.c return (retcode);
retcode 642 dev/raidframe/rf_disks.c int retcode;
retcode 650 dev/raidframe/rf_disks.c retcode = 0;
retcode 768 dev/raidframe/rf_engine.c int retcode = RF_FALSE;
retcode 772 dev/raidframe/rf_engine.c return (retcode);
retcode 462 dev/raidframe/rf_evenodd.c int i, retcode;
retcode 470 dev/raidframe/rf_evenodd.c retcode = RF_PARITY_OKAY;
retcode 549 dev/raidframe/rf_evenodd.c retcode = RF_PARITY_COULD_NOT_VERIFY;
retcode 591 dev/raidframe/rf_evenodd.c retcode = RF_PARITY_BAD;
retcode 662 dev/raidframe/rf_evenodd.c retcode = RF_PARITY_COULD_NOT_CORRECT;
retcode 663 dev/raidframe/rf_evenodd.c if ((retcode = RF_PARITY_BAD) && parity_corrected && red2_corrected)
retcode 664 dev/raidframe/rf_evenodd.c retcode = RF_PARITY_CORRECTED;
retcode 672 dev/raidframe/rf_evenodd.c return (retcode);
retcode 121 dev/raidframe/rf_evenodd_dagfuncs.c int i, k, retcode = 0;
retcode 144 dev/raidframe/rf_evenodd_dagfuncs.c retcode = rf_bxor(node->params[k + EpdaIndex + 3].p,
retcode 171 dev/raidframe/rf_evenodd_dagfuncs.c retcode = rf_bxor(node->params[k + EpdaIndex + 3].p,
retcode 189 dev/raidframe/rf_evenodd_dagfuncs.c int retcode = 0;
retcode 204 dev/raidframe/rf_evenodd_dagfuncs.c retcode = rf_bxor(node->params[5].p, node->params[1].p,
retcode 223 dev/raidframe/rf_evenodd_dagfuncs.c return (rf_GenericWakeupFunc(node, retcode)); /*
retcode 480 dev/raidframe/rf_openbsdkintf.c int retcode;
retcode 493 dev/raidframe/rf_openbsdkintf.c retcode = rf_auto_config_set(cset,&raidID);
retcode 494 dev/raidframe/rf_openbsdkintf.c if (!retcode) {
retcode 507 dev/raidframe/rf_openbsdkintf.c " raid%d\n", retcode, raidID);
retcode 862 dev/raidframe/rf_openbsdkintf.c int retcode = 0;
retcode 949 dev/raidframe/rf_openbsdkintf.c retcode = copyin((caddr_t)u_cfg, (caddr_t)k_cfg,
retcode 951 dev/raidframe/rf_openbsdkintf.c if (retcode) {
retcode 953 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 972 dev/raidframe/rf_openbsdkintf.c retcode = copyin(k_cfg->layoutSpecific,
retcode 974 dev/raidframe/rf_openbsdkintf.c if (retcode) {
retcode 978 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1000 dev/raidframe/rf_openbsdkintf.c retcode = rf_Configure(raidPtr, k_cfg, NULL);
retcode 1002 dev/raidframe/rf_openbsdkintf.c if (retcode == 0) {
retcode 1020 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1042 dev/raidframe/rf_openbsdkintf.c if ((retcode = rf_Shutdown(raidPtr)) == 0) {
retcode 1058 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1078 dev/raidframe/rf_openbsdkintf.c retcode = copyin( *clabel_ptr, clabel,
retcode 1081 dev/raidframe/rf_openbsdkintf.c if (retcode) {
retcode 1083 dev/raidframe/rf_openbsdkintf.c return(retcode);
retcode 1098 dev/raidframe/rf_openbsdkintf.c retcode = copyout((caddr_t) clabel,
retcode 1102 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1172 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1188 dev/raidframe/rf_openbsdkintf.c retcode = RF_CREATE_THREAD(raidPtr->parity_rewrite_thread,
retcode 1192 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1198 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1204 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1210 dev/raidframe/rf_openbsdkintf.c retcode = rf_add_hot_spare(raidPtr, &hot_spare);
retcode 1211 dev/raidframe/rf_openbsdkintf.c return(retcode);
retcode 1214 dev/raidframe/rf_openbsdkintf.c return(retcode);
retcode 1220 dev/raidframe/rf_openbsdkintf.c retcode = rf_delete_component(raidPtr, &component);
retcode 1221 dev/raidframe/rf_openbsdkintf.c return(retcode);
retcode 1227 dev/raidframe/rf_openbsdkintf.c retcode = rf_incorporate_hot_spare(raidPtr, &component);
retcode 1228 dev/raidframe/rf_openbsdkintf.c return(retcode);
retcode 1261 dev/raidframe/rf_openbsdkintf.c retcode = RF_CREATE_THREAD(raidPtr->recon_thread,
retcode 1265 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1299 dev/raidframe/rf_openbsdkintf.c retcode = copyout((caddr_t) d_cfg, (caddr_t) * ucfgp,
retcode 1303 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1347 dev/raidframe/rf_openbsdkintf.c retcode = RF_CREATE_THREAD(raidPtr->recon_thread,
retcode 1367 dev/raidframe/rf_openbsdkintf.c retcode = RF_CREATE_THREAD(raidPtr->copyback_thread,
retcode 1370 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1405 dev/raidframe/rf_openbsdkintf.c retcode = copyout((caddr_t) &progressInfo,
retcode 1408 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1441 dev/raidframe/rf_openbsdkintf.c retcode = copyout((caddr_t) &progressInfo,
retcode 1444 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1473 dev/raidframe/rf_openbsdkintf.c retcode = copyout((caddr_t) &progressInfo,
retcode 1476 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1527 dev/raidframe/rf_openbsdkintf.c retcode = rf_SetSpareTable(raidPtr,*(void **)data);
retcode 1534 dev/raidframe/rf_openbsdkintf.c waitreq->fcol = retcode;
retcode 1541 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1604 dev/raidframe/rf_openbsdkintf.c retcode = ENOTTY;
retcode 1607 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1679 dev/raidframe/rf_openbsdkintf.c int retcode;
retcode 1695 dev/raidframe/rf_openbsdkintf.c retcode = req->fcol;
retcode 1698 dev/raidframe/rf_openbsdkintf.c return (retcode);
retcode 1715 dev/raidframe/rf_openbsdkintf.c int retcode;
retcode 1831 dev/raidframe/rf_openbsdkintf.c retcode = rf_DoAccess(raidPtr, (bp->b_flags & B_READ) ?
retcode 2634 dev/raidframe/rf_openbsdkintf.c int retcode;
retcode 2639 dev/raidframe/rf_openbsdkintf.c retcode = rf_RewriteParity(raidPtr);
retcode 2640 dev/raidframe/rf_openbsdkintf.c if (retcode) {
retcode 2682 dev/raidframe/rf_openbsdkintf.c int retcode;
retcode 2689 dev/raidframe/rf_openbsdkintf.c retcode = rf_ReconstructInPlace(raidPtr, req->row, req->col);
retcode 3418 dev/raidframe/rf_openbsdkintf.c int retcode;
retcode 3422 dev/raidframe/rf_openbsdkintf.c retcode = 0;
retcode 3482 dev/raidframe/rf_openbsdkintf.c retcode = rf_Configure(raidPtr, config, cset->ac);
retcode 3484 dev/raidframe/rf_openbsdkintf.c if (retcode == 0) {
retcode 3512 dev/raidframe/rf_openbsdkintf.c return(retcode);
retcode 196 dev/raidframe/rf_parityscan.c int i, retcode;
retcode 204 dev/raidframe/rf_parityscan.c retcode = RF_PARITY_OKAY;
retcode 267 dev/raidframe/rf_parityscan.c retcode = RF_PARITY_COULD_NOT_VERIFY;
retcode 286 dev/raidframe/rf_parityscan.c retcode = RF_PARITY_BAD;
retcode 291 dev/raidframe/rf_parityscan.c if (retcode && correct_it) {
retcode 317 dev/raidframe/rf_parityscan.c retcode = RF_PARITY_COULD_NOT_CORRECT;
retcode 320 dev/raidframe/rf_parityscan.c if (retcode == RF_PARITY_BAD)
retcode 321 dev/raidframe/rf_parityscan.c retcode = RF_PARITY_CORRECTED;
retcode 328 dev/raidframe/rf_parityscan.c return (retcode);
retcode 573 dev/raidframe/rf_raid1.c int retcode, created;
retcode 579 dev/raidframe/rf_raid1.c retcode = 0;
retcode 679 dev/raidframe/rf_raid1.c retcode = 1;
retcode 714 dev/raidframe/rf_raid1.c raidPtr->raidid, retcode);
retcode 716 dev/raidframe/rf_raid1.c return (retcode);
retcode 139 dev/raidframe/rf_reconbuffer.c int retcode = 0, created = 0;
retcode 222 dev/raidframe/rf_reconbuffer.c return (retcode);
retcode 280 dev/raidframe/rf_reconbuffer.c retcode = 1;
retcode 327 dev/raidframe/rf_reconbuffer.c return (retcode);
retcode 478 dev/raidframe/rf_reconstruct.c int retcode;
retcode 586 dev/raidframe/rf_reconstruct.c retcode = raidlookup(raidPtr->Disks[row][col].devname,
retcode 589 dev/raidframe/rf_reconstruct.c if (retcode) {
retcode 592 dev/raidframe/rf_reconstruct.c raidPtr->Disks[row][col].devname, retcode);
retcode 600 dev/raidframe/rf_reconstruct.c return(retcode);
retcode 609 dev/raidframe/rf_reconstruct.c if ((retcode =
retcode 613 dev/raidframe/rf_reconstruct.c return(retcode);
retcode 615 dev/raidframe/rf_reconstruct.c retcode = VOP_IOCTL(vp, DIOCGPART, (caddr_t) & dpart,
retcode 617 dev/raidframe/rf_reconstruct.c if (retcode) {
retcode 620 dev/raidframe/rf_reconstruct.c return(retcode);
retcode 721 dev/raidframe/rf_reconstruct.c int retcode, i, ds;
retcode 739 dev/raidframe/rf_reconstruct.c retcode = rf_SuspendNewRequestsAndWait(raidPtr);
retcode 869 dev/raidframe/rf_reconstruct.c retcode = rf_SuspendNewRequestsAndWait(raidPtr);
retcode 941 dev/raidframe/rf_reconstruct.c int retcode = 0, submitblocked;
retcode 964 dev/raidframe/rf_reconstruct.c retcode = rf_IssueNextReadRequest(raidPtr, frow,
retcode 1011 dev/raidframe/rf_reconstruct.c retcode = rf_IssueNextReadRequest(raidPtr, frow, event->col);
retcode 1018 dev/raidframe/rf_reconstruct.c retcode = rf_TryToRead(raidPtr, frow, event->col);
retcode 1028 dev/raidframe/rf_reconstruct.c retcode = rf_TryToRead(raidPtr, frow, event->col);
retcode 1035 dev/raidframe/rf_reconstruct.c retcode = rf_IssueNextWriteRequest(raidPtr, frow);
retcode 1048 dev/raidframe/rf_reconstruct.c retcode = rf_IssueNextReadRequest(raidPtr, frow, event->col);
retcode 1068 dev/raidframe/rf_reconstruct.c return (retcode);
retcode 1103 dev/raidframe/rf_reconstruct.c int do_new_check = 0, retcode = 0, status;
retcode 1171 dev/raidframe/rf_reconstruct.c retcode = rf_TryToRead(raidPtr, row, col);
retcode 1172 dev/raidframe/rf_reconstruct.c return (retcode);
retcode 1706 dev/raidframe/rf_reconstruct.c int retcode = 0;
retcode 1710 dev/raidframe/rf_reconstruct.c retcode = RF_PSS_FORCED_ON_WRITE;
retcode 1724 dev/raidframe/rf_reconstruct.c retcode = RF_PSS_RECON_BLOCKED;
retcode 1726 dev/raidframe/rf_reconstruct.c if (!retcode)
retcode 1732 dev/raidframe/rf_reconstruct.c return (retcode);
retcode 67 dev/raidframe/rf_reconutil.c int retcode, rc;
retcode 112 dev/raidframe/rf_reconutil.c retcode = rf_InstallSpareTable(raidPtr, frow, fcol);
retcode 113 dev/raidframe/rf_reconutil.c if (retcode) {
retcode 274 dev/raidframe/rf_stripelocks.c int retcode = 0;
retcode 347 dev/raidframe/rf_stripelocks.c retcode = 0;
retcode 350 dev/raidframe/rf_stripelocks.c retcode = 1;
retcode 353 dev/raidframe/rf_stripelocks.c if (!retcode)
retcode 357 dev/raidframe/rf_stripelocks.c retcode = 2;
retcode 360 dev/raidframe/rf_stripelocks.c if (!retcode) {
retcode 384 dev/raidframe/rf_stripelocks.c tid, stripeID, retcode);
retcode 395 dev/raidframe/rf_stripelocks.c return (retcode);