Home
last modified time | relevance | path

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

/dports/emulators/qemu/qemu-6.2.0/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB) macro
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c531 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
534 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
541 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1612 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1663 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1817 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1845 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1859 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1866 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu5/qemu-5.2.0/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB) macro
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c531 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
534 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
541 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1612 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1663 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1817 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1845 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1859 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1866 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu60/qemu-6.0.0/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB) macro
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c531 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
534 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
541 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1612 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1663 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1817 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1845 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1859 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1866 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/
H A Dvhdx.h39 #define VHDX_HEADER_BLOCK_SIZE (64 * 1024) macro
42 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
43 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
44 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
45 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c528 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
531 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
538 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1521 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1572 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1725 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1753 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1767 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1774 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu-utils/qemu-4.2.1/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB) macro
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c532 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
535 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
542 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1604 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1655 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1809 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1837 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1851 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1858 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu42/qemu-4.2.1/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB) macro
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c532 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
535 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
542 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1604 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1655 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1809 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1837 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1851 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1858 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB) macro
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c532 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
535 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
542 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1604 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1655 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1809 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1837 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1851 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1858 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB)
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c532 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
535 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
542 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1604 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1655 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1809 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1837 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1851 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1858 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/
H A Dvhdx.h37 #define VHDX_HEADER_BLOCK_SIZE (64 * KiB) macro
40 #define VHDX_HEADER1_OFFSET (VHDX_HEADER_BLOCK_SIZE * 1)
41 #define VHDX_HEADER2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 2)
42 #define VHDX_REGION_TABLE_OFFSET (VHDX_HEADER_BLOCK_SIZE * 3)
43 #define VHDX_REGION_TABLE2_OFFSET (VHDX_HEADER_BLOCK_SIZE * 4)
H A Dvhdx.c531 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
534 VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables()
541 if (!vhdx_checksum_is_valid(buffer, VHDX_HEADER_BLOCK_SIZE, 4)) { in vhdx_open_region_tables()
1612 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_metadata()
1663 ret = blk_pwrite(blk, metadata_offset, buffer, VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_metadata()
1817 buffer = g_malloc0(VHDX_HEADER_BLOCK_SIZE); in vhdx_create_new_region_table()
1845 vhdx_update_checksum(buffer, VHDX_HEADER_BLOCK_SIZE, in vhdx_create_new_region_table()
1859 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()
1866 VHDX_HEADER_BLOCK_SIZE, 0); in vhdx_create_new_region_table()