Searched refs:LinearOffset (Results 1 – 3 of 3) sorted by relevance
465 UINTN LinearOffset; in ProduceFVBProtocolOnBuffer() local545 LinearOffset = 0; in ProduceFVBProtocolOnBuffer()549 FvbDev->LbaCache[BlockIndex].Base = LinearOffset; in ProduceFVBProtocolOnBuffer()551 LinearOffset += PtrBlockMapEntry->Length; in ProduceFVBProtocolOnBuffer()
139 UINTN LinearOffset; in AccessVariableStore() local203 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 …]
271 UINTN LinearOffset; in UpdateVariableStore() local332 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()