Searched refs:cluster_bits (Results 1 – 6 of 6) sorted by relevance
178 img.cluster_bits = ext2fs_be32_to_cpu(hdr->cluster_bits); in qcow2_write_raw_image()179 if (img.cluster_bits < 9 || img.cluster_bits > 31) in qcow2_write_raw_image()181 img.cluster_size = 1 << img.cluster_bits; in qcow2_write_raw_image()184 img.l2_size = 1 << (img.cluster_bits - 3); in qcow2_write_raw_image()190 max_l1_size = (img.image_size >> ((2 * img.cluster_bits) - 3)) + in qcow2_write_raw_image()199 ret = ext2fs_get_memzero(1 << img.cluster_bits, ©_buf); in qcow2_write_raw_image()243 off_out <<= img.cluster_bits; in qcow2_write_raw_image()
146 bitmap->cluster_bits = 0; in ext2fs_alloc_generic_bmap()153 bitmap->cluster_bits = fs->cluster_ratio_bits; in ext2fs_alloc_generic_bmap()323 new_bmap->cluster_bits = src->cluster_bits; in ext2fs_copy_generic_bmap()464 arg >>= bitmap->cluster_bits; in ext2fs_mark_generic_bmap()503 arg >>= bitmap->cluster_bits; in ext2fs_unmark_generic_bmap()534 arg >>= bitmap->cluster_bits; in ext2fs_test_generic_bmap()686 block >>= bmap->cluster_bits; in ext2fs_test_block_bitmap_range2()687 end += (1 << bmap->cluster_bits) - 1; in ext2fs_test_block_bitmap_range2()688 end >>= bmap->cluster_bits; in ext2fs_test_block_bitmap_range2()727 block >>= bmap->cluster_bits; in ext2fs_mark_block_bitmap_range2()[all …]
47 __u32 cluster_bits; member97 __u32 cluster_bits; member
153 bmap64->cluster_bits = 0; in ext2fs_allocate_subcluster_bitmap()165 return bmap->cluster_bits; in ext2fs_get_bitmap_granularity()
47 int cluster_bits; member
869 img->cluster_bits); in init_refcount()870 table_clusters >>= (img->cluster_bits + 6 - 1); in init_refcount()898 int cluster_bits = get_bits_from_size(fs->blocksize); in initialize_qcow2_image() local902 if (cluster_bits < 0) in initialize_qcow2_image()910 total_size = ext2fs_blocks_count(sb) << cluster_bits; in initialize_qcow2_image()912 image->l2_size = 1 << (cluster_bits - 3); in initialize_qcow2_image()913 image->cluster_bits = cluster_bits; in initialize_qcow2_image()919 header->cluster_bits = ext2fs_cpu_to_be32(cluster_bits); in initialize_qcow2_image()927 l2_bits = cluster_bits - 3; in initialize_qcow2_image()928 shift = cluster_bits + l2_bits; in initialize_qcow2_image()[all …]