Searched refs:HEADER_CLUSTER_BITS (Results 1 – 1 of 1) sorted by relevance
48 #define HEADER_CLUSTER_BITS(header) be32toh((header)->cluster_bits) macro49 #define HEADER_CLUSTER_SIZE(header) (1ULL << HEADER_CLUSTER_BITS(header))50 #define HEADER_L2_BITS(header) (HEADER_CLUSTER_BITS(header) - 3)164 csize_shift = 64 - 2 - (HEADER_CLUSTER_BITS(header) - 8); in normalize_offset()165 csize_mask = (1ULL << (HEADER_CLUSTER_BITS(header) - 8)) - 1; in normalize_offset()205 if (HEADER_CLUSTER_BITS(header) < 9) /* 512K */ in verify_header()208 if (HEADER_CLUSTER_BITS(header) > 21) /* 2MB */ in verify_header()296 p = ((i << HEADER_L2_BITS(&header)) + j) << HEADER_CLUSTER_BITS(&header); in qcow2_convert()