| /mirbsd/src/sys/dev/raidframe/ |
| D | rf_copyback.c | 95 RF_RowCol_t frow, fcol; in rf_CopybackReconstructedData() local 107 fcol = 0; in rf_CopybackReconstructedData() 109 for (fcol = 0; fcol < raidPtr->numCol; fcol++) { in rf_CopybackReconstructedData() 110 if (raidPtr->Disks[frow][fcol].status == in rf_CopybackReconstructedData() 112 raidPtr->Disks[frow][fcol].status == in rf_CopybackReconstructedData() 126 badDisk = &raidPtr->Disks[frow][fcol]; in rf_CopybackReconstructedData() 135 if (raidPtr->raid_cinfo[frow][fcol].ci_vp != NULL) { in rf_CopybackReconstructedData() 137 raidPtr->Disks[frow][fcol].devname); in rf_CopybackReconstructedData() 138 vp = raidPtr->raid_cinfo[frow][fcol].ci_vp; in rf_CopybackReconstructedData() 139 ac = raidPtr->Disks[frow][fcol].auto_configured; in rf_CopybackReconstructedData() [all …]
|
| D | rf_evenodd_dagfuncs.c | 448 RF_RowCol_t fcol = rf_EUCol(layoutPtr, failedPDA->raidAddress); /* logical column of in rf_RecoveryEFunc() local 471 rf_e_encToBuf(raidPtr, scol, srcbuf, fcol, destbuf, pda->numSector); in rf_RecoveryEFunc() 503 RF_RowCol_t *fcol, char *pbuf, char *ebuf) in rf_doubleEOdecode() argument 561 RF_ASSERT(fcol[0] != fcol[1]); in rf_doubleEOdecode() 562 if (fcol[0] < fcol[1]) { in rf_doubleEOdecode() 570 f1 = fcol[0]; in rf_doubleEOdecode() 571 f2 = fcol[1]; in rf_doubleEOdecode() 580 f1 = fcol[1]; in rf_doubleEOdecode() 581 f2 = fcol[0]; in rf_doubleEOdecode() 726 RF_RowCol_t fcol[2], fsuoff[2], fsuend[2], in rf_EvenOddDoubleRecoveryFunc() local [all …]
|
| D | rf_reconutil.c | 54 RF_RowCol_t fcol, in rf_MakeReconControl() argument 81 reconCtrlPtr->fcol = fcol; in rf_MakeReconControl() 112 retcode = rf_InstallSpareTable(raidPtr, frow, fcol); in rf_MakeReconControl() 124 reconCtrlPtr->perDiskInfo[i].rbuf = (i == fcol) ? NULL : in rf_MakeReconControl() 160 rbuf = rf_MakeReconBuffer(raidPtr, frow, fcol, in rf_MakeReconControl()
|
| D | rf_raid5.c | 189 RF_RowCol_t frow, fcol; in rf_RaidFiveDagSelect() local 210 fcol = failedPDA->col; in rf_RaidFiveDagSelect() 284 raidPtr->Disks[frow][fcol].spareRow; in rf_RaidFiveDagSelect() 286 raidPtr->Disks[frow][fcol].spareCol; in rf_RaidFiveDagSelect()
|
| D | rf_raid1.c | 195 RF_RowCol_t frow, fcol, or, oc; in rf_RAID1DagSelect() local 221 fcol = failedPDA->col; in rf_RAID1DagSelect() 229 oc = fcol; in rf_RAID1DagSelect() 236 failedPDA->row = raidPtr->Disks[frow][fcol].spareRow; in rf_RAID1DagSelect() 237 failedPDA->col = raidPtr->Disks[frow][fcol].spareCol; in rf_RAID1DagSelect() 587 RF_ASSERT(rbuf->col != reconCtrlPtr->fcol); in rf_SubmitReconBufferRAID1() 684 t->col = reconCtrlPtr->fcol; in rf_SubmitReconBufferRAID1()
|
| D | rf_reconstruct.c | 1323 RF_RowCol_t fcol = raidPtr->reconControl[row]->fcol; in rf_ComputePSDiskOffsets() local 1354 if (fcol == diskids[j]) in rf_ComputePSDiskOffsets() 1421 RF_ASSERT(row == testrow && fcol == testcol); in rf_ComputePSDiskOffsets() 1458 RF_RowCol_t fcol = raidPtr->reconControl[row]->fcol; in rf_IssueNextWriteRequest() local 1488 &raidPtr->recon_tracerecs[fcol], (void *) raidPtr, 0, NULL); in rf_IssueNextWriteRequest() 1577 if (i != reconCtrlPtr->fcol) { in rf_CheckForNewMinHeadSep() 1770 RF_RowCol_t fcol, diskno, i; in rf_ForceOrBlockRecon() local 1806 fcol = raidPtr->reconControl[row]->fcol; in rf_ForceOrBlockRecon() 1825 if ((diskno = diskids[i]) != fcol) { in rf_ForceOrBlockRecon() 1885 if (rf_DiskIOPromote(&raidPtr->Queues[row][fcol], in rf_ForceOrBlockRecon() [all …]
|
| D | rf_copyback.h | 42 RF_RowCol_t fcol; member
|
| D | rf_map.c | 711 raidPtr->reconControl[testrow]->fcol == in rf_CheckStripeForFailures() 951 RF_RowCol_t frow, fcol; in rf_ASMCheckStatus() local 958 fcol = pda_p->col; in rf_ASMCheckStatus() 959 pda_p->row = disks[frow][fcol].spareRow; in rf_ASMCheckStatus() 960 pda_p->col = disks[frow][fcol].spareCol; in rf_ASMCheckStatus()
|
| D | rf_driver.c | 784 rf_FailDisk(RF_Raid_t *raidPtr, int frow, int fcol, int initRecon) in rf_FailDisk() argument 786 printf("raid%d: Failing disk r%d c%d.\n", raidPtr->raidid, frow, fcol); in rf_FailDisk() 789 raidPtr->Disks[frow][fcol].status = rf_ds_failed; in rf_FailDisk() 794 rf_ReconstructFailedDisk(raidPtr, frow, fcol); in rf_FailDisk()
|
| D | rf_raidframe.h | 64 int C, G, fcol; /* member
|
| D | rf_reconstruct.h | 189 RF_RowCol_t fcol; /* Which column has failed. */ member
|
| D | rf_paritylogging.c | 957 RF_RowCol_t frow, fcol; in rf_ParityLoggingDagSelect() local 978 fcol = failedPDA->col; in rf_ParityLoggingDagSelect() 1050 raidPtr->Disks[frow][fcol].spareRow; in rf_ParityLoggingDagSelect() 1052 raidPtr->Disks[frow][fcol].spareCol; in rf_ParityLoggingDagSelect()
|
| D | rf_decluster.c | 746 rf_InstallSpareTable(RF_Raid_t *raidPtr, RF_RowCol_t frow, RF_RowCol_t fcol) in rf_InstallSpareTable() argument 756 req->fcol = fcol; in rf_InstallSpareTable()
|
| D | rf_revent.c | 183 RF_ASSERT(col != rctrl->fcol); in rf_CauseReconEvent()
|
| D | rf_dagutils.c | 761 int fcol = raidPtr->reconControl[row]->fcol; in rf_redirect_asm() local 768 if (pda->col == fcol) { in rf_redirect_asm() 788 if (pda->col == fcol) { in rf_redirect_asm()
|
| D | rf_reconbuffer.c | 145 RF_ASSERT(rbuf->col != reconCtrlPtr->fcol); in rf_SubmitReconBufferBasic() 296 t->col = reconCtrlPtr->fcol; in rf_SubmitReconBufferBasic()
|
| D | rf_reconmap.c | 360 RF_RowCol_t fcol) in rf_PrintReconMap() argument
|
| /mirbsd/src/lib/libncurses/src/form/ |
| D | fld_move.c | 49 move_field(FIELD *field, int frow, int fcol) in NCURSES_EXPORT() 51 T((T_CALLED("move_field(%p,%d,%d)"), field, frow, fcol)); in NCURSES_EXPORT() 53 if (!field || (frow < 0) || (fcol < 0)) in NCURSES_EXPORT() 60 field->fcol = fcol; in NCURSES_EXPORT()
|
| D | fld_info.c | 52 int *frow, int *fcol, in NCURSES_EXPORT() 58 frow, fcol, in NCURSES_EXPORT() 70 if (fcol) in NCURSES_EXPORT() 71 *fcol = field->fcol; in NCURSES_EXPORT()
|
| D | fld_link.c | 52 link_field(FIELD *field, int frow, int fcol) in NCURSES_EXPORT() 57 T((T_CALLED("link_field(%p,%d,%d)"), field, frow, fcol)); in NCURSES_EXPORT() 58 if (field && (frow >= 0) && (fcol >= 0) && in NCURSES_EXPORT() 64 New_Field->fcol = fcol; in NCURSES_EXPORT()
|
| D | fld_dup.c | 51 dup_field(FIELD *field, int frow, int fcol) in NCURSES_EXPORT() 56 T((T_CALLED("dup_field(%p,%d,%d)"), field, frow, fcol)); in NCURSES_EXPORT() 57 if (field && (frow >= 0) && (fcol >= 0) && in NCURSES_EXPORT() 63 New_Field->fcol = fcol; in NCURSES_EXPORT()
|
| D | fld_def.c | 276 new_field(int rows, int cols, int frow, int fcol, int nrow, int nbuf) in new_field() argument 284 T((T_CALLED("new_field(%d,%d,%d,%d,%d,%d)"), rows, cols, frow, fcol, nrow, nbuf)); in new_field() 288 fcol >= 0 && in new_field() 300 New_Field->fcol = fcol; in new_field()
|
| D | frm_def.c | 94 (current->fcol < newfield->fcol))) in Insert_Field_By_Position() 213 maximum_col_in_field = fields[j]->fcol + fields[j]->cols; in Connect_Fields()
|
| D | frm_driver.c | 762 field->fcol + form->curcol - form->begincol); in _nc_Position_Form_Cursor() 819 field->fcol, in _nc_Refresh_Current_Field() 821 field->cols + field->fcol - 1, in _nc_Refresh_Current_Field() 880 field->fcol, in _nc_Refresh_Current_Field() 882 field->cols + field->fcol - 1, in _nc_Refresh_Current_Field() 1028 field->rows, field->cols, field->frow, field->fcol); in Display_Or_Erase_Field() 1187 field->frow, field->fcol, in _nc_Synchronize_Attributes() 1376 field->rows, field->cols, field->frow, field->fcol); in _nc_Set_Current_Field() 3337 int fcol = field->fcol; in Upper_Neighbor_Field() local 3347 while (field_on_page->frow == frow && field_on_page->fcol != fcol); in Upper_Neighbor_Field() [all …]
|
| /mirbsd/src/sbin/raidctl/ |
| D | rf_configure.c | 529 snprintf(targString, sizeof targString, "fdisk %d\n", req->fcol); in rf_ReadSpareTable() 532 req->fcol); in rf_ReadSpareTable()
|