Lines Matching defs:pda
168 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
180 logData = rf_CreateParityLogData(RF_UPDATE, pda, bf,
204 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
216 logData = rf_CreateParityLogData(RF_OVERWRITE, pda, bf,
268 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
276 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector,
286 rf_DiskIOEnqueue(&(dqs[pda->col]), req, priority);
297 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
306 req = rf_CreateDiskQueueData(iotype, pda->startSector, pda->numSector,
317 rf_DiskIOEnqueue(&(dqs[pda->col]), req, priority);
328 RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
342 rf_DiskIOEnqueue(&(dqs[pda->col]), req, RF_IO_NORMAL_PRIORITY);
397 * to the regular xor function except that it takes the failed PDA as
405 * SU, and use the pda params to determine where within the buffer to
470 * data. the second-to-last parameter is the PDA for the failed
471 * portion of the access. the code here looks at this PDA and assumes
473 * sectors in the failed PDA. It then uses the other PDAs in the
483 RF_PhysDiskAddr_t *pda;
497 pda = (RF_PhysDiskAddr_t *) node->params[i].p;
499 suoffset = rf_StripeUnitOffset(layoutPtr, pda->startSector);
501 retcode = rf_bxor(srcbuf, destbuf, rf_RaidAddressToByte(raidPtr, pda->numSector));
521 * described by pda is one SU in size (which by implication means it's
524 * the portion of targbuf identified in the pda. */
527 rf_XorIntoBuffer(RF_Raid_t *raidPtr, RF_PhysDiskAddr_t *pda,
532 int SUOffset = pda->startSector % sectPerSU;
535 RF_ASSERT(pda->numSector <= sectPerSU);
538 length = rf_RaidAddressToByte(raidPtr, pda->numSector);