Searched refs:bitmap_cpg (Results 1 – 5 of 5) sorted by relevance
2279 group_no = cluster / osb->bitmap_cpg; in ocfs2_which_cluster_group()2283 group_no * osb->bitmap_cpg); in ocfs2_which_cluster_group()2343 if (min_clusters > (osb->bitmap_cpg - 1)) { in __ocfs2_claim_clusters()2348 osb->bitmap_cpg); in __ocfs2_claim_clusters()2353 if (bits_wanted > (osb->bitmap_cpg - 1)) in __ocfs2_claim_clusters()2354 bits_wanted = osb->bitmap_cpg - 1; in __ocfs2_claim_clusters()
296 if (osb->local_alloc_bits >= osb->bitmap_cpg) { in ocfs2_load_local_alloc()299 osb->local_alloc_bits, (osb->bitmap_cpg - 1)); in ocfs2_load_local_alloc()
322 u32 bitmap_cpg; member
7392 if (minlen >= osb->bitmap_cpg || range->len < sb->s_blocksize) in ocfs2_trim_fs()7431 last_bit = osb->bitmap_cpg; in ocfs2_trim_fs()7435 if (first_bit + len >= osb->bitmap_cpg) in ocfs2_trim_fs()7436 last_bit = osb->bitmap_cpg; in ocfs2_trim_fs()7460 len -= osb->bitmap_cpg - first_bit; in ocfs2_trim_fs()7463 group = ocfs2_clusters_to_blocks(sb, osb->bitmap_cpg); in ocfs2_trim_fs()7465 group += ocfs2_clusters_to_blocks(sb, osb->bitmap_cpg); in ocfs2_trim_fs()
2320 osb->bitmap_cpg = ocfs2_group_bitmap_size(sb, 0, in ocfs2_initialize_super()