Lines Matching refs:cr
104 struct ocfs2_chain_rec *cr; in ocfs2_update_last_group_and_inode() local
152 cr = (&cl->cl_recs[chain]); in ocfs2_update_last_group_and_inode()
153 le32_add_cpu(&cr->c_total, num_bits); in ocfs2_update_last_group_and_inode()
154 le32_add_cpu(&cr->c_free, num_bits); in ocfs2_update_last_group_and_inode()
159 le32_add_cpu(&cr->c_free, -1 * backups); in ocfs2_update_last_group_and_inode()
473 struct ocfs2_chain_rec *cr; in ocfs2_group_add() local
535 cr = &cl->cl_recs[input->chain]; in ocfs2_group_add()
546 group->bg_next_group = cr->c_blkno; in ocfs2_group_add()
559 memset(cr, 0, sizeof(struct ocfs2_chain_rec)); in ocfs2_group_add()
562 cr->c_blkno = cpu_to_le64(input->group); 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()