Searched defs:HEADER_CLUSTER_BITS (Results 1 - 1 of 1) sorted by relevance

/systemd/src/import/
H A Dqcow2-util.c65 #define HEADER_CLUSTER_BITS(header) be32toh((header)->cluster_bits) macro
66 #define HEADER_CLUSTER_SIZE(header) (1ULL << HEADER_CLUSTER_BITS(header))
67 #define HEADER_L2_BITS(header) (HEADER_CLUSTER_BITS(header) - 3)
181 csize_shift = 64 - 2 - (HEADER_CLUSTER_BITS(header) - 8);
182 csize_mask = (1ULL << (HEADER_CLUSTER_BITS(header) - 8)) - 1;
223 if (HEADER_CLUSTER_BITS(header) < 9) /* 512K */
226 if (HEADER_CLUSTER_BITS(header) > 21) /* 2MB */
314 p = ((i << HEADER_L2_BITS(&header)) + j) << HEADER_CLUSTER_BITS(&header);

Completed in 10 milliseconds