Lines Matching refs:cl_bpc
107 u16 cl_bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_update_last_group_and_inode() local
123 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
125 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
283 u16 cl_bpc; in ocfs2_group_extend() local
339 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
340 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
393 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() local
405 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
410 else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc) in ocfs2_check_new_group()
415 input->frees * cl_bpc); in ocfs2_check_new_group()
474 u16 cl_bpc; in ocfs2_group_add() local
533 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
563 le32_add_cpu(&cr->c_total, input->clusters * cl_bpc); in ocfs2_group_add()
564 le32_add_cpu(&cr->c_free, input->frees * cl_bpc); in ocfs2_group_add()
566 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
568 (input->clusters - input->frees) * cl_bpc); in ocfs2_group_add()