Lines Matching refs:le64_to_cpu
103 if (le64_to_cpu(rb->rf_blkno) != bh->b_blocknr) { in ocfs2_validate_refcount_block()
107 (unsigned long long)le64_to_cpu(rb->rf_blkno)); in ocfs2_validate_refcount_block()
409 *ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_get_refcount_block()
767 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree()
787 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
790 bg_blkno = le64_to_cpu(rb->rf_suballoc_loc); in ocfs2_remove_refcount_tree()
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()
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()
1035 if (le64_to_cpu(tmp_el->l_recs[i].e_blkno) == blkno) { in ocfs2_get_refcount_cpos_end()
1125 ret = ocfs2_read_refcount_block(ci, le64_to_cpu(rec->e_blkno), in ocfs2_get_refcount_rec()
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()
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()
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()
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()
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()
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()
2049 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2108 le64_to_cpu(rb->rf_suballoc_loc), in ocfs2_remove_refcount_extent()
2109 le64_to_cpu(rb->rf_blkno), in ocfs2_remove_refcount_extent()
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()
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()
2807 le64_to_cpu(eb->h_next_leaf_blk), in ocfs2_refcount_cal_cow_clusters()
3254 le64_to_cpu(rec.r_cpos) + in ocfs2_make_clusters_writable()
3442 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_refcount_cow_hunk()
3819 le64_to_cpu(di->i_refcount_loc), 1, in ocfs2_attach_refcount_tree()
4136 le64_to_cpu(di->i_refcount_loc)); in ocfs2_create_reflink_node()
4150 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_create_reflink_node()
4560 le64_to_cpu(dis->i_refcount_loc), in ocfs2_reflink_remap_extent()
4654 le64_to_cpu(dis->i_refcount_loc) != in ocfs2_reflink_remap_blocks()
4655 le64_to_cpu(dit->i_refcount_loc)) in ocfs2_reflink_remap_blocks()
4671 le64_to_cpu(dit->i_refcount_loc)); in ocfs2_reflink_remap_blocks()
4679 le64_to_cpu(dis->i_refcount_loc)); in ocfs2_reflink_remap_blocks()