Lines Matching refs:cl_bpc
93 u16 cl_bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_update_last_group_and_inode() local
109 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()
269 u16 cl_bpc; in ocfs2_group_extend() local
325 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
326 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
379 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() local
391 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
396 else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc) in ocfs2_check_new_group()
401 input->frees * cl_bpc); in ocfs2_check_new_group()
460 u16 cl_bpc; in ocfs2_group_add() local
519 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
549 le32_add_cpu(&cr->c_total, input->clusters * cl_bpc); in ocfs2_group_add()
550 le32_add_cpu(&cr->c_free, input->frees * cl_bpc); in ocfs2_group_add()
552 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
554 (input->clusters - input->frees) * cl_bpc); in ocfs2_group_add()