Lines Matching refs:r_refcount
903 ret_rec->r_refcount = 0; in ocfs2_find_refcount_rec_in_rl()
1151 if ((rb->rf_records.rl_recs[index].r_refcount == in ocfs2_refcount_rec_adjacent()
1152 rb->rf_records.rl_recs[index + 1].r_refcount) && in ocfs2_refcount_rec_adjacent()
1189 BUG_ON(rb->rf_records.rl_recs[index].r_refcount != in ocfs2_rotate_refcount_rec_left()
1190 rb->rf_records.rl_recs[index+1].r_refcount); in ocfs2_rotate_refcount_rec_left()
1253 index, le32_to_cpu(rec->r_refcount), change); in ocfs2_change_refcount_rec()
1254 le32_add_cpu(&rec->r_refcount, change); in ocfs2_change_refcount_rec()
1256 if (!rec->r_refcount) { in ocfs2_change_refcount_rec()
1790 le32_to_cpu(rec->r_clusters), le32_to_cpu(rec->r_refcount)); in ocfs2_insert_refcount_rec()
1844 le32_to_cpu(orig_rec->r_refcount), in ocfs2_split_refcount_rec()
1847 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
1854 if (!split_rec->r_refcount && in ocfs2_split_refcount_rec()
1867 if (split_rec->r_refcount && in ocfs2_split_refcount_rec()
1959 if (split_rec->r_refcount) { in ocfs2_split_refcount_rec()
1965 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
2015 if (rec.r_refcount && le64_to_cpu(rec.r_cpos) == cpos && in __ocfs2_increase_refcount()
2019 le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2027 } else if (!rec.r_refcount) { in __ocfs2_increase_refcount()
2028 rec.r_refcount = cpu_to_le32(1); in __ocfs2_increase_refcount()
2046 le32_add_cpu(&rec.r_refcount, 1); in __ocfs2_increase_refcount()
2050 set_len, le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2194 le32_add_cpu(&split.r_refcount, -1); in ocfs2_decrease_refcount_rec()
2247 r_count = le32_to_cpu(rec.r_refcount); in __ocfs2_decrease_refcount()
2264 if (le32_to_cpu(rec.r_refcount) == 1 && delete) { in __ocfs2_decrease_refcount()
2418 le32_to_cpu(rec.r_refcount), index); in ocfs2_calc_refcount_meta_credits()
2441 if (rec.r_refcount) { in ocfs2_calc_refcount_meta_credits()
3224 BUG_ON(!rec.r_refcount); in ocfs2_make_clusters_writable()
3236 if (le32_to_cpu(rec.r_refcount) == 1) { in ocfs2_make_clusters_writable()
3541 BUG_ON(!rec.r_refcount); in ocfs2_refcounted_xattr_delete_need()