Lines Matching refs:cl_bpc
100 u16 cl_bpc = le16_to_cpu(cl->cl_bpc); in ocfs2_update_last_group_and_inode() local
116 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
274 u16 cl_bpc; in ocfs2_group_extend() local
330 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
331 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
384 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() local
396 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) in ocfs2_check_new_group()
401 else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc) in ocfs2_check_new_group()
406 input->frees * cl_bpc); in ocfs2_check_new_group()
465 u16 cl_bpc; in ocfs2_group_add() local
524 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
554 le32_add_cpu(&cr->c_total, input->clusters * cl_bpc); in ocfs2_group_add()
555 le32_add_cpu(&cr->c_free, input->frees * cl_bpc); in ocfs2_group_add()
557 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
559 (input->clusters - input->frees) * cl_bpc); in ocfs2_group_add()