Home | History | Annotate | Download | only in qemu

Lines Matching defs:total_sectors

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;
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;
1503 if (sector_num >= bs->total_sectors) {
1507 n = bs->total_sectors - sector_num;