Home
last modified time | relevance | path

Searched refs:cluster_bits (Results 1 – 6 of 6) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dqcow2.c178 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, &copy_buf); in qcow2_write_raw_image()
243 off_out <<= img.cluster_bits; in qcow2_write_raw_image()
Dgen_bitmap64.c144 bitmap->cluster_bits = 0; in ext2fs_alloc_generic_bmap()
151 bitmap->cluster_bits = fs->cluster_ratio_bits; in ext2fs_alloc_generic_bmap()
321 new_bmap->cluster_bits = src->cluster_bits; in ext2fs_copy_generic_bmap()
462 arg >>= bitmap->cluster_bits; in ext2fs_mark_generic_bmap()
501 arg >>= bitmap->cluster_bits; in ext2fs_unmark_generic_bmap()
532 arg >>= bitmap->cluster_bits; in ext2fs_test_generic_bmap()
683 block >>= bmap->cluster_bits; in ext2fs_test_block_bitmap_range2()
684 end += (1 << bmap->cluster_bits) - 1; in ext2fs_test_block_bitmap_range2()
685 end >>= bmap->cluster_bits; in ext2fs_test_block_bitmap_range2()
722 block >>= bmap->cluster_bits; in ext2fs_mark_block_bitmap_range2()
[all …]
Dqcow2.h47 __u32 cluster_bits; member
97 __u32 cluster_bits; member
Dbitmaps.c152 bmap64->cluster_bits = 0; in ext2fs_allocate_subcluster_bitmap()
164 return bmap->cluster_bits; in ext2fs_get_bitmap_granularity()
Dbmap64.h47 int cluster_bits; member
/external/e2fsprogs/misc/
De2image.c862 img->cluster_bits); in init_refcount()
863 table_clusters >>= (img->cluster_bits + 6 - 1); in init_refcount()
891 int cluster_bits = get_bits_from_size(fs->blocksize); in initialize_qcow2_image() local
902 total_size = ext2fs_blocks_count(sb) << cluster_bits; in initialize_qcow2_image()
904 image->l2_size = 1 << (cluster_bits - 3); in initialize_qcow2_image()
905 image->cluster_bits = cluster_bits; in initialize_qcow2_image()
911 header->cluster_bits = ext2fs_cpu_to_be32(cluster_bits); in initialize_qcow2_image()
919 l2_bits = cluster_bits - 3; in initialize_qcow2_image()
920 shift = cluster_bits + l2_bits; in initialize_qcow2_image()
939 image->cluster_bits; in initialize_qcow2_image()
[all …]