Searched refs:VHD_BLOCK_SIZE (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/usr.bin/mkimg/
H A Dvhd.c60 #define VHD_BLOCK_SIZE (4096 * VHD_SECTOR_SIZE) /* 2MB blocks */ macro
287 imgsz = (rawsz + VHD_BLOCK_SIZE - 1) & ~(VHD_BLOCK_SIZE - 1);
293 bat_entries = imgsz / VHD_BLOCK_SIZE;
300 be32enc(&header.block_size, VHD_BLOCK_SIZE);
311 blkcnt = VHD_BLOCK_SIZE / secsz;
317 sector += (VHD_BLOCK_SIZE / VHD_SECTOR_SIZE) + 1;
332 blkcnt = VHD_BLOCK_SIZE / secsz;

Completed in 50 milliseconds