Home
last modified time | relevance | path

Searched refs:VHD_MAX_GEOMETRY (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dvpc.c59 #define VHD_MAX_GEOMETRY (VHD_CHS_MAX_C * VHD_CHS_MAX_H * VHD_CHS_MAX_S) macro
338 if (!use_chs || bs->total_sectors == VHD_MAX_GEOMETRY || s->force_use_sz) { in vpc_open()
792 total_sectors = MIN(total_sectors, VHD_MAX_GEOMETRY); in calculate_geometry()
945 total_sectors = MIN(VHD_MAX_GEOMETRY, total_size / BDRV_SECTOR_SIZE); in calculate_rounded_image_size()
951 if ((int64_t)cyls * heads * secs_per_cyl == VHD_MAX_GEOMETRY) { in calculate_rounded_image_size()