HomeSort by relevance Sort by last modified time
    Searched refs:total_sectors (Results 1 - 21 of 21) sorted by null

  /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...]
disk_io.c 170 if (sector < 0 || sector >= buf_geom.total_sectors)
799 part_length = buf_geom.total_sectors;
    [all...]
builtins.c 1408 disks[current_drive].total_sectors = num_total_sector;
1410 disks[current_drive].total_sectors
1432 geom.total_sectors, msg);
    [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...]
parallels.c 86 bs->total_sectors = le32_to_cpu(ph.nb_sectors);
bochs.c 133 bs->total_sectors = le64_to_cpu(header_v1.extra.redolog.disk) / 512;
135 bs->total_sectors = le64_to_cpu(bochs.extra.redolog.disk) / 512;
cow.c 80 bs->total_sectors = size / 512;
85 bitmap_size = ((bs->total_sectors + 7) >> 3) + sizeof(cow_header);
cloop.c 95 bs->total_sectors = s->n_blocks*s->sectors_per_block;
vmdk.c 380 bs->total_sectors = le32_to_cpu(header.disk_sectors);
389 bs->total_sectors = le64_to_cpu(header.capacity);
395 s->l1_size = (bs->total_sectors + s->l1_entry_sectors - 1)
630 if (sector_num > bs->total_sectors) {
633 " total_sectors=0x%" PRIx64 "\n",
634 sector_num, bs->total_sectors);
qcow2.c 177 bs->total_sectors = header.size / 512;
318 if ((sector_num + nb_sectors) <= bs->total_sectors)
320 if (sector_num >= bs->total_sectors)
323 n1 = bs->total_sectors - sector_num;
    [all...]
raw-posix.c 259 bs->total_sectors, ret, errno, strerror(errno));
273 bs->total_sectors, ret, errno, strerror(errno));
303 bs->total_sectors, ret, errno, strerror(errno));
    [all...]
qcow.c 124 bs->total_sectors = header.size / 512;
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...]
  /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/grub/lib/
device.c 167 geom->total_sectors = nr;
187 geom->total_sectors = media_size / sector_size;
195 else if (geom->total_sectors <= 63 * 1 * 1024)
197 else if (geom->total_sectors <= 63 * 16 * 1024)
202 geom->cylinders = (geom->total_sectors
220 geom->total_sectors = hdg.d_secperunit;
252 geom->total_sectors = st.st_size >> SECTOR_BITS;
254 geom->total_sectors = geom->cylinders * geom->heads * geom->sectors;
  /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/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...]
qemu-io.c     [all...]
  /external/qemu-pc-bios/bochs/bios/
rombios.c 6309 Bit16u max_cylinder, cylinder, total_sectors; local
    [all...]

Completed in 855 milliseconds