Lines Matching refs:r_refcount
904 ret_rec->r_refcount = 0; in ocfs2_find_refcount_rec_in_rl()
1152 if ((rb->rf_records.rl_recs[index].r_refcount == in ocfs2_refcount_rec_adjacent()
1153 rb->rf_records.rl_recs[index + 1].r_refcount) && in ocfs2_refcount_rec_adjacent()
1190 BUG_ON(rb->rf_records.rl_recs[index].r_refcount != in ocfs2_rotate_refcount_rec_left()
1191 rb->rf_records.rl_recs[index+1].r_refcount); in ocfs2_rotate_refcount_rec_left()
1254 index, le32_to_cpu(rec->r_refcount), change); in ocfs2_change_refcount_rec()
1255 le32_add_cpu(&rec->r_refcount, change); in ocfs2_change_refcount_rec()
1257 if (!rec->r_refcount) { in ocfs2_change_refcount_rec()
1784 le32_to_cpu(rec->r_clusters), le32_to_cpu(rec->r_refcount)); in ocfs2_insert_refcount_rec()
1838 le32_to_cpu(orig_rec->r_refcount), in ocfs2_split_refcount_rec()
1841 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
1848 if (!split_rec->r_refcount && in ocfs2_split_refcount_rec()
1861 if (split_rec->r_refcount && in ocfs2_split_refcount_rec()
1953 if (split_rec->r_refcount) { in ocfs2_split_refcount_rec()
1959 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
2009 if (rec.r_refcount && le64_to_cpu(rec.r_cpos) == cpos && in __ocfs2_increase_refcount()
2013 le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2021 } else if (!rec.r_refcount) { in __ocfs2_increase_refcount()
2022 rec.r_refcount = cpu_to_le32(1); in __ocfs2_increase_refcount()
2040 le32_add_cpu(&rec.r_refcount, 1); in __ocfs2_increase_refcount()
2044 set_len, le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2188 le32_add_cpu(&split.r_refcount, -1); in ocfs2_decrease_refcount_rec()
2241 r_count = le32_to_cpu(rec.r_refcount); in __ocfs2_decrease_refcount()
2258 if (le32_to_cpu(rec.r_refcount) == 1 && delete) { in __ocfs2_decrease_refcount()
2412 le32_to_cpu(rec.r_refcount), index); in ocfs2_calc_refcount_meta_credits()
2435 if (rec.r_refcount) { in ocfs2_calc_refcount_meta_credits()
3219 BUG_ON(!rec.r_refcount); in ocfs2_make_clusters_writable()
3231 if (le32_to_cpu(rec.r_refcount) == 1) { in ocfs2_make_clusters_writable()
3536 BUG_ON(!rec.r_refcount); in ocfs2_refcounted_xattr_delete_need()