Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dvhdx.h291 uint64_t virtual_disk_size; /* Size of the virtual disk, in bytes. member
375 uint64_t virtual_disk_size; member
H A Dvhdx.c793 &s->virtual_disk_size, in vhdx_parse_metadata()
817 s->virtual_disk_size = le64_to_cpu(s->virtual_disk_size); in vhdx_parse_metadata()
879 data_blocks_cnt = DIV_ROUND_UP(s->virtual_disk_size, s->block_size); in vhdx_calc_bat_entries()
1063 bs->total_sectors = s->virtual_disk_size >> s->logical_sector_size_bits; in vhdx_open()
1621 mt_virtual_size->virtual_disk_size = cpu_to_le64(image_size); in vhdx_create_new_metadata()
1821 s->virtual_disk_size = image_size; in vhdx_create_new_region_table()
H A Dqcow2.c891 uint64_t virtual_disk_size = bs->total_sectors * BDRV_SECTOR_SIZE; in read_cache_sizes() local
892 uint64_t max_l2_entries = DIV_ROUND_UP(virtual_disk_size, s->cluster_size); in read_cache_sizes()