Lines Matching refs:le64_to_cpu

105 	if (le64_to_cpu(rb->rf_blkno) != bh->b_blocknr) {  in ocfs2_validate_refcount_block()
109 (unsigned long long)le64_to_cpu(rb->rf_blkno)); in ocfs2_validate_refcount_block()
411 *ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_get_refcount_block()
769 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree()
789 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
792 bg_blkno = le64_to_cpu(rb->rf_suballoc_loc); in ocfs2_remove_refcount_tree()
890 if (le64_to_cpu(rec->r_cpos) + in ocfs2_find_refcount_rec_in_rl()
893 else if (le64_to_cpu(rec->r_cpos) > cpos) in ocfs2_find_refcount_rec_in_rl()
907 le64_to_cpu(rec->r_cpos) < cpos + len) in ocfs2_find_refcount_rec_in_rl()
909 cpu_to_le32(le64_to_cpu(rec->r_cpos) - cpos); in ocfs2_find_refcount_rec_in_rl()
1037 if (le64_to_cpu(tmp_el->l_recs[i].e_blkno) == blkno) { in ocfs2_get_refcount_cpos_end()
1127 ret = ocfs2_read_refcount_block(ci, le64_to_cpu(rec->e_blkno), in ocfs2_get_refcount_rec()
1155 (le64_to_cpu(rb->rf_records.rl_recs[index].r_cpos) + in ocfs2_refcount_rec_adjacent()
1157 le64_to_cpu(rb->rf_records.rl_recs[index + 1].r_cpos))) in ocfs2_refcount_rec_adjacent()
1387 u64 l_cpos = le64_to_cpu(l->r_cpos); in cmp_refcount_rec_by_cpos()
1388 u64 r_cpos = le64_to_cpu(r->r_cpos); in cmp_refcount_rec_by_cpos()
1671 new_cpos = le64_to_cpu(rec->r_cpos) & OCFS2_32BIT_POS_MASK; in ocfs2_adjust_refcount_rec()
1753 u64 cpos = le64_to_cpu(rec->r_cpos); in ocfs2_insert_refcount_rec()
1791 (unsigned long long)le64_to_cpu(rec->r_cpos), in ocfs2_insert_refcount_rec()
1844 trace_ocfs2_split_refcount_rec(le64_to_cpu(orig_rec->r_cpos), in ocfs2_split_refcount_rec()
1847 le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
1858 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1860 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1871 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1873 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1880 u64 cpos = le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1925 len = (le64_to_cpu(orig_rec->r_cpos) + in ocfs2_split_refcount_rec()
1927 (le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1953 len = le64_to_cpu(split_rec->r_cpos) - in ocfs2_split_refcount_rec()
1954 le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1965 (unsigned long long)le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
2017 if (rec.r_refcount && le64_to_cpu(rec.r_cpos) == cpos && in __ocfs2_increase_refcount()
2033 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2045 le64_to_cpu(rec.r_cpos) + set_len) - cpos; in __ocfs2_increase_refcount()
2051 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2110 le64_to_cpu(rb->rf_suballoc_loc), in ocfs2_remove_refcount_extent()
2111 le64_to_cpu(rb->rf_blkno), in ocfs2_remove_refcount_extent()
2179 BUG_ON(cpos < le64_to_cpu(rec->r_cpos)); in ocfs2_decrease_refcount_rec()
2181 le64_to_cpu(rec->r_cpos) + le32_to_cpu(rec->r_clusters)); in ocfs2_decrease_refcount_rec()
2187 if (cpos == le64_to_cpu(rec->r_cpos) && in ocfs2_decrease_refcount_rec()
2254 r_len = min((u64)(cpos + len), le64_to_cpu(rec.r_cpos) + in __ocfs2_decrease_refcount()
2418 (unsigned long long)le64_to_cpu(rec.r_cpos), in ocfs2_calc_refcount_meta_credits()
2422 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2447 cpos != le64_to_cpu(rec.r_cpos)) in ocfs2_calc_refcount_meta_credits()
2451 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2809 le64_to_cpu(eb->h_next_leaf_blk), in ocfs2_refcount_cal_cow_clusters()
3256 le64_to_cpu(rec.r_cpos) + in ocfs2_make_clusters_writable()
3444 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_refcount_cow_hunk()
3821 le64_to_cpu(di->i_refcount_loc), 1, in ocfs2_attach_refcount_tree()
4138 le64_to_cpu(di->i_refcount_loc)); in ocfs2_create_reflink_node()
4152 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_create_reflink_node()
4562 le64_to_cpu(dis->i_refcount_loc), in ocfs2_reflink_remap_extent()
4656 le64_to_cpu(dis->i_refcount_loc) != in ocfs2_reflink_remap_blocks()
4657 le64_to_cpu(dit->i_refcount_loc)) in ocfs2_reflink_remap_blocks()
4673 le64_to_cpu(dit->i_refcount_loc)); in ocfs2_reflink_remap_blocks()
4681 le64_to_cpu(dis->i_refcount_loc)); in ocfs2_reflink_remap_blocks()