Lines Matching defs:coeff
130 unsigned coeff;
141 coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->Layout), pda->raidAddress);
142 coeff = (coeff % raidPtr->Layout.numDataCol);
162 /* dest, src, len, coeff */
163 rf_IncQ((unsigned long *) qbuf, (unsigned long *) buf, rf_RaidAddressToByte(raidPtr, len), coeff);
194 unsigned coeff;
226 coeff = rf_RaidAddressToStripeUnitID(layoutPtr, pda->raidAddress);
228 coeff = (coeff % raidPtr->Layout.numDataCol);
236 * now need to determine the coeff of the columns that need to be
244 coeff = rf_RaidAddressToStripeUnitID(layoutPtr, pda->raidAddress);
246 coeff = (coeff % raidPtr->Layout.numDataCol);
252 if (i != coeff)
259 if (coeff < i) /* recovering 'a' */
260 rf_PQ_recover((unsigned long *) ppda->bufPtr, (unsigned long *) qpda->bufPtr, (unsigned long *) pda->bufPtr, (unsigned long *) ppda->bufPtr, rf_RaidAddressToByte(raidPtr, pda->numSector), coeff, i);
262 rf_PQ_recover((unsigned long *) ppda->bufPtr, (unsigned long *) qpda->bufPtr, (unsigned long *) ppda->bufPtr, (unsigned long *) pda->bufPtr, rf_RaidAddressToByte(raidPtr, pda->numSector), i, coeff);
305 unsigned coeff;
325 coeff = rf_RaidAddressToStripeUnitID(layoutPtr, pda->raidAddress);
327 coeff = (coeff % raidPtr->Layout.numDataCol);
333 if (i != coeff)
339 if (coeff < i) /* recovering 'a' */
340 rf_PQ_recover((unsigned long *) ppda->bufPtr, (unsigned long *) qpda->bufPtr, (unsigned long *) ppda->bufPtr, (unsigned long *) qpda->bufPtr, rf_RaidAddressToByte(raidPtr, pda->numSector), coeff, i);
342 rf_PQ_recover((unsigned long *) ppda->bufPtr, (unsigned long *) qpda->bufPtr, (unsigned long *) qpda->bufPtr, (unsigned long *) ppda->bufPtr, rf_RaidAddressToByte(raidPtr, pda->numSector), i, coeff);
352 /* dest, src, len, coeff */
353 rf_IncQ((unsigned long *) qpda->bufPtr, (unsigned long *) asmap->failedPDAs[0]->bufPtr, rf_RaidAddressToByte(raidPtr, qpda->numSector), coeff);