Home
last modified time | relevance | path

Searched refs:NextCluster (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/FatPkg/FatPei/
DFatLiteAccess.c195 OUT UINT32 *NextCluster in FatGetNextCluster() argument
202 *NextCluster = 0; in FatGetNextCluster()
207 Status = FatReadDisk (PrivateData, Volume->BlockDeviceNo, FatEntryPos, 4, NextCluster); in FatGetNextCluster()
208 *NextCluster &= 0x0fffffff; in FatGetNextCluster()
213 if ((*NextCluster) >= 0x0ffffff7) { in FatGetNextCluster()
214 *NextCluster |= (-1 &~0xf); in FatGetNextCluster()
220 Status = FatReadDisk (PrivateData, Volume->BlockDeviceNo, FatEntryPos, 2, NextCluster); in FatGetNextCluster()
225 if ((*NextCluster) >= 0xfff7) { in FatGetNextCluster()
226 *NextCluster |= (-1 &~0xf); in FatGetNextCluster()
232 Status = FatReadDisk (PrivateData, Volume->BlockDeviceNo, FatEntryPos, 2, NextCluster); in FatGetNextCluster()
[all …]
DFatLitePeim.h421 OUT UINT32 *NextCluster
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DFileSpace.c166 if (Index < Volume->FatInfoSector.FreeInfo.NextCluster) { in FatSetFatEntry()
167 Volume->FatInfoSector.FreeInfo.NextCluster = (UINT32) Index; in FatSetFatEntry()
293 if (Volume->FatInfoSector.FreeInfo.NextCluster > (Volume->MaxCluster + 1)) { in FatAllocateCluster()
299 if (Volume->FatInfoSector.FreeInfo.NextCluster > (Volume->MaxCluster + 1)) { in FatAllocateCluster()
304 Cluster = FatGetFatEntry (Volume, Volume->FatInfoSector.FreeInfo.NextCluster); in FatAllocateCluster()
311 Volume->FatInfoSector.FreeInfo.NextCluster += 1; in FatAllocateCluster()
314 Cluster = Volume->FatInfoSector.FreeInfo.NextCluster; in FatAllocateCluster()
315 Volume->FatInfoSector.FreeInfo.NextCluster += 1; in FatAllocateCluster()
728 Volume->FatInfoSector.FreeInfo.NextCluster = (UINT32) Index; in FatComputeFreeInfo()
DInit.c381 if (FAT_MIN_CLUSTER > Volume->FatInfoSector.FreeInfo.NextCluster || in FatOpenDevice()
382 Volume->FatInfoSector.FreeInfo.NextCluster > Volume->MaxCluster + 1 in FatOpenDevice()
384 Volume->FatInfoSector.FreeInfo.NextCluster = FAT_MIN_CLUSTER; in FatOpenDevice()
DFatFileSystem.h155 UINT32 NextCluster; member