Searched defs:LbaIndex (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DReclaim.c48 UINT32 LbaIndex; local
79 for (LbaIndex = 1; LbaIndex <= FvbMapEntry->NumBlocks; LbaIndex += 1) {
80 if (Address < (FvbBaseAddress + FvbMapEntry->Length * LbaIndex)) {
84 *Lba = LbaIndex - 1;
85 *Offset = (UINTN) (Address - (FvbBaseAddress + FvbMapEntry->Length * (LbaIndex - 1)));
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DReclaim.c47 UINT32 LbaIndex; local
78 for (LbaIndex = 1; LbaIndex <= FvbMapEntry->NumBlocks; LbaIndex += 1) {
79 if (Address < (FvbBaseAddress + FvbMapEntry->Length * LbaIndex)) {
83 *Lba = LbaIndex - 1;
84 *Offset = (UINTN) (Address - (FvbBaseAddress + FvbMapEntry->Length * (LbaIndex - 1)));
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DReclaim.c123 UINT32 LbaIndex; local
163 for (LbaIndex = 1; LbaIndex <= FvbMapEntry->NumBlocks; LbaIndex += 1) {
164 if (Address < (FvbBaseAddress + FvbMapEntry->Length * LbaIndex)) {
168 *Lba = LbaIndex - 1;
169 *Offset = (UINTN) (Address - (FvbBaseAddress + FvbMapEntry->Length * (LbaIndex - 1)));
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFwVol.c204 EFI_LBA LbaIndex; local
260 LbaIndex = 0;
290 LbaEntry->LbaIndex = LbaIndex;
307 LbaIndex,
323 LbaIndex++;
H A DFwVolDriver.h59 EFI_LBA LbaIndex; member in struct:__anon10515
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/FwVolBlock/
H A DFwVolBlock.c214 UINTN LbaIndex; local
225 LbaIndex = (UINTN) Lba;
226 if (LbaIndex >= FvbDevice->NumBlocks) {
234 if (Offset > FvbDevice->LbaCache[LbaIndex].Length) {
243 if (Offset + NumOfBytesRead > FvbDevice->LbaCache[LbaIndex].Length) {
247 NumOfBytesRead = FvbDevice->LbaCache[LbaIndex].Length - Offset;
250 LbaStart = FvbDevice->LbaCache[LbaIndex].Base;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/FwVol/
H A DFwVol.c306 EFI_LBA LbaIndex; local
343 LbaIndex = 0;
355 LbaIndex ++;
376 LbaIndex,
389 LbaIndex++;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/FaultTolerantWriteDxe/
H A DFtwMisc.c1017 UINT32 LbaIndex; local
1066 for (LbaIndex = 1; LbaIndex <= FvbMapEntry->NumBlocks; LbaIndex += 1) {
1067 if ((FtwDevice->WorkSpaceAddress >= (FvbBaseAddress + FvbMapEntry->Length * (LbaIndex - 1)))
1068 && (FtwDevice->WorkSpaceAddress < (FvbBaseAddress + FvbMapEntry->Length * LbaIndex))) {
1069 FtwDevice->FtwWorkSpaceLba = LbaIndex - 1;
1074 FtwDevice->FtwWorkSpaceBase = (UINTN) (FtwDevice->WorkSpaceAddress - (FvbBaseAddress + FvbMapEntry->Length * (LbaIndex - 1)));
1093 for (LbaIndex = 1; LbaIndex <
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Dispatcher/
H A DDispatcher.c736 EFI_LBA LbaIndex; local
756 LbaIndex = 0;
759 // Find LbaIndex and LbaOffset for FV extension header based on BlockMap.
764 LbaIndex ++;
778 Status = ReadFvbData (Fvb, &LbaIndex, &LbaOffset, sizeof (FvNameGuid), (UINT8 *) &FvNameGuid);

Completed in 43 milliseconds