Lines Matching defs:ru
138 RF_SectorNum_t i, first_in_RU, last_in_RU, ru;
168 printf("raid%d: ru %" PRIu64 " not completed!!!\n",
180 /* initialize "highest" RU status entry, which
191 ru = i - mapPtr->low_ru + mapPtr->head;
192 if (ru >= mapPtr->status_size)
193 ru = ru - mapPtr->status_size;
195 if ((ru < 0) || (ru >= mapPtr->status_size)) {
196 printf("raid%d: ru is bogus %" PRIu64 "%" PRIu64 "%" PRIu64 "%" PRIu64 "%" PRIu64 "\n",
197 raidPtr->raidid, i, ru, mapPtr->head, mapPtr->low_ru, mapPtr->high_ru);
198 panic("bogus ru in reconmap");
201 p = mapPtr->status[ru];
206 mapPtr->status[ru] = MakeReconMapListElem(mapPtr,startSector, RF_MIN(stopSector, last_in_RU), (p == RU_NOTHING) ? NULL : p);
216 compact_stat_entry(raidPtr, mapPtr, i, ru);
345 * returns nonzero if the indicated RU has been reconstructed already