Lines Matching refs:le32_to_cpu

121 	if (le32_to_cpu(rb->rf_fs_generation) != OCFS2_SB(sb)->fs_generation) {  in ocfs2_validate_refcount_block()
126 le32_to_cpu(rb->rf_fs_generation)); in ocfs2_validate_refcount_block()
374 new->rf_generation = le32_to_cpu(ref_rb->rf_generation); in ocfs2_get_refcount_tree()
497 if (tree->rf_generation != le32_to_cpu(rb->rf_generation)) { in ocfs2_lock_refcount_tree()
662 new_tree->rf_generation = le32_to_cpu(rb->rf_generation); in ocfs2_create_refcount_tree()
796 if (le32_to_cpu(rb->rf_count) == 1) { in ocfs2_remove_refcount_tree()
899 le32_to_cpu(rec->r_clusters) <= cpos) in ocfs2_find_refcount_rec_in_rl()
985 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1013 cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); in ocfs2_get_refcount_cpos_end()
1046 *cpos_end = le32_to_cpu(tmp_el->l_recs[i+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1083 if (!(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)) { in ocfs2_get_refcount_rec()
1119 if (le32_to_cpu(rec->e_cpos) <= low_cpos) { in ocfs2_get_refcount_rec()
1166 le32_to_cpu(rb->rf_records.rl_recs[index].r_clusters) == in ocfs2_refcount_rec_adjacent()
1205 le32_to_cpu(rb->rf_records.rl_recs[index+1].r_clusters)); in ocfs2_rotate_refcount_rec_left()
1265 index, le32_to_cpu(rec->r_refcount), change); in ocfs2_change_refcount_rec()
1374 if (ocfs2_get_ref_rec_low_cpos(prev) + le32_to_cpu(prev->r_clusters) <= in ocfs2_refcount_rec_no_intersect()
1543 BUG_ON(!(le32_to_cpu(root_rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)); in ocfs2_new_leaf_refcount_block()
1678 if (!(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)) in ocfs2_adjust_refcount_rec()
1682 old_cpos = le32_to_cpu(rb->rf_cpos); in ocfs2_adjust_refcount_rec()
1730 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1762 BUG_ON(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL); in ocfs2_insert_refcount_rec()
1766 u32 len = le32_to_cpu(rec->r_clusters); in ocfs2_insert_refcount_rec()
1804 le32_to_cpu(rec->r_clusters), le32_to_cpu(rec->r_refcount)); in ocfs2_insert_refcount_rec()
1854 BUG_ON(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL); in ocfs2_split_refcount_rec()
1857 le32_to_cpu(orig_rec->r_clusters), in ocfs2_split_refcount_rec()
1858 le32_to_cpu(orig_rec->r_refcount), in ocfs2_split_refcount_rec()
1860 le32_to_cpu(split_rec->r_clusters), in ocfs2_split_refcount_rec()
1861 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
1871 le32_to_cpu(split_rec->r_clusters) == 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()
1884 le32_to_cpu(split_rec->r_clusters) != 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()
1893 len = le32_to_cpu(orig_rec->r_clusters); in ocfs2_split_refcount_rec()
1938 le32_to_cpu(orig_rec->r_clusters)) - in ocfs2_split_refcount_rec()
1940 le32_to_cpu(split_rec->r_clusters)); in ocfs2_split_refcount_rec()
1951 le32_to_cpu(tail_rec->r_clusters) - len); in ocfs2_split_refcount_rec()
1978 le32_to_cpu(split_rec->r_clusters), in ocfs2_split_refcount_rec()
1979 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
2017 set_len = le32_to_cpu(rec.r_clusters); in __ocfs2_increase_refcount()
2033 le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2064 set_len, le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2104 le32_to_cpu(rb->rf_cpos)); in ocfs2_remove_refcount_extent()
2107 ret = ocfs2_remove_extent(handle, &et, le32_to_cpu(rb->rf_cpos), in ocfs2_remove_refcount_extent()
2193 le64_to_cpu(rec->r_cpos) + le32_to_cpu(rec->r_clusters)); in ocfs2_decrease_refcount_rec()
2200 len == le32_to_cpu(rec->r_clusters)) in ocfs2_decrease_refcount_rec()
2261 r_count = le32_to_cpu(rec.r_refcount); in __ocfs2_decrease_refcount()
2267 le32_to_cpu(rec.r_clusters)) - cpos; in __ocfs2_decrease_refcount()
2278 if (le32_to_cpu(rec.r_refcount) == 1 && delete) { in __ocfs2_decrease_refcount()
2434 le32_to_cpu(rec.r_clusters), in ocfs2_calc_refcount_meta_credits()
2435 le32_to_cpu(rec.r_refcount), index); in ocfs2_calc_refcount_meta_credits()
2438 le32_to_cpu(rec.r_clusters)) - cpos; in ocfs2_calc_refcount_meta_credits()
2467 le32_to_cpu(rec.r_clusters)) in ocfs2_calc_refcount_meta_credits()
2502 if (le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL) { in ocfs2_calc_refcount_meta_credits()
2696 if (le32_to_cpu(rec->e_cpos) + in ocfs2_refcount_cal_cow_clusters()
2706 *cow_start = le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2714 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || in ocfs2_refcount_cal_cow_clusters()
2715 (max_cpos <= le32_to_cpu(rec->e_cpos))) in ocfs2_refcount_cal_cow_clusters()
2719 rec_end = le32_to_cpu(rec->e_cpos) + leaf_clusters; in ocfs2_refcount_cal_cow_clusters()
2722 leaf_clusters = rec_end - le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
3273 le32_to_cpu(rec.r_clusters)) - p_cluster; in ocfs2_make_clusters_writable()
3282 if (le32_to_cpu(rec.r_refcount) == 1) { in ocfs2_make_clusters_writable()
3564 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_refcounted_xattr_delete_need()
3609 if (num_clusters <= le32_to_cpu(rec.r_clusters)) in ocfs2_refcounted_xattr_delete_need()
3612 num_clusters -= le32_to_cpu(rec.r_clusters); in ocfs2_refcounted_xattr_delete_need()
3622 if (le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL) in ocfs2_refcounted_xattr_delete_need()