Home
last modified time | relevance | path

Searched refs:CurrentPos (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/FatPkg/FatPei/
DFatLiteAccess.c284 if (Pos >= MultU64x32 (File->Volume->RootEntries, 32) - File->CurrentPos) { in FatSetFilePos()
288 File->CurrentPos += Pos; in FatSetFilePos()
289 …ile->StraightReadAmount = (UINT32) (MultU64x32 (File->Volume->RootEntries, 32) - File->CurrentPos); in FatSetFilePos()
293 DivU64x32Remainder (File->CurrentPos, File->Volume->ClusterSize, &Offset); in FatSetFilePos()
294 AlignedPos = (UINT32) File->CurrentPos - (UINT32) Offset; in FatSetFilePos()
299 AlignedPos + File->Volume->ClusterSize <= File->CurrentPos + Pos in FatSetFilePos()
317 File->CurrentPos += Pos; in FatSetFilePos()
337 DivU64x32Remainder (File->CurrentPos, File->Volume->ClusterSize, &Offset); in FatSetFilePos()
379 if (File->CurrentPos + Size > File->Volume->RootEntries * sizeof (FAT_DIRECTORY_ENTRY)) { in FatReadFile()
386 File->Volume->RootDirPos + File->CurrentPos, in FatReadFile()
[all …]
DFatLitePeim.h116 UINT32 CurrentPos; member
DFatLiteApi.c646 Parent.CurrentPos = 0; in FindRecoveryFile()
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DReadWrite.c136 UINT32 CurrentPos; in FatIFileReadDir() local
140 CurrentPos = ((UINT32) IFile->Position) / sizeof (FAT_DIRECTORY_ENTRY); in FatIFileReadDir()
145 if (CurrentPos < ODir->CurrentPos) { in FatIFileReadDir()
164 } while (ODir->CurrentPos <= CurrentPos); in FatIFileReadDir()
175 CurrentPos = ODir->CurrentPos; in FatIFileReadDir()
176 IFile->Position = (UINT64) (CurrentPos * sizeof (FAT_DIRECTORY_ENTRY)); in FatIFileReadDir()
DDirectoryManage.c581 ODir->CurrentPos = 0; in FatResetODirCursor()
627 ODir->CurrentPos = ODir->CurrentEndPos; in FatGetNextDirEnt()
631 ODir->CurrentPos = DirEnt->EntryPos + 1; in FatGetNextDirEnt()
783 UINT32 CurrentPos; in FatFirstFitInsertDirEnt() local
803 CurrentPos = 0; in FatFirstFitInsertDirEnt()
811 if (LabelPos > NewEntryPos || LabelPos <= CurrentPos) { in FatFirstFitInsertDirEnt()
819 CurrentPos = CurrentDirEnt->EntryPos; in FatFirstFitInsertDirEnt()
820 NewEntryPos = CurrentPos + EntryCount; in FatFirstFitInsertDirEnt()
DFat.h199 UINT32 CurrentPos; // Current position of the directory member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/
DIfrParse.h47 char *CurrentPos; member
DIfrParse.c743 Context->CurrentPos = Context->IfrBufferStart; in IfrParsePack()
766 (Context->CurrentPos >= Context->IfrBufferStart) && in IfrParsePack()
767 (Context->CurrentPos < Context->IfrBufferStart + Context->IfrBufferLen) in IfrParsePack()
769 OpHeader = (EFI_IFR_OP_HEADER *) Context->CurrentPos; in IfrParsePack()
788 IfrEntry->RawIfrHeader = (EFI_IFR_OP_HEADER *) (Context->CurrentPos); in IfrParsePack()
843 Context->CurrentPos += OpHeader->Length; in IfrParsePack()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/
DFormDisplay.c1362 IN LIST_ENTRY *CurrentPos in ValueIsScroll() argument
1367 Temp = Direction ? CurrentPos->BackLink : CurrentPos->ForwardLink; in ValueIsScroll()