Lines Matching refs:orig_rec
1838 struct ocfs2_refcount_rec *orig_rec = &rf_list->rl_recs[index];
1844 trace_ocfs2_split_refcount_rec(le64_to_cpu(orig_rec->r_cpos),
1845 le32_to_cpu(orig_rec->r_clusters),
1846 le32_to_cpu(orig_rec->r_refcount),
1857 (split_rec->r_cpos == orig_rec->r_cpos ||
1860 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters)))
1870 (split_rec->r_cpos != orig_rec->r_cpos &&
1873 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters)))
1880 u64 cpos = le64_to_cpu(orig_rec->r_cpos);
1881 len = le32_to_cpu(orig_rec->r_clusters);
1904 orig_rec = &rf_list->rl_recs[index];
1925 len = (le64_to_cpu(orig_rec->r_cpos) +
1926 le32_to_cpu(orig_rec->r_clusters)) -
1937 memcpy(tail_rec, orig_rec, sizeof(struct ocfs2_refcount_rec));
1949 * the orig_rec and in that case we have done some modification in
1950 * orig_rec above, so the check for r_cpos is faked.
1952 if (split_rec->r_cpos != orig_rec->r_cpos && tail_rec != orig_rec) {
1954 le64_to_cpu(orig_rec->r_cpos);
1955 orig_rec->r_clusters = cpu_to_le32(len);