Lines Matching refs:batmap_size
198 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()
560 if (block >= (batmap->header.batmap_size << (VHD_SECTOR_SHIFT + 3))) in vhd_batmap_clear()
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()
2728 map_bytes = vhd_sectors_to_bytes(header->batmap_size); in vhd_create_batmap()