Lines Matching refs:clusters
2374 u32 clusters, in ocfs2_calc_refcount_meta_credits() argument
2385 while (clusters) { in ocfs2_calc_refcount_meta_credits()
2387 cpos, clusters, &rec, in ocfs2_calc_refcount_meta_credits()
2417 recs_add, (unsigned long long)cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2422 len = min((u64)cpos + clusters, 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()
2459 clusters -= len; in ocfs2_calc_refcount_meta_credits()
2502 (unsigned long long)start_cpos, clusters, in ocfs2_calc_refcount_meta_credits()
2524 u32 clusters, in ocfs2_prepare_refcount_change_for_del() argument
2558 start_cpos, clusters, in ocfs2_prepare_refcount_change_for_del()
3545 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters); in ocfs2_refcounted_xattr_delete_need() local
3550 while (cpos < clusters) { in ocfs2_refcounted_xattr_delete_need()
3582 if (le16_to_cpu(rb->rf_records.rl_used) + clusters * 2 > in ocfs2_refcounted_xattr_delete_need()
3805 u32 cpos, num_clusters, clusters, p_cluster; in ocfs2_attach_refcount_tree() local
3834 clusters = ocfs2_clusters_for_bytes(inode->i_sb, size); in ocfs2_attach_refcount_tree()
3837 while (cpos < clusters) { in ocfs2_attach_refcount_tree()
4007 u32 p_cluster, num_clusters, clusters, cpos; in ocfs2_duplicate_extent_list() local
4015 clusters = ocfs2_clusters_for_bytes(s_inode->i_sb, size); in ocfs2_duplicate_extent_list()
4018 while (cpos < clusters) { in ocfs2_duplicate_extent_list()