Lines Matching refs:Layout
67 RF_RaidLayout_t *layoutPtr = &raidPtr->Layout;
87 /* fill in the remaining layout parameters */
114 RF_ChaindeclusterConfigInfo_t *info = (RF_ChaindeclusterConfigInfo_t *) raidPtr->Layout.layoutSpecificInfo;
117 * The layout uses two stripe units per disk as spare within each
130 RF_ChaindeclusterConfigInfo_t *info = (RF_ChaindeclusterConfigInfo_t *) raidPtr->Layout.layoutSpecificInfo;
131 RF_StripeNum_t SUID = raidSector / raidPtr->Layout.sectorsPerStripeUnit;
144 raidPtr->Layout.sectorsPerStripeUnit;
145 *diskSector += (raidSector % raidPtr->Layout.sectorsPerStripeUnit);
148 *diskSector = sparing_region_id * (raidPtr->numCol + 1) * raidPtr->Layout.sectorsPerStripeUnit;
149 *diskSector += (raidPtr->numCol - 1) * raidPtr->Layout.sectorsPerStripeUnit;
150 *diskSector += (raidSector % raidPtr->Layout.sectorsPerStripeUnit);
157 *diskSector += raidPtr->Layout.sectorsPerStripeUnit;
174 RF_ChaindeclusterConfigInfo_t *info = (RF_ChaindeclusterConfigInfo_t *) raidPtr->Layout.layoutSpecificInfo;
175 RF_StripeNum_t SUID = raidSector / raidPtr->Layout.sectorsPerStripeUnit;
183 *diskSector = info->mirrorStripeOffset * raidPtr->Layout.sectorsPerStripeUnit;
184 *diskSector += (SUID / raidPtr->numCol) * raidPtr->Layout.sectorsPerStripeUnit;
185 *diskSector += (raidSector % raidPtr->Layout.sectorsPerStripeUnit);
191 *diskSector = sparing_region_id * (raidPtr->numCol + 1) * raidPtr->Layout.sectorsPerStripeUnit;
192 *diskSector += (raidPtr->numCol) * raidPtr->Layout.sectorsPerStripeUnit;
193 *diskSector += (raidSector % raidPtr->Layout.sectorsPerStripeUnit);
200 *diskSector -= raidPtr->Layout.sectorsPerStripeUnit;
211 RF_ChaindeclusterConfigInfo_t *info = (RF_ChaindeclusterConfigInfo_t *) raidPtr->Layout.layoutSpecificInfo;
215 SUID = addr / raidPtr->Layout.sectorsPerStripeUnit;