Searched refs:cl_bpc (Results 1 – 2 of 2) sorted by relevance
91 u16 cl_bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_update_last_group_and_inode() local109 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()111 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()275 u16 cl_bpc; in ocfs2_group_extend() local331 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()332 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()385 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() local397 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()402 else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc) in ocfs2_check_new_group()407 input->frees * cl_bpc); in ocfs2_check_new_group()[all …]
151 return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc); in ocfs2_bits_per_group()218 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_validate_gd_parent()405 le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()407 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()409 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()566 le16_to_cpu(bg->bg_bits) / le16_to_cpu(cl->cl_bpc); in ocfs2_block_group_grow_discontig()598 le16_to_cpu(bg->bg_bits) / le16_to_cpu(cl->cl_bpc); in ocfs2_block_group_grow_discontig()1746 unsigned int bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_bg_discontig_fix_by_rec()2726 count = le32_to_cpu(rec->c_total) / le16_to_cpu(cl->cl_bpc); in _ocfs2_reclaim_suballoc_to_main()