Lines Matching +full:bat +full:- +full:present

2  * Block driver for Hyper-V VHDX Images
11 * https://www.microsoft.com/en-us/download/details.aspx?id=34750
14 * See the COPYING.LIB file in the top-level directory.
25 /* Structures and fields present in the VHDX file */
32 * |----------|---------------|------------|--------------|--------------------|
47 * A note on the use of MS-GUID fields. For more details on the GUID,
51 * bytes are data1-data4. It makes no mention of what algorithm should be used
58 /* ---- HEADER SECTION STRUCTURES ---- */
66 uint16_t creator[256]; /* optional; utf-16 string to identify
72 /* the guid is a 16 byte unique ID - the definition for this used by
73 * Microsoft is not just 16 bytes though - it is a structure that is defined,
97 uint32_t checksum; /* CRC-32C hash of the whole header */
111 - system & user metadata
112 - raw block data
113 - disk size
114 - any change that will
119 blocks are re-arranged */
121 there is no valid log. If non-zero,
138 uint32_t checksum; /* CRC-32C hash of the 64KB table */
146 * BAT (block allocation table): 2DC27766F62342009D64115E9BFD4A08
153 MSGUID guid; /* 128-bit unique identifier */
161 /* ---- LOG ENTRY STRUCTURES ---- */
168 uint32_t checksum; /* CRC-32C hash of the 64KB table */
181 uint64_t flushed_file_offset; /* see spec for full details - this
194 uint32_t trailing_bytes; /* data desc: bytes 4092-4096 of the
200 uint64_t leading_bytes; /* data desc: bytes 0-7 of the data
203 uint64_t file_offset; /* file offset to write zeros - multiple
213 uint8_t data[4084]; /* raw data, bytes 8-4091 (inclusive).
221 /* block states - different state values depending on whether it is a
244 /* ---- METADATA REGION STRUCTURES ---- */
264 MSGUID item_id; /* 128-bit identifier for metadata */
270 uint32_t data_bits; /* least-significant 3 bits are flags,
285 uint32_t data_bits; /* least-significant 2 bits are flags,
318 /* key and value strings are UNICODE strings, UTF-16 LE encoding, no NULs */
327 /* ----- END VHDX SPECIFICATION STRUCTURES ---- */
336 uint16_t present; member
363 VHDXRegionTableEntry bat_rt; /* region table for the BAT */
384 VHDXBatEntry *bat; member
424 guid->data1 = le32_to_cpu(guid->data1); in leguid_to_cpus()
425 guid->data2 = le16_to_cpu(guid->data2); in leguid_to_cpus()
426 guid->data3 = le16_to_cpu(guid->data3); in leguid_to_cpus()
431 guid->data1 = cpu_to_le32(guid->data1); in cpu_to_leguids()
432 guid->data2 = cpu_to_le16(guid->data2); in cpu_to_leguids()
433 guid->data3 = cpu_to_le16(guid->data3); in cpu_to_leguids()