Lines Matching refs:le64_to_cpu
112 if (le64_to_cpu(rb->rf_blkno) != bh->b_blocknr) { in ocfs2_validate_refcount_block()
117 (unsigned long long)le64_to_cpu(rb->rf_blkno)); in ocfs2_validate_refcount_block()
418 *ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_get_refcount_block()
777 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree()
797 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
800 bg_blkno = le64_to_cpu(rb->rf_suballoc_loc); in ocfs2_remove_refcount_tree()
898 if (le64_to_cpu(rec->r_cpos) + in ocfs2_find_refcount_rec_in_rl()
901 else if (le64_to_cpu(rec->r_cpos) > cpos) in ocfs2_find_refcount_rec_in_rl()
915 le64_to_cpu(rec->r_cpos) < cpos + len) in ocfs2_find_refcount_rec_in_rl()
917 cpu_to_le32(le64_to_cpu(rec->r_cpos) - cpos); in ocfs2_find_refcount_rec_in_rl()
1045 if (le64_to_cpu(tmp_el->l_recs[i].e_blkno) == blkno) { in ocfs2_get_refcount_cpos_end()
1137 ret = ocfs2_read_refcount_block(ci, le64_to_cpu(rec->e_blkno), in ocfs2_get_refcount_rec()
1165 (le64_to_cpu(rb->rf_records.rl_recs[index].r_cpos) + in ocfs2_refcount_rec_adjacent()
1167 le64_to_cpu(rb->rf_records.rl_recs[index + 1].r_cpos))) in ocfs2_refcount_rec_adjacent()
1397 u64 l_cpos = le64_to_cpu(l->r_cpos); in cmp_refcount_rec_by_cpos()
1398 u64 r_cpos = le64_to_cpu(r->r_cpos); in cmp_refcount_rec_by_cpos()
1683 new_cpos = le64_to_cpu(rec->r_cpos) & OCFS2_32BIT_POS_MASK; in ocfs2_adjust_refcount_rec()
1765 u64 cpos = le64_to_cpu(rec->r_cpos); in ocfs2_insert_refcount_rec()
1803 (unsigned long long)le64_to_cpu(rec->r_cpos), in ocfs2_insert_refcount_rec()
1856 trace_ocfs2_split_refcount_rec(le64_to_cpu(orig_rec->r_cpos), in ocfs2_split_refcount_rec()
1859 le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
1870 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1872 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1883 le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1885 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1892 u64 cpos = le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1937 len = (le64_to_cpu(orig_rec->r_cpos) + in ocfs2_split_refcount_rec()
1939 (le64_to_cpu(split_rec->r_cpos) + in ocfs2_split_refcount_rec()
1965 len = le64_to_cpu(split_rec->r_cpos) - in ocfs2_split_refcount_rec()
1966 le64_to_cpu(orig_rec->r_cpos); in ocfs2_split_refcount_rec()
1977 (unsigned long long)le64_to_cpu(split_rec->r_cpos), in ocfs2_split_refcount_rec()
2029 if (rec.r_refcount && le64_to_cpu(rec.r_cpos) == cpos && in __ocfs2_increase_refcount()
2045 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2057 le64_to_cpu(rec.r_cpos) + set_len) - cpos; in __ocfs2_increase_refcount()
2063 (unsigned long long)le64_to_cpu(rec.r_cpos), in __ocfs2_increase_refcount()
2122 le64_to_cpu(rb->rf_suballoc_loc), in ocfs2_remove_refcount_extent()
2123 le64_to_cpu(rb->rf_blkno), in ocfs2_remove_refcount_extent()
2191 BUG_ON(cpos < le64_to_cpu(rec->r_cpos)); in ocfs2_decrease_refcount_rec()
2193 le64_to_cpu(rec->r_cpos) + le32_to_cpu(rec->r_clusters)); in ocfs2_decrease_refcount_rec()
2199 if (cpos == le64_to_cpu(rec->r_cpos) && in ocfs2_decrease_refcount_rec()
2266 r_len = min((u64)(cpos + len), le64_to_cpu(rec.r_cpos) + in __ocfs2_decrease_refcount()
2433 (unsigned long long)le64_to_cpu(rec.r_cpos), in ocfs2_calc_refcount_meta_credits()
2437 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2462 cpos != le64_to_cpu(rec.r_cpos)) in ocfs2_calc_refcount_meta_credits()
2466 if (cpos + clusters < le64_to_cpu(rec.r_cpos) + in ocfs2_calc_refcount_meta_credits()
2828 le64_to_cpu(eb->h_next_leaf_blk), in ocfs2_refcount_cal_cow_clusters()
3272 le64_to_cpu(rec.r_cpos) + in ocfs2_make_clusters_writable()
3463 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_refcount_cow_hunk()
3838 le64_to_cpu(di->i_refcount_loc), 1, in ocfs2_attach_refcount_tree()
4149 le64_to_cpu(di->i_refcount_loc)); in ocfs2_create_reflink_node()
4163 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_create_reflink_node()