/system/extras/fatblock/ |
fs.c | 161 sector_t reserved_sectors, fat_sectors, data_sectors, total_sectors; local 181 total_sectors = reserved_sectors + fat_sectors + data_sectors; 195 bs->sectors32 = htole32(total_sectors); 244 *total_size_out = (offset_t)total_sectors * sector_size;
|
/external/blktrace/btt/ |
seek.c | 41 double total_sectors; member in struct:seeki 216 sip->total_sectors = 0.0; 266 sip->total_sectors += dist; 280 return sip->total_sectors / sip->tot_seeks;
|
/external/grub/stage2/ |
bios.c | 71 if (sector >= geometry->total_sectors) 95 geometry->total_sectors = (geometry->cylinders 162 geometry->total_sectors = MAXINT; 174 geometry->total_sectors = (geometry->cylinders 197 unsigned long total_sectors = 0; 217 unsigned long long total_sectors; 260 change the type of TOTAL_SECTORS to unsigned long 262 if (drp.total_sectors) 263 total_sectors = drp.total_sectors & ~0L 195 unsigned long total_sectors = 0; local 215 unsigned long long total_sectors; member in struct:drive_parameters [all...] |
shared.h | 639 stored in TOTAL_SECTORS. */ 649 unsigned long total_sectors; member in struct:geometry
|
/external/qemu/block/ |
vpc.c | 178 bs->total_sectors = (int64_t) 337 if ((sector_num < 0) || (sector_num > bs->total_sectors)) 448 * Note that the geometry doesn't always exactly match total_sectors but 453 static int calculate_geometry(int64_t total_sectors, uint16_t* cyls, 458 if (total_sectors > 65535 * 16 * 255) 461 if (total_sectors > 65535 * 16 * 63) { 464 cyls_times_heads = total_sectors / *secs_per_cyl; 467 cyls_times_heads = total_sectors / *secs_per_cyl; 476 cyls_times_heads = total_sectors / *secs_per_cyl; 482 cyls_times_heads = total_sectors / *secs_per_cyl 502 int64_t total_sectors = 0; local [all...] |
vvfat.c | 219 uint32_t total_sectors; member in struct:bootsector_t 975 bootsector->total_sectors=cpu_to_le32(s->sector_count>0xffff?s->sector_count:0); 1067 bs->total_sectors=bs->cyls*bs->heads*bs->secs; [all...] |
/external/qemu/ |
block_int.h | 140 int64_t total_sectors; /* if we are reading a disk image, give its member in struct:BlockDriverState 182 /* Whether the disk can expand beyond total_sectors */
|
block.c | 383 * Set the current 'total_sectors' value 402 bs->total_sectors = hint; 417 bs->total_sectors = 0; 471 ret = refresh_total_sectors(bs, bs->total_sectors); 748 int64_t sector, total_sectors; local 793 total_sectors = bdrv_getlength(bs) >> BDRV_SECTOR_BITS; 796 for (sector = 0; sector < total_sectors; sector += n) { 1133 /* Fixed size devices use the total_sectors value for speed instead of 1136 total_sectors. */ 1138 return bs->total_sectors * BDRV_SECTOR_SIZE [all...] |
/external/qemu-pc-bios/bochs/bios/ |
rombios.c | 6309 Bit16u max_cylinder, cylinder, total_sectors; local [all...] |