Lines Matching refs:LbaIndex
1041 UINT32 LbaIndex;
1095 for (LbaIndex = 1; LbaIndex <= NumberOfBlocks; LbaIndex += 1) {
1096 if ((FtwDevice->WorkSpaceAddress >= (FvbBaseAddress + BlockSize * (LbaIndex - 1)))
1097 && (FtwDevice->WorkSpaceAddress < (FvbBaseAddress + BlockSize * LbaIndex))) {
1098 FtwDevice->FtwWorkSpaceLba = LbaIndex - 1;
1104 FtwDevice->FtwWorkSpaceBase = (UINTN) (FtwDevice->WorkSpaceAddress - (FvbBaseAddress + FtwDevice->WorkBlockSize * (LbaIndex - 1)));
1134 for (LbaIndex = 1; LbaIndex <= NumberOfBlocks; LbaIndex += 1) {
1135 if ((FtwDevice->SpareAreaAddress >= (FvbBaseAddress + BlockSize * (LbaIndex - 1)))
1136 && (FtwDevice->SpareAreaAddress < (FvbBaseAddress + BlockSize * LbaIndex))) {
1140 FtwDevice->FtwSpareLba = LbaIndex - 1;