Lines Matching refs:orig_rec
1836 struct ocfs2_refcount_rec *orig_rec = &rf_list->rl_recs[index];
1842 trace_ocfs2_split_refcount_rec(le64_to_cpu(orig_rec->r_cpos),
1843 le32_to_cpu(orig_rec->r_clusters),
1844 le32_to_cpu(orig_rec->r_refcount),
1855 (split_rec->r_cpos == orig_rec->r_cpos ||
1858 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters)))
1868 (split_rec->r_cpos != orig_rec->r_cpos &&
1871 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters)))
1878 u64 cpos = le64_to_cpu(orig_rec->r_cpos);
1879 len = le32_to_cpu(orig_rec->r_clusters);
1902 orig_rec = &rf_list->rl_recs[index];
1923 len = (le64_to_cpu(orig_rec->r_cpos) +
1924 le32_to_cpu(orig_rec->r_clusters)) -
1935 memcpy(tail_rec, orig_rec, sizeof(struct ocfs2_refcount_rec));
1947 * the orig_rec and in that case we have done some modification in
1948 * orig_rec above, so the check for r_cpos is faked.
1950 if (split_rec->r_cpos != orig_rec->r_cpos && tail_rec != orig_rec) {
1952 le64_to_cpu(orig_rec->r_cpos);
1953 orig_rec->r_clusters = cpu_to_le32(len);