• Home
  • Raw
  • Download

Lines Matching refs:r_cpos

888 		if (le64_to_cpu(rec->r_cpos) +  in ocfs2_find_refcount_rec_in_rl()
891 else if (le64_to_cpu(rec->r_cpos) > cpos) in ocfs2_find_refcount_rec_in_rl()
902 ret_rec->r_cpos = cpu_to_le64(cpos); in ocfs2_find_refcount_rec_in_rl()
905 le64_to_cpu(rec->r_cpos) < cpos + len) in ocfs2_find_refcount_rec_in_rl()
907 cpu_to_le32(le64_to_cpu(rec->r_cpos) - cpos); in ocfs2_find_refcount_rec_in_rl()
1153 (le64_to_cpu(rb->rf_records.rl_recs[index].r_cpos) + in ocfs2_refcount_rec_adjacent()
1155 le64_to_cpu(rb->rf_records.rl_recs[index + 1].r_cpos))) in ocfs2_refcount_rec_adjacent()
1373 u32 r_cpos = ocfs2_get_ref_rec_low_cpos(r); in cmp_refcount_rec_by_low_cpos() local
1375 if (l_cpos > r_cpos) in cmp_refcount_rec_by_low_cpos()
1377 if (l_cpos < r_cpos) in cmp_refcount_rec_by_low_cpos()
1385 u64 l_cpos = le64_to_cpu(l->r_cpos); in cmp_refcount_rec_by_cpos()
1386 u64 r_cpos = le64_to_cpu(r->r_cpos); in cmp_refcount_rec_by_cpos() local
1388 if (l_cpos > r_cpos) in cmp_refcount_rec_by_cpos()
1390 if (l_cpos < r_cpos) in cmp_refcount_rec_by_cpos()
1669 new_cpos = le64_to_cpu(rec->r_cpos) & OCFS2_32BIT_POS_MASK; in ocfs2_adjust_refcount_rec()
1751 u64 cpos = le64_to_cpu(rec->r_cpos); in ocfs2_insert_refcount_rec()
1789 (unsigned long long)le64_to_cpu(rec->r_cpos), in ocfs2_insert_refcount_rec()
1842 trace_ocfs2_split_refcount_rec(le64_to_cpu(orig_rec->r_cpos), in ocfs2_split_refcount_rec()
1845 le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
1855 (split_rec->r_cpos == orig_rec->r_cpos || in ocfs2_split_refcount_rec()
1856 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1858 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1868 (split_rec->r_cpos != orig_rec->r_cpos && in ocfs2_split_refcount_rec()
1869 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1871 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1878 u64 cpos = le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1923 len = (le64_to_cpu(orig_rec->r_cpos) + in ocfs2_split_refcount_rec()
1925 (le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1936 le64_add_cpu(&tail_rec->r_cpos, in ocfs2_split_refcount_rec()
1950 if (split_rec->r_cpos != orig_rec->r_cpos && tail_rec != orig_rec) { in ocfs2_split_refcount_rec()
1951 len = le64_to_cpu(split_rec->r_cpos) - in ocfs2_split_refcount_rec()
1952 le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1963 (unsigned long long)le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
2015 if (rec.r_refcount && le64_to_cpu(rec.r_cpos) == cpos && in __ocfs2_increase_refcount()
2031 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2043 le64_to_cpu(rec.r_cpos) + set_len) - cpos; in __ocfs2_increase_refcount()
2044 rec.r_cpos = cpu_to_le64(cpos); in __ocfs2_increase_refcount()
2049 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2177 BUG_ON(cpos < le64_to_cpu(rec->r_cpos)); in ocfs2_decrease_refcount_rec()
2179 le64_to_cpu(rec->r_cpos) + le32_to_cpu(rec->r_clusters)); in ocfs2_decrease_refcount_rec()
2185 if (cpos == le64_to_cpu(rec->r_cpos) && in ocfs2_decrease_refcount_rec()
2191 split.r_cpos = cpu_to_le64(cpos); in ocfs2_decrease_refcount_rec()
2252 r_len = min((u64)(cpos + len), le64_to_cpu(rec.r_cpos) + in __ocfs2_decrease_refcount()
2416 (unsigned long long)le64_to_cpu(rec.r_cpos), in ocfs2_calc_refcount_meta_credits()
2420 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2445 cpos != le64_to_cpu(rec.r_cpos)) in ocfs2_calc_refcount_meta_credits()
2449 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
3254 le64_to_cpu(rec.r_cpos) + in ocfs2_make_clusters_writable()