/external/vboot_reference/firmware/stub/ |
H A D | vboot_api_stub_stream.c | 14 /* The stub implementation assumes 512-byte disk sectors */ 25 /* Number of sectors left in partition */ 52 uint64_t sectors; local 63 sectors = bytes / LBA_BYTES; 64 if (sectors > s->sectors_left) 67 rv = VbExDiskRead(s->handle, s->sector, sectors, buffer); 71 s->sector += sectors; 72 s->sectors_left -= sectors;
|
/external/gptfdisk/ |
H A D | 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 [all...] |
H A D | 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;
|
H A D | mbrpart.cc | 124 void MBRPart::SetGeometry(uint32_t heads, uint32_t sectors, uint64_t ds, uint32_t bs) { argument 126 numSecspTrack = sectors;
|
/external/blktrace/btt/ |
H A D | seek.c | 26 long long sectors; member in struct:seek_bkt 62 static void __insert(struct rb_root *root, long long sectors) argument 71 if (sectors < sbp->sectors) 73 else if (sectors > sbp->sectors) 83 sbp->sectors = sectors; 145 *rvp = sbp->sectors; 181 mp->modes[mp->nmds++] = sbp->sectors; [all...] |
/external/fio/ |
H A D | diskutil.h | 11 uint64_t sectors[2]; member in struct:disk_util_stats 29 uint64_t sectors[2]; member in struct:disk_util_agg
|
H A D | 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[ [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | virtio_blk.h | 57 /* The capacity (in 512-byte sectors). */ 67 __u8 sectors; member in struct:virtio_blk_config::virtio_blk_geometry
|
H A D | 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::__anon7734::__anon7735
|
H A D | msdos_fs.h | 115 __u8 sec_per_clus; /* sectors/cluster */ 116 __le16 reserved; /* reserved sectors */ 119 __u8 sectors[2]; /* number of sectors */ member in struct:fat_boot_sector 121 __le16 fat_length; /* sectors/FAT */ 122 __le16 secs_track; /* sectors per track */ 124 __le32 hidden; /* hidden sectors (unused) */ 125 __le32 total_sect; /* number of sectors (if sectors == 0) */ 142 __le32 length; /* sectors/FA [all...] |
H A D | hdreg.h | 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 439 unsigned short cur_sectors; /* Obsolete, l sectors pe [all...] |
/external/mmc-utils/ |
H A D | mmc_cmds.c | 511 unsigned int sectors = get_sector_count(ext_csd); local 513 return (sectors > (2u * 1024 * 1024 * 1024) / 512); 1173 unsigned int sectors = get_sector_count(ext_csd); local 1174 printf("Sector Count [SEC_COUNT: 0x%08x]\n", sectors);
|
/external/toybox/toys/pending/ |
H A D | fdisk.c | 18 -u Start and End are in sectors (instead of cylinders) 21 -C CYLINDERS Set number of cylinders/heads/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) 176 sectors [all...] |
/external/valgrind/coregrind/ |
H A D | 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[sn [all...] |
/external/toybox/generated/ |
H A D | globals.h | 504 long sectors; member in struct:fdisk_data
|
/external/valgrind/include/vki/ |
H A D | vki-linux.h | 1765 #define VKI_BLKSECTGET _VKI_IO(0x12,103)/* get max sectors per request (ll_rw_blk.c) */ 2085 unsigned char sectors; member in struct:vki_hd_geometry
|