Home
last modified time | relevance | path

Searched refs:SectorsPerCluster (Results 1 – 25 of 100) sorted by relevance

1234

/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
H A DFatLiteFmt.h83 UINT8 SectorsPerCluster; member
109 UINT8 SectorsPerCluster; member
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/sysutils/edk2/edk2-edk2-stable202102/FatPkg/FatPei/
H A DFatLiteAccess.c91 if (Bpb.SectorsPerCluster != 1 && in FatGetBpbInfo()
92 Bpb.SectorsPerCluster != 2 && in FatGetBpbInfo()
93 Bpb.SectorsPerCluster != 4 && in FatGetBpbInfo()
94 Bpb.SectorsPerCluster != 8 && in FatGetBpbInfo()
95 Bpb.SectorsPerCluster != 16 && in FatGetBpbInfo()
96 Bpb.SectorsPerCluster != 32 && in FatGetBpbInfo()
97 Bpb.SectorsPerCluster != 64 && in FatGetBpbInfo()
98 Bpb.SectorsPerCluster != 128 in FatGetBpbInfo()
138 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster; in FatGetBpbInfo()
152 Volume->MaxCluster = (UINT32) (Sectors - FirstClusterLba) / Bpb.SectorsPerCluster; in FatGetBpbInfo()
/dports/print/hplip/hplip-3.20.6/pcard/
H A Dfat.c83 uint8_t SectorsPerCluster; /* 13 */ member
286 sector *= bpb.SectorsPerCluster; /* find the sector number relative to data start */ in ConvertClusterToSector()
316 cluster_cnt = sector / bpb.SectorsPerCluster; in LoadFileInCWD()
322 sector -= cluster_cnt * bpb.SectorsPerCluster; in LoadFileInCWD()
444 fprintf(stderr, "sectors/cluster=%d\n", bpb.SectorsPerCluster); in FatInit()
517 return(FindFreeClusters() * bpb.SectorsPerCluster * FAT_HARDSECT); in FatFreeSpace()
524 pa->SectorsPerCluster = bpb.SectorsPerCluster; in FatDiskAttributes()
607 int block = bpb.SectorsPerCluster * FAT_HARDSECT; in FatReadFile()
623 if (readsect(sector, bpb.SectorsPerCluster, buf, block) != 0) /* read full cluster */ in FatReadFile()
653 int block = bpb.SectorsPerCluster * FAT_HARDSECT; /* cluster size in bytes */ in FatReadFileExt()
[all …]
/dports/games/nethack33/nethack-3.3.1/sys/winnt/
H A Dwinnt.c62 DWORD SectorsPerCluster = 0; local
71 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
75 return (long)(SectorsPerCluster * BytesPerSector *
/dports/games/nethack33-nox11/nethack-3.3.1/sys/winnt/
H A Dwinnt.c62 DWORD SectorsPerCluster = 0; local
71 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
75 return (long)(SectorsPerCluster * BytesPerSector *
/dports/games/falconseye/falconseye-1.9.3_11/sys/winnt/
H A Dwinnt.c62 DWORD SectorsPerCluster = 0; local
71 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
75 return (long)(SectorsPerCluster * BytesPerSector *
/dports/games/vultures-eye/vulture-2.3.67/nethack/sys/winnt/
H A Dwinnt.c65 DWORD SectorsPerCluster = 0; local
74 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
78 return (long)(SectorsPerCluster * BytesPerSector *
/dports/games/nethack34/nethack-3.4.3/sys/winnt/
H A Dwinnt.c65 DWORD SectorsPerCluster = 0; local
74 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
78 return (long)(SectorsPerCluster * BytesPerSector *
/dports/games/nethack34-nox11/nethack-3.4.3/sys/winnt/
H A Dwinnt.c65 DWORD SectorsPerCluster = 0; local
74 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
78 return (long)(SectorsPerCluster * BytesPerSector *
/dports/games/vultures-eye/vulture-2.3.67/unnethack/sys/winnt/
H A Dwinnt.c65 DWORD SectorsPerCluster = 0; local
74 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
78 return (long)(SectorsPerCluster * BytesPerSector *
/dports/games/unnethack/unnethack-5.1.0-20131208/sys/winnt/
H A Dwinnt.c65 DWORD SectorsPerCluster = 0; local
74 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
78 return (long)(SectorsPerCluster * BytesPerSector *
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/DuetPkg/BootSector/
H A Dbs16.S43 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits label
164 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
167 popw %dx # ax = (StartCluster - 2) * SectorsPerCluster
168 … (%bp), %ax # ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCluster
170 movb SectorsPerCluster(%bp), %bl # bx = Number of Sectors in a cluster
H A Dbs32.S43 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits label
185 movb SectorsPerCluster(%bp), %bl # bx = SectorsPerCluster
188 popw %dx # ax = (StartCluster - 2) * SectorsPerCluster
189 … (%bp), %ax # ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCluster
191 movb SectorsPerCluster(%bp), %bl # bx = Number of Sectors in a cluster
H A Dbs16.asm41 SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits define
162 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
165 pop dx ; ax = (StartCluster - 2) * SectorsPerCluster
166 … ax, word ptr [bp] ; ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCluster
168 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
H A Dbs32.asm41 SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits define
184 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = SectorsPerCluster
187 pop dx ; ax = (StartCluster - 2) * SectorsPerCluster
188 … ax, word ptr [bp] ; ax = FirstClusterLBA + (StartCluster-2)*SectorsPerCluster
190 mov bl,byte ptr [bp+SectorsPerCluster] ; bx = Number of Sectors in a cluster
/dports/games/vultures-eye/vulture-2.3.67/slashem/sys/winnt/
H A Dwinnt.c75 DWORD SectorsPerCluster = 0; local
84 GetDiskFreeSpace(tmppath, &SectorsPerCluster,
88 return (long)(SectorsPerCluster * BytesPerSector *
/dports/sysutils/syslinux/syslinux-6.03/win/
H A Dntfstest.c68 vol_info.SectorsPerCluster in main()
109 lba.QuadPart + len * vol_info.SectorsPerCluster in main()

1234