Home | History | Annotate | Download | only in raidframe

Lines Matching defs:pda

183 	RF_PhysDiskAddr_t *pda;
200 pda = dag_h->pda_cleanup_list;
202 rf_FreePhysDiskAddr(raidPtr, pda);
399 caller (ie. the data of the associated PDA). Glue this buffer
500 RF_PhysDiskAddr_t *pda;
508 pda = (RF_PhysDiskAddr_t *) node->params[0].p;
513 printf("c %d offs %ld nsect %d buf 0x%lx %s\n", pda->col,
514 (long) pda->startSector, (int) pda->numSector, (long) bufPtr,
522 pda = (RF_PhysDiskAddr_t *) node->params[i].p;
525 (long) bufPtr, pda->col,
526 (long) pda->startSector, (int) pda->numSector);
533 pda = (RF_PhysDiskAddr_t *) node->params[i].p;
536 pda->col, (long) pda->startSector,
537 (int) pda->numSector, (long) bufPtr);
920 RF_PhysDiskAddr_t *pda;
923 for (pda = asmap->physInfo; pda; pda = pda->next) {
924 if (pda->col == fcol) {
928 pda->startSector)) {
935 raidPtr->Layout.map->MapSector(raidPtr, pda->raidAddress,
936 &pda->col, &pda->startSector, RF_REMAP);
938 pda->col = scol;
942 for (pda = asmap->parityInfo; pda; pda = pda->next) {
943 if (pda->col == fcol) {
946 if (!rf_CheckRUReconstructed(raidPtr->reconControl->reconMap, pda->startSector)) {
953 (raidPtr->Layout.map->MapParity) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMAP);
955 pda->col = scol;
1061 * PDA, the ith pda in the input asm overlaps data that needs
1083 RF_PhysDiskAddr_t *pda;
1103 * the SU touched on the failed PDA. also compute total data buffer
1112 for (pda = new_asm_h[0]->stripeMap->physInfo; pda; pda = pda->next) {
1113 rf_RangeRestrictPDA(raidPtr, failedPDA, pda, RF_RESTRICT_NOBUFFER, 0);
1114 pda->bufPtr = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector);
1121 for (pda = new_asm_h[1]->stripeMap->physInfo; pda; pda = pda->next) {
1122 rf_RangeRestrictPDA(raidPtr, failedPDA, pda, RF_RESTRICT_NOBUFFER, 0);
1123 pda->bufPtr = rf_AllocBuffer(raidPtr, dag_h, pda->numSector << raidPtr->logBytesPerSector);
1137 for (foundit = i = 0, pda = asmap->physInfo; pda; i++, pda = pda->next) {
1138 if (pda == failedPDA) {
1143 if (rf_PDAOverlap(layoutPtr, pda, failedPDA)) {
1167 /* adjusts the offset and number of sectors in the destination pda so that
1168 * it covers at most the region of the SU covered by the source PDA. This
1170 * target PDA can only shrink.
1172 * For example: s = sectors within SU indicated by source PDA
1173 * d = sectors within SU indicated by dest PDA
1174 * r = results, stored in dest PDA
1229 rf_compute_workload_shift(RF_Raid_t *raidPtr, RF_PhysDiskAddr_t *pda)
1246 d = pda->col;