Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dvhd.h172 u32 batmap_size; /* batmap size in sectors */ member
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dlibvhd.c198 BE32_IN(&batmap->header.batmap_size); in vhd_batmap_header_in()
207 BE32_OUT(&batmap->header.batmap_size); in vhd_batmap_header_out()
372 n = vhd_sectors_to_bytes(batmap->header.batmap_size); in vhd_checksum_batmap()
536 if (block >= (batmap->header.batmap_size << (VHD_SECTOR_SHIFT + 3))) in vhd_batmap_test()
548 if (block >= (batmap->header.batmap_size << (VHD_SECTOR_SHIFT + 3))) in vhd_batmap_set()
635 map_secs = ctx->batmap.header.batmap_size; in vhd_end_of_headers()
1130 map_size = vhd_sectors_to_bytes(batmap->header.batmap_size); in vhd_read_batmap_map()
2084 map_size = vhd_sectors_to_bytes(b.header.batmap_size); in vhd_write_batmap()
2595 vhd_sectors_to_bytes(ctx->batmap.header.batmap_size); in vhd_write_parent_locators()
2725 header->batmap_size = secs_round_up_no_zero(map_bytes); in vhd_create_batmap()
[all …]
A Dvhd-util-read.c240 conv(hex, batmap->header.batmap_size)); in vhd_print_batmap_header()
490 size = vhd_sectors_to_bytes(vhd->batmap.header.batmap_size); in vhd_print_batmap()
A Dvhd-util-resize.c638 vhd_bytes_padded(vhd->batmap.header.batmap_size))) { in vhd_check_for_clobber()
859 new_batmap.header.batmap_size = secs_round_up_no_zero(new_map_size); in vhd_add_bat_entries()
910 map_secs = vhd->batmap.header.batmap_size; in vhd_dynamic_grow()
A Dvhd-util-check.c249 if (!batmap->header.batmap_size) in vhd_util_check_validate_batmap()
261 vhd_sectors_to_bytes(batmap->header.batmap_size)) > in vhd_util_check_validate_batmap()
A Dlibvhd-journal.c600 size = vhd_sectors_to_bytes(batmap.header.batmap_size); in vhd_journal_add_batmap()
873 if (entry.size != vhd_sectors_to_bytes(batmap->header.batmap_size)) in vhd_journal_read_batmap_map()

Completed in 15 milliseconds