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

/freebsd-13-stable/usr.bin/mkimg/
H A Dvhd.c59 #define VHD_SECTOR_SIZE 512 macro
60 #define VHD_BLOCK_SIZE (4096 * VHD_SECTOR_SIZE) /* 2MB blocks */
97 _Static_assert(sizeof(struct vhd_footer) == VHD_SECTOR_SIZE, variable
120 imgsz = image_size / VHD_SECTOR_SIZE;
179 geom.sectors * VHD_SECTOR_SIZE;
182 newsz += geom.heads * geom.sectors * VHD_SECTOR_SIZE;
260 _Static_assert(sizeof(struct vhd_dyn_header) == VHD_SECTOR_SIZE * 2,
306 batsz = (batsz + VHD_SECTOR_SIZE - 1) & ~(VHD_SECTOR_SIZE - 1);
312 sector = (sizeof(footer) + sizeof(header) + batsz) / VHD_SECTOR_SIZE;
[all...]

Completed in 49 milliseconds