Lines Matching refs:le32_to_cpu
120 if (le32_to_cpu(rb->rf_fs_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_refcount_block()
124 le32_to_cpu(rb->rf_fs_generation)); in ocfs2_validate_refcount_block()
372 new->rf_generation = le32_to_cpu(ref_rb->rf_generation); in ocfs2_get_refcount_tree()
495 if (tree->rf_generation != le32_to_cpu(rb->rf_generation)) { in ocfs2_lock_refcount_tree()
660 new_tree->rf_generation = le32_to_cpu(rb->rf_generation); in ocfs2_create_refcount_tree()
794 if (le32_to_cpu(rb->rf_count) == 1) { in ocfs2_remove_refcount_tree()
897 le32_to_cpu(rec->r_clusters) <= cpos) in ocfs2_find_refcount_rec_in_rl()
983 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1011 cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); in ocfs2_get_refcount_cpos_end()
1044 *cpos_end = le32_to_cpu(tmp_el->l_recs[i+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1081 if (!(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)) { in ocfs2_get_refcount_rec()
1115 if (le32_to_cpu(rec->e_cpos) <= low_cpos) { in ocfs2_get_refcount_rec()
1162 le32_to_cpu(rb->rf_records.rl_recs[index].r_clusters) == in ocfs2_refcount_rec_adjacent()
1201 le32_to_cpu(rb->rf_records.rl_recs[index+1].r_clusters)); in ocfs2_rotate_refcount_rec_left()
1261 index, le32_to_cpu(rec->r_refcount), change); in ocfs2_change_refcount_rec()
1370 if (ocfs2_get_ref_rec_low_cpos(prev) + le32_to_cpu(prev->r_clusters) <= in ocfs2_refcount_rec_no_intersect()
1537 BUG_ON(!(le32_to_cpu(root_rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)); in ocfs2_new_leaf_refcount_block()
1672 if (!(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)) in ocfs2_adjust_refcount_rec()
1676 old_cpos = le32_to_cpu(rb->rf_cpos); in ocfs2_adjust_refcount_rec()
1724 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1756 BUG_ON(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL); in ocfs2_insert_refcount_rec()
1760 u32 len = le32_to_cpu(rec->r_clusters); in ocfs2_insert_refcount_rec()
1798 le32_to_cpu(rec->r_clusters), le32_to_cpu(rec->r_refcount)); in ocfs2_insert_refcount_rec()
1848 BUG_ON(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL); in ocfs2_split_refcount_rec()
1851 le32_to_cpu(orig_rec->r_clusters), in ocfs2_split_refcount_rec()
1852 le32_to_cpu(orig_rec->r_refcount), in ocfs2_split_refcount_rec()
1854 le32_to_cpu(split_rec->r_clusters), in ocfs2_split_refcount_rec()
1855 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
1865 le32_to_cpu(split_rec->r_clusters) == in ocfs2_split_refcount_rec()
1866 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1878 le32_to_cpu(split_rec->r_clusters) != in ocfs2_split_refcount_rec()
1879 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) in ocfs2_split_refcount_rec()
1887 len = le32_to_cpu(orig_rec->r_clusters); in ocfs2_split_refcount_rec()
1932 le32_to_cpu(orig_rec->r_clusters)) - in ocfs2_split_refcount_rec()
1934 le32_to_cpu(split_rec->r_clusters)); in ocfs2_split_refcount_rec()
1945 le32_to_cpu(tail_rec->r_clusters) - len); in ocfs2_split_refcount_rec()
1972 le32_to_cpu(split_rec->r_clusters), in ocfs2_split_refcount_rec()
1973 le32_to_cpu(split_rec->r_refcount)); in ocfs2_split_refcount_rec()
2011 set_len = le32_to_cpu(rec.r_clusters); in __ocfs2_increase_refcount()
2027 le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2058 set_len, le32_to_cpu(rec.r_refcount)); in __ocfs2_increase_refcount()
2098 le32_to_cpu(rb->rf_cpos)); in ocfs2_remove_refcount_extent()
2101 ret = ocfs2_remove_extent(handle, &et, le32_to_cpu(rb->rf_cpos), in ocfs2_remove_refcount_extent()
2187 le64_to_cpu(rec->r_cpos) + le32_to_cpu(rec->r_clusters)); in ocfs2_decrease_refcount_rec()
2194 len == le32_to_cpu(rec->r_clusters)) in ocfs2_decrease_refcount_rec()
2255 r_count = le32_to_cpu(rec.r_refcount); in __ocfs2_decrease_refcount()
2261 le32_to_cpu(rec.r_clusters)) - cpos; in __ocfs2_decrease_refcount()
2272 if (le32_to_cpu(rec.r_refcount) == 1 && delete) { in __ocfs2_decrease_refcount()
2426 le32_to_cpu(rec.r_clusters), in ocfs2_calc_refcount_meta_credits()
2427 le32_to_cpu(rec.r_refcount), index); in ocfs2_calc_refcount_meta_credits()
2430 le32_to_cpu(rec.r_clusters)) - cpos; in ocfs2_calc_refcount_meta_credits()
2459 le32_to_cpu(rec.r_clusters)) in ocfs2_calc_refcount_meta_credits()
2494 if (le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL) { in ocfs2_calc_refcount_meta_credits()
2685 if (le32_to_cpu(rec->e_cpos) + in ocfs2_refcount_cal_cow_clusters()
2695 *cow_start = le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2703 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || in ocfs2_refcount_cal_cow_clusters()
2704 (max_cpos <= le32_to_cpu(rec->e_cpos))) in ocfs2_refcount_cal_cow_clusters()
2708 rec_end = le32_to_cpu(rec->e_cpos) + leaf_clusters; in ocfs2_refcount_cal_cow_clusters()
2711 leaf_clusters = rec_end - le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
3257 le32_to_cpu(rec.r_clusters)) - p_cluster; in ocfs2_make_clusters_writable()
3266 if (le32_to_cpu(rec.r_refcount) == 1) { in ocfs2_make_clusters_writable()
3546 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_refcounted_xattr_delete_need()
3591 if (num_clusters <= le32_to_cpu(rec.r_clusters)) in ocfs2_refcounted_xattr_delete_need()
3594 num_clusters -= le32_to_cpu(rec.r_clusters); in ocfs2_refcounted_xattr_delete_need()
3604 if (le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL) in ocfs2_refcounted_xattr_delete_need()