HomeSort by relevance Sort by last modified time
    Searched full:sectorsize (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/syslinux/libinstaller/
fs.c 55 int sectorsize; local
61 sectorsize = get_16(&sectbuf->bsBytesPerSec);
78 dsectors -= (rootdirents + sectorsize / 32 - 1) / sectorsize;
151 int sectorsize; local
160 sectorsize = get_16(&sectbuf->bsBytesPerSec);
161 if (sectorsize == SECTOR_SIZE) ; /* ok */
162 else if (sectorsize >= 512 && sectorsize <= 4096 &&
163 (sectorsize & (sectorsize - 1)) == 0
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
RamDisk.java 41 private final int sectorSize;
76 private RamDisk(ByteBuffer buffer, int sectorSize) {
78 this.sectorSize = sectorSize;
98 * @param sectorSize the sector size of the new block device
100 public RamDisk(int size, int sectorSize) {
101 if (sectorSize < 1) throw new IllegalArgumentException(
104 this.sectorSize = sectorSize;
170 return this.sectorSize;
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
SuperFloppyFormatter.java 189 final int sectorSize = device.getSectorSize();
190 final int totalSectors = (int)(device.getSize() / sectorSize);
312 public static int clusterSizeFromSize(long sizeInBytes, int sectorSize){
315 return sectorsPerCluster12(sizeInBytes, sectorSize);
317 return sectorsPerCluster16FromSize(sizeInBytes, sectorSize);
319 return sectorsPerCluster32FromSize(sizeInBytes, sectorSize);
376 static private int sectorsPerCluster32FromSize(long size, int sectorSize) {
377 final long sectors = size / sectorSize;
406 static private int sectorsPerCluster16FromSize(long size, int sectorSize) {
407 final long sectors = size / sectorSize;
    [all...]
Fat.java 43 private final int sectorSize;
121 this.sectorSize = bs.getBytesPerSector();
134 entries = new long[(int) ((sectorCount * sectorSize) /
178 final byte[] data = new byte[sectorCount * sectorSize];
196 final byte[] data = new byte[sectorCount * sectorSize];
399 if (this.sectorSize != other.sectorSize) return false;
414 hash = 23 * hash + this.sectorSize;
468 sb.append(", sectorSize=");
469 sb.append(sectorSize);
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/FlashDeviceLib/
FlashDeviceLib.c 40 UINT32 SectorSize;
44 SectorSize = SECTOR_SIZE_4KB;
61 SpiAddress += SectorSize;
62 NumBytes -= SectorSize;
76 UINT32 SectorSize;
80 SectorSize = SECTOR_SIZE_64KB;
97 SpiAddress += SectorSize;
98 NumBytes -= SectorSize;
  /device/linaro/bootloader/edk2/FatPkg/FatPei/
FatLiteFmt.h 88 UINT16 SectorSize;
114 UINT16 SectorSize;
FatLiteAccess.c 144 Volume->ClusterSize = Bpb.SectorSize * Bpb.SectorsPerCluster;
146 Volume->SectorSize = Bpb.SectorSize;
148 RootDirSectors = ((Volume->RootEntries * sizeof (FAT_DIRECTORY_ENTRY)) + (Volume->SectorSize - 1)) / Volume->SectorSize;
154 Volume->VolumeSize = MultU64x32 (Sectors, Volume->SectorSize);
155 Volume->FatPos = MultU64x32 (FatLba, Volume->SectorSize);
156 Volume->RootDirPos = MultU64x32 (RootLba, Volume->SectorSize);
157 Volume->FirstClusterPos = MultU64x32 (FirstClusterLba, Volume->SectorSize);
  /bionic/libc/kernel/uapi/mtd/
inftl-user.h 24 #define SECTORSIZE 512
  /device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
BlockFront.h 39 UINT32 SectorSize;
BlockFront.c 300 Dev->MediaInfo.SectorSize = (UINT32)Value;
321 Dev->MediaInfo.Sectors, Dev->MediaInfo.SectorSize));
449 ASSERT(!(IoData->Sector & ((Dev->MediaInfo.SectorSize / 512) - 1)));
451 ASSERT(!(IoData->Size & (Dev->MediaInfo.SectorSize - 1)));
453 ASSERT(!((UINTN) IoData->Buffer & (Dev->MediaInfo.SectorSize - 1)));
  /external/kernel-headers/original/uapi/mtd/
inftl-user.h 15 #define SECTORSIZE 512
  /external/syslinux/core/
extern.inc 36 extern SectorSize, SectorShift
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/mtd/
inftl-user.h 14 #define SECTORSIZE 512
  /device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Include/
CEATA.h 104 UINT16 Sectorsize;
  /device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/IndustryStandard/
CeAta.h 116 UINT16 Sectorsize;
  /external/syslinux/dosutil/
copybs.asm 155 SectorSize resw 1
187 mov [SectorSize],dx ; Saved sector size from above
218 mov cx,[SectorSize]
223 cmp ax,[SectorSize]
  /device/linaro/bootloader/edk2/MdePkg/Include/Library/
UefiScsiLib.h     [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
MiscBiosVendorFunction.c 66 UINT32 SectorSize;
71 SectorSize = SECTOR_SIZE_4KB;
81 SectorSize,
  /device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
Init.c 255 if ((FatBs.FatBsb.SectorSize & (FatBs.FatBsb.SectorSize - 1)) != 0) {
259 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize);
308 BlockSize = FatBs.FatBsb.SectorSize;
FatFileSystem.h 101 UINT16 SectorSize;
  /device/linaro/bootloader/edk2/MdePkg/Library/UefiScsiLib/
UefiScsiLib.c     [all...]
  /external/gptfdisk/
support.h 79 string BytesToIeee(uint64_t size, uint32_t sectorSize);
support.cc 222 // (sectorSize defaults to 1). Note that this function uses peculiar
226 string BytesToIeee(uint64_t size, uint32_t sectorSize) {
234 sizeInIeee = previousIeee = size * (uint64_t) sectorSize;
bsd.h 65 uint32_t sectorSize; // # of bytes per sector
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
clfs.h 103 ULONG SectorSize;

Completed in 1385 milliseconds

1 2 3 4