Home
last modified time | relevance | path

Searched refs:CountOfClusters (Results 1 – 8 of 8) sorted by relevance

/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/BaseTools/Source/C/GenBootSector/
H A DGetDrvNumOffset.c29 UINTN CountOfClusters; in GetDrvNumOffset() local
65 CountOfClusters = DataSec / FatBpb->Fat12_16.BPB_SecPerClus; in GetDrvNumOffset()
67 if (CountOfClusters < FAT_MAX_FAT16_CLUSTER) { in GetDrvNumOffset()
/dports/emulators/dosbox/dosbox-0.74-3/src/dos/
H A Ddrive_fat.cpp706 CountOfClusters = DataSectors / bootbuffer.sectorspercluster; in fatDrive()
711 if(CountOfClusters < 4085) { in fatDrive()
713 LOG_MSG("Mounted FAT volume is FAT12 with %d clusters", CountOfClusters); in fatDrive()
715 } else if (CountOfClusters < 65525) { in fatDrive()
716 LOG_MSG("Mounted FAT volume is FAT16 with %d clusters", CountOfClusters); in fatDrive()
719 LOG_MSG("Mounted FAT volume is FAT32 with %d clusters", CountOfClusters); in fatDrive()
738 if (CountOfClusters<65536) *_total_clusters = (Bit16u)CountOfClusters; in AllocationInfo()
743 for(i=0;i<CountOfClusters;i++) if(!getClusterValue(i+2)) countFree++; in AllocationInfo()
755 for(i=0;i<CountOfClusters;i++) { in getFirstFreeClust()
H A Ddrives.h204 Bit32u CountOfClusters; variable
/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/dos/
H A Ddrive_fat.cpp754 CountOfClusters = DataSectors / bootbuffer.sectorspercluster; in fatDrive()
759 if(CountOfClusters < 4085) { in fatDrive()
761 LOG_MSG("Mounted FAT volume is FAT12 with %d clusters", CountOfClusters); in fatDrive()
763 } else if (CountOfClusters < 65525) { in fatDrive()
764 LOG_MSG("Mounted FAT volume is FAT16 with %d clusters", CountOfClusters); in fatDrive()
767 LOG_MSG("Mounted FAT volume is FAT32 with %d clusters", CountOfClusters); in fatDrive()
789 if (CountOfClusters<65536) *_total_clusters = (Bit16u)CountOfClusters; in AllocationInfo()
794 for(i=0;i<CountOfClusters;i++) if(!getClusterValue(i+2)) countFree++; in AllocationInfo()
806 for(i=0;i<CountOfClusters;i++) { in getFirstFreeClust()
H A Ddrives.h212 Bit32u CountOfClusters; variable
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/dos/
H A Ddrive_fat.cpp721 CountOfClusters(0),
887 CountOfClusters = DataSectors / bootbuffer.sectorspercluster;
892 if(CountOfClusters < 4085) {
894 LOG_MSG("Mounted FAT volume is FAT12 with %d clusters", CountOfClusters);
896 } else if (CountOfClusters < 65525) {
897 LOG_MSG("Mounted FAT volume is FAT16 with %d clusters", CountOfClusters);
900 LOG_MSG("Mounted FAT volume is FAT32 with %d clusters", CountOfClusters);
928 if (CountOfClusters<65536) { in AllocationInfo()
929 *_total_clusters = (Bit16u)CountOfClusters; in AllocationInfo()
935 for (i=0; i<CountOfClusters; i++) { in AllocationInfo()
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/BaseTools/Source/C/BootSectImage/
H A Dbootsectimage.c220 UINTN CountOfClusters; in GetFatType() local
329 CountOfClusters = DataSec / FatBpb->Fat12_16.BPB_SecPerClus; in GetFatType()
331 if (CountOfClusters < FAT_MAX_FAT12_CLUSTER) { in GetFatType()
333 } else if (CountOfClusters < FAT_MAX_FAT16_CLUSTER) { in GetFatType()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/include/
H A Ddrives.h208 Bit32u CountOfClusters; variable