Lines Matching refs:r_cpos
896 if (le64_to_cpu(rec->r_cpos) + in ocfs2_find_refcount_rec_in_rl()
899 else if (le64_to_cpu(rec->r_cpos) > cpos) in ocfs2_find_refcount_rec_in_rl()
910 ret_rec->r_cpos = cpu_to_le64(cpos); in ocfs2_find_refcount_rec_in_rl()
913 le64_to_cpu(rec->r_cpos) < cpos + len) in ocfs2_find_refcount_rec_in_rl()
915 cpu_to_le32(le64_to_cpu(rec->r_cpos) - cpos); in ocfs2_find_refcount_rec_in_rl()
1161 (le64_to_cpu(rb->rf_records.rl_recs[index].r_cpos) + in ocfs2_refcount_rec_adjacent()
1163 le64_to_cpu(rb->rf_records.rl_recs[index + 1].r_cpos))) in ocfs2_refcount_rec_adjacent()
1381 u32 r_cpos = ocfs2_get_ref_rec_low_cpos(r); in cmp_refcount_rec_by_low_cpos() local
1383 if (l_cpos > r_cpos) in cmp_refcount_rec_by_low_cpos()
1385 if (l_cpos < r_cpos) in cmp_refcount_rec_by_low_cpos()
1393 u64 l_cpos = le64_to_cpu(l->r_cpos); in cmp_refcount_rec_by_cpos()
1394 u64 r_cpos = le64_to_cpu(r->r_cpos); in cmp_refcount_rec_by_cpos() local
1396 if (l_cpos > r_cpos) in cmp_refcount_rec_by_cpos()
1398 if (l_cpos < r_cpos) in cmp_refcount_rec_by_cpos()
1677 new_cpos = le64_to_cpu(rec->r_cpos) & OCFS2_32BIT_POS_MASK; in ocfs2_adjust_refcount_rec()
1759 u64 cpos = le64_to_cpu(rec->r_cpos); in ocfs2_insert_refcount_rec()
1797 (unsigned long long)le64_to_cpu(rec->r_cpos), in ocfs2_insert_refcount_rec()
1850 trace_ocfs2_split_refcount_rec(le64_to_cpu(orig_rec->r_cpos), in ocfs2_split_refcount_rec()
1853 le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
1863 (split_rec->r_cpos == orig_rec->r_cpos || in ocfs2_split_refcount_rec()
1864 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1866 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1876 (split_rec->r_cpos != orig_rec->r_cpos && in ocfs2_split_refcount_rec()
1877 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1879 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1886 u64 cpos = le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1931 len = (le64_to_cpu(orig_rec->r_cpos) + in ocfs2_split_refcount_rec()
1933 (le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1944 le64_add_cpu(&tail_rec->r_cpos, in ocfs2_split_refcount_rec()
1958 if (split_rec->r_cpos != orig_rec->r_cpos && tail_rec != orig_rec) { in ocfs2_split_refcount_rec()
1959 len = le64_to_cpu(split_rec->r_cpos) - in ocfs2_split_refcount_rec()
1960 le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1971 (unsigned long long)le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
2023 if (rec.r_refcount && le64_to_cpu(rec.r_cpos) == cpos && in __ocfs2_increase_refcount()
2039 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2051 le64_to_cpu(rec.r_cpos) + set_len) - cpos; in __ocfs2_increase_refcount()
2052 rec.r_cpos = cpu_to_le64(cpos); in __ocfs2_increase_refcount()
2057 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2185 BUG_ON(cpos < le64_to_cpu(rec->r_cpos)); in ocfs2_decrease_refcount_rec()
2187 le64_to_cpu(rec->r_cpos) + le32_to_cpu(rec->r_clusters)); in ocfs2_decrease_refcount_rec()
2193 if (cpos == le64_to_cpu(rec->r_cpos) && in ocfs2_decrease_refcount_rec()
2199 split.r_cpos = cpu_to_le64(cpos); in ocfs2_decrease_refcount_rec()
2260 r_len = min((u64)(cpos + len), le64_to_cpu(rec.r_cpos) + in __ocfs2_decrease_refcount()
2424 (unsigned long long)le64_to_cpu(rec.r_cpos), in ocfs2_calc_refcount_meta_credits()
2428 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2453 cpos != le64_to_cpu(rec.r_cpos)) in ocfs2_calc_refcount_meta_credits()
2457 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
3262 le64_to_cpu(rec.r_cpos) + in ocfs2_make_clusters_writable()