Lines Matching refs:cl_bpc
91 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()
275 u16 cl_bpc; in ocfs2_group_extend() local
331 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() local
397 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()
466 u16 cl_bpc; in ocfs2_group_add() local
525 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
555 le32_add_cpu(&cr->c_total, input->clusters * cl_bpc); in ocfs2_group_add()
556 le32_add_cpu(&cr->c_free, input->frees * cl_bpc); in ocfs2_group_add()
558 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
560 (input->clusters - input->frees) * cl_bpc); in ocfs2_group_add()