Home
last modified time | relevance | path

Searched refs:LinearOffset (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVolBlock/
DFwVolBlock.c465 UINTN LinearOffset; in ProduceFVBProtocolOnBuffer() local
545 LinearOffset = 0; in ProduceFVBProtocolOnBuffer()
549 FvbDev->LbaCache[BlockIndex].Base = LinearOffset; in ProduceFVBProtocolOnBuffer()
551 LinearOffset += PtrBlockMapEntry->Length; in ProduceFVBProtocolOnBuffer()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
DVariable.c139 UINTN LinearOffset; in AccessVariableStore() local
203 LinearOffset = (UINTN) FwVolHeader; in AccessVariableStore()
209 if (CurrWritePtr < LinearOffset) { in AccessVariableStore()
218 … if ((CurrWritePtr >= LinearOffset) && (CurrWritePtr < LinearOffset + PtrBlockMapEntry->Length)) { in AccessVariableStore()
222 if ((CurrWritePtr + CurrWriteSize) <= (LinearOffset + PtrBlockMapEntry->Length)) { in AccessVariableStore()
233 (CurrWritePtr - LinearOffset), in AccessVariableStore()
246 (CurrWritePtr - LinearOffset), in AccessVariableStore()
258 Size = (UINT32) (LinearOffset + PtrBlockMapEntry->Length - CurrWritePtr); in AccessVariableStore()
266 (CurrWritePtr - LinearOffset), in AccessVariableStore()
279 (CurrWritePtr - LinearOffset), in AccessVariableStore()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c271 UINTN LinearOffset; in UpdateVariableStore() local
332 LinearOffset = (UINTN) FwVolHeader; in UpdateVariableStore()
338 if (CurrWritePtr < LinearOffset) { in UpdateVariableStore()
348 … if ((CurrWritePtr >= LinearOffset) && (CurrWritePtr < LinearOffset + PtrBlockMapEntry->Length)) { in UpdateVariableStore()
349 if ((CurrWritePtr + CurrWriteSize) <= (LinearOffset + PtrBlockMapEntry->Length)) { in UpdateVariableStore()
353 (UINTN) (CurrWritePtr - LinearOffset), in UpdateVariableStore()
359 Size = (UINT32) (LinearOffset + PtrBlockMapEntry->Length - CurrWritePtr); in UpdateVariableStore()
363 (UINTN) (CurrWritePtr - LinearOffset), in UpdateVariableStore()
371 CurrWritePtr = LinearOffset + PtrBlockMapEntry->Length; in UpdateVariableStore()
377 LinearOffset += PtrBlockMapEntry->Length; in UpdateVariableStore()