Searched refs:cluster_ratio_bits (Results 1 – 10 of 10) sorted by relevance
67 check_field(cluster_ratio_bits); in main()
329 fs->cluster_ratio_bits = fs->super->s_log_cluster_size - in ext2fs_open2()332 EXT2_CLUSTERS_PER_GROUP(fs->super) << fs->cluster_ratio_bits) { in ext2fs_open2()
151 bitmap->cluster_bits = fs->cluster_ratio_bits; in ext2fs_alloc_generic_bmap()806 if (fs->cluster_ratio_bits == ext2fs_get_bitmap_granularity(gen_bmap)) in ext2fs_convert_subcluster_bitmap()821 ratio = 1 << fs->cluster_ratio_bits; in ext2fs_convert_subcluster_bitmap()
135 if (!fs->cluster_ratio_bits) in ext2fs_allocate_subcluster_bitmap()
255 int cluster_ratio_bits; member661 #define EXT2FS_CLUSTER_RATIO(fs) (1 << (fs)->cluster_ratio_bits)663 #define EXT2FS_B2C(fs, blk) ((blk) >> (fs)->cluster_ratio_bits)665 #define EXT2FS_C2B(fs, cluster) ((cluster) << (fs)->cluster_ratio_bits)668 (fs)->cluster_ratio_bits)
226 fs->cluster_ratio_bits = super->s_log_cluster_size - in ext2fs_initialize()
145 chunk_start_blk >> fs->cluster_ratio_bits); in scan_block_bitmap()
687 fs->blocksize << fs->cluster_ratio_bits, in show_stats()
329 clusters = DIV_ROUND_UP(size, fs->blocksize << fs->cluster_ratio_bits); in size_to_quota_blocks()2776 if (!ctx->fs->cluster_ratio_bits) in has_unaligned_cluster_map()3133 if (ctx->fs->cluster_ratio_bits && in scan_extent_node()3793 } else if (!(ctx->fs->cluster_ratio_bits && in process_block()