Lines Matching refs:DynamicDiskHeader
1016 VHDDynamicDiskHeader DynamicDiskHeader;
1020 memset(&DynamicDiskHeader, 0, sizeof(DynamicDiskHeader));
1049 pImage->uCurrentEndOfFile = vhdAllocateParentLocators(pImage, &DynamicDiskHeader,
1070 memcpy(DynamicDiskHeader.Cookie, VHD_DYNAMIC_DISK_HEADER_COOKIE, sizeof(DynamicDiskHeader.Cookie));
1071 DynamicDiskHeader.DataOffset = UINT64_C(0xFFFFFFFFFFFFFFFF); /* Initially the disk has no data. */
1072 DynamicDiskHeader.TableOffset = RT_H2BE_U64(pImage->uBlockAllocationTableOffset);
1073 DynamicDiskHeader.HeaderVersion = RT_H2BE_U32(VHD_DYNAMIC_DISK_HEADER_VERSION);
1074 DynamicDiskHeader.BlockSize = RT_H2BE_U32(pImage->cbDataBlock);
1075 DynamicDiskHeader.MaxTableEntries = RT_H2BE_U32(pImage->cBlockAllocationTableEntries);
1077 DynamicDiskHeader.Checksum = 0;
1078 DynamicDiskHeader.Checksum = RT_H2BE_U32(vhdChecksum(&DynamicDiskHeader, sizeof(DynamicDiskHeader)));
1081 &DynamicDiskHeader, sizeof(DynamicDiskHeader));