/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Fat16BootSector.java | 47 * partition having not enough sectors, so it would be misinterpreted 57 * The offset to the sectors per FAT value. 136 * Gets the number of sectors/fat for FAT 12/16. 146 * Sets the number of sectors/fat 148 * @param v the new number of sectors per fat 154 "too many sectors for a FAT12/16");
|
/system/core/toolbox/ |
newfs_msdos.c | 67 #define MAXSPC 128 /* maximum sectors per cluster */ 113 u_int8_t spc; /* sectors per cluster */ 114 u_int8_t res[2]; /* reserved sectors */ 117 u_int8_t sec[2]; /* total sectors */ 119 u_int8_t spf[2]; /* sectors per FAT */ 120 u_int8_t spt[2]; /* sectors per track */ 122 u_int8_t hid[4]; /* hidden sectors */ 123 u_int8_t bsec[4]; /* big total sectors */ 127 u_int8_t bspf[4]; /* big sectors per FAT */ 157 u_int spc; /* sectors per cluster * [all...] |
/external/gptfdisk/ |
diskio-unix.cc | 197 // Returns the number of sectors per track, according to the kernel, or 63 210 numSecs = (uint32_t) geometry.sectors; 390 uint64_t sectors = 0; // size in sectors local 410 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, §ors); 416 sectors = minfo.dki_capacity; 422 sectors = bytes / b; 430 sectors = sz = 0; 435 sectors = sz; 437 sectors = (b >> 9) [all...] |
diskio-windows.cc | 153 // Returns the number of sectors per track, according to the kernel, or 63 306 uint64_t sectors = 0; // size in sectors local 323 sectors = (uint64_t) buf.Length.QuadPart / GetBlockSize(); 327 sectors = ((uint64_t) bytes + ((uint64_t) moreBytes) * UINT32_MAX) / GetBlockSize(); 332 sectors = 0; 335 return sectors;
|
support.cc | 93 // user, accepting values prefixed by "+" to add sectors to low, 97 // the user-specified number of sectors (or KiB, MiB, etc.). Use the 116 // number of sectors. If no units are appended, interprets as the number 117 // of sectors; otherwise, interprets as number of specified units and 118 // converts to sectors. For instance, with 512-byte sectors, "1K" converts
|
/external/valgrind/coregrind/ |
m_transtab.c | 56 /* Nr of sectors provided via command line parameter. */ 58 /* Nr of sectors. 374 /* The root data structure is an array of sectors. The index of the 386 static Sector sectors[MAX_N_SECTORS]; variable 480 Sector* s = §ors[sNo]; 689 hx->start, hx->len, (int)(sec - sectors), \ 724 return False; /* run out of sectors to search */ 726 const Sector* sec = §ors[sno]; 774 break; /* run out of sectors to search */ 775 if ((const UChar*)hcode >= (const UChar*)sectors[sno].t [all...] |
pub_core_transtab.h | 66 /* Limits for number of sectors the TC is divided into. If you need a larger 71 /* Default for the nr of sectors, if not overriden by command line. 72 On Android, space is limited, so try to get by with fewer sectors. 73 On other platforms we can go to town. 16 sectors gives theoretical
|
/external/autotest/client/site_tests/hardware_DiskSize/ |
hardware_DiskSize.py | 54 EXT_CSD[SEC_COUNT] = # of 512byte sectors 57 Unfortunately the SEC_COUNT appears to have excluded the sectors 59 there is no mechanism to determine the actual raw sectors.
|
/external/bsdiff/ |
file.cc | 106 uint64_t sectors = 0; 107 if (ioctl(fd_, DKIOCGETBLOCKCOUNT, §ors) == 0) { 108 *size = sectors << 9;
|
/external/f2fs-tools/mkfs/ |
f2fs_format_main.c | 29 MSG(0, "\nUsage: mkfs.f2fs [options] device [sectors]\n"); 39 MSG(0, "sectors: number of sectors. [default: determined by device size]\n");
|
f2fs_format_utils.c | 60 MSG(0, "Info: Discarded %lu sectors\n",
|
/external/fio/ |
diskutil.h | 11 uint64_t sectors[2]; member in struct:disk_util_stats 29 uint64_t sectors[2]; member in struct:disk_util_agg
|
diskutil.c | 45 unsigned long long sectors[2]; local 68 §ors[0], 72 §ors[1], 79 dus->s.sectors[0] = sectors[0]; 80 dus->s.sectors[1] = sectors[1]; 97 dus->s.sectors[0] += (__dus.s.sectors[0] - ldus->s.sectors[0]) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/raid/ |
md_p.h | 221 __le64 size; /* used size of component devices, in 512byte sectors */ 223 __le32 chunksize; /* in 512byte sectors */ 225 __le32 bitmap_offset; /* sectors after start of superblock that bitmap starts 235 __le32 new_chunk; /* new chunk size (512byte sectors) */ 240 __le64 data_size; /* sectors in this device that can be used for data */ 242 __le64 recovery_offset;/* sectors before this offset (from data_offset) have been recovered */ 251 __u8 bblog_shift; /* shift from sectors to block size */ 252 __le16 bblog_size; /* number of sectors reserved for list */
|
/frameworks/base/core/java/android/nfc/tech/ |
MifareClassic.java | 35 * <p>MIFARE Classic tags are divided into sectors, and each sector is sub-divided into 38 * <li>MIFARE Classic Mini are 320 bytes ({@link #SIZE_MINI}), with 5 sectors each of 4 blocks. 39 * <li>MIFARE Classic 1k are 1024 bytes ({@link #SIZE_1K}), with 16 sectors each of 4 blocks. 40 * <li>MIFARE Classic 2k are 2048 bytes ({@link #SIZE_2K}), with 32 sectors each of 4 blocks. 41 * <li>MIFARE Classic 4k} are 4096 bytes ({@link #SIZE_4K}). The first 32 sectors contain 4 blocks 42 * and the last 8 sectors contain 16 blocks. 103 /** Tag contains 16 sectors, each with 4 blocks. */ 105 /** Tag contains 32 sectors, each with 4 blocks. */ 108 * Tag contains 40 sectors. The first 32 sectors contain 4 blocks and the last 8 sector [all...] |
/external/toybox/toys/pending/ |
fdisk.c | 14 usage: fdisk [-lu] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SECTSZ] DISK 18 -u Start and End are in sectors (instead of cylinders) 21 -C CYLINDERS Set number of cylinders/heads/sectors 23 -S SECTORS 32 long sectors; 130 if (!g_sectors) printf(" sectors"); 165 unsigned long sectors = 0; local 169 perror_msg("device has more than 2^32 sectors, can't use all of them"); 174 if (ioctl(dev_fd, BLKGETSIZE, §ors) == 0) 175 if (sizeof(long) > sizeof(sector_t) && sectors != (sector_t)sectors [all...] |
/external/kernel-headers/original/uapi/linux/ |
bcache.h | 20 /* Btree keys - all units are in sectors */ 154 #define BDEV_DATA_START_DEFAULT 16 /* sectors */ 179 __u16 block_size; /* sectors */ 180 __u16 bucket_size; /* sectors */ 326 __u64 sectors; member in struct:uuid_entry::__anon14445::__anon14446
|
hdreg.h | 175 #define CFA_WRITE_SECT_WO_ERASE 0x38 /* CFA Write Sectors without erase */ 184 #define WIN_VERIFY 0x40 /* 28-Bit - Read Verify Sectors */ 217 #define WIN_MULTREAD 0xC4 /* read sectors using multiple mode*/ 218 #define WIN_MULTWRITE 0xC5 /* write sectors using multiple mode */ 220 #define WIN_READDMA_QUEUED 0xC7 /* read sectors using Queued DMA transfers */ 221 #define WIN_READDMA 0xC8 /* read sectors using DMA transfers */ 223 #define WIN_WRITEDMA 0xCA /* write sectors using DMA transfers */ 225 #define WIN_WRITEDMA_QUEUED 0xCC /* write sectors using Queued DMA transfers */ 325 unsigned char sectors; member in struct:hd_geometry 405 unsigned short sectors; /* Obsolete, "physical" sectors per track * member in struct:hd_driveid [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
hdreg.h | 166 #define CFA_WRITE_SECT_WO_ERASE 0x38 /* CFA Write Sectors without erase */ 175 #define WIN_VERIFY 0x40 /* 28-Bit - Read Verify Sectors */ 208 #define WIN_MULTREAD 0xC4 /* read sectors using multiple mode*/ 209 #define WIN_MULTWRITE 0xC5 /* write sectors using multiple mode */ 211 #define WIN_READDMA_QUEUED 0xC7 /* read sectors using Queued DMA transfers */ 212 #define WIN_READDMA 0xC8 /* read sectors using DMA transfers */ 214 #define WIN_WRITEDMA 0xCA /* write sectors using DMA transfers */ 216 #define WIN_WRITEDMA_QUEUED 0xCC /* write sectors using Queued DMA transfers */ 315 unsigned char sectors; member in struct:hd_geometry 392 unsigned short sectors; /* Obsolete, "physical" sectors per track * member in struct:hd_driveid [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
hdreg.h | 166 #define CFA_WRITE_SECT_WO_ERASE 0x38 /* CFA Write Sectors without erase */ 175 #define WIN_VERIFY 0x40 /* 28-Bit - Read Verify Sectors */ 208 #define WIN_MULTREAD 0xC4 /* read sectors using multiple mode*/ 209 #define WIN_MULTWRITE 0xC5 /* write sectors using multiple mode */ 211 #define WIN_READDMA_QUEUED 0xC7 /* read sectors using Queued DMA transfers */ 212 #define WIN_READDMA 0xC8 /* read sectors using DMA transfers */ 214 #define WIN_WRITEDMA 0xCA /* write sectors using DMA transfers */ 216 #define WIN_WRITEDMA_QUEUED 0xCC /* write sectors using Queued DMA transfers */ 315 unsigned char sectors; member in struct:hd_geometry 392 unsigned short sectors; /* Obsolete, "physical" sectors per track * member in struct:hd_driveid [all...] |
virtio_blk.h | 46 /* The capacity (in 512-byte sectors). */ 56 __u8 sectors; member in struct:virtio_blk_config::virtio_blk_geometry
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/raid/ |
md_p.h | 221 __le64 size; /* used size of component devices, in 512byte sectors */ 223 __le32 chunksize; /* in 512byte sectors */ 225 __le32 bitmap_offset; /* sectors after start of superblock that bitmap starts 235 __le32 new_chunk; /* new chunk size (512byte sectors) */ 240 __le64 data_size; /* sectors in this device that can be used for data */ 242 __le64 recovery_offset;/* sectors before this offset (from data_offset) have been recovered */
|
/external/kernel-headers/original/uapi/linux/raid/ |
md_p.h | 237 __le64 size; /* used size of component devices, in 512byte sectors */ 239 __le32 chunksize; /* in 512byte sectors */ 241 __le32 bitmap_offset; /* sectors after start of superblock that bitmap starts 251 __le32 new_chunk; /* new chunk size (512byte sectors) */ 259 __le64 data_size; /* sectors in this device that can be used for data */ 262 __le64 recovery_offset;/* sectors before this offset (from data_offset) have been recovered */ 273 __u8 bblog_shift; /* shift from sectors to block size */ 274 __le16 bblog_size; /* number of sectors reserved for list */
|
/external/vboot_reference/firmware/lib/cgptlib/include/ |
cgptlib_internal.h | 58 #define GPT_PMBR_SECTORS 1 /* size (in sectors) of PMBR */ 162 * Return number of 512-byte sectors required to store the entries table.
|
/external/autotest/client/site_tests/platform_BootPerf/ |
control | 43 - This is the number of disk sectors read from kernel boot until
|