Searched refs:VHD_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance
58 #define VHD_BLOCK_SIZE (4096 * VHD_SECTOR_SIZE) /* 2MB blocks */ macro285 imgsz = (rawsz + VHD_BLOCK_SIZE - 1) & ~(VHD_BLOCK_SIZE - 1); in vhd_dyn_write()291 bat_entries = imgsz / VHD_BLOCK_SIZE; in vhd_dyn_write()298 be32enc(&header.block_size, VHD_BLOCK_SIZE); in vhd_dyn_write()309 blkcnt = VHD_BLOCK_SIZE / secsz; in vhd_dyn_write()315 sector += (VHD_BLOCK_SIZE / VHD_SECTOR_SIZE) + 1; in vhd_dyn_write()330 blkcnt = VHD_BLOCK_SIZE / secsz; in vhd_dyn_write()