Lines Matching refs:cr
97 struct ocfs2_chain_rec *cr; in ocfs2_update_last_group_and_inode() local
143 cr = (&cl->cl_recs[chain]); in ocfs2_update_last_group_and_inode()
144 le32_add_cpu(&cr->c_total, num_bits); in ocfs2_update_last_group_and_inode()
145 le32_add_cpu(&cr->c_free, num_bits); in ocfs2_update_last_group_and_inode()
150 le32_add_cpu(&cr->c_free, -1 * backups); in ocfs2_update_last_group_and_inode()
464 struct ocfs2_chain_rec *cr; in ocfs2_group_add() local
526 cr = &cl->cl_recs[input->chain]; in ocfs2_group_add()
537 group->bg_next_group = cr->c_blkno; in ocfs2_group_add()
550 memset(cr, 0, sizeof(struct ocfs2_chain_rec)); in ocfs2_group_add()
553 cr->c_blkno = cpu_to_le64(input->group); 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()