Lines Matching refs:num_clusters

59 			    u32 *num_clusters,
2839 u32 p_cluster, u32 num_clusters, in ocfs2_lock_refcount_allocators() argument
2856 if (num_free_extents < num_clusters + 2) in ocfs2_lock_refcount_allocators()
2863 p_cluster, num_clusters, in ocfs2_lock_refcount_allocators()
2879 ret = ocfs2_reserve_clusters(OCFS2_SB(sb), num_clusters, in ocfs2_lock_refcount_allocators()
3147 u32 cpos, u32 num_clusters) in ocfs2_cow_sync_writeback() argument
3158 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback()
3197 u32 *num_clusters, in ocfs2_di_get_clusters() argument
3201 num_clusters, extent_flags); in ocfs2_di_get_clusters()
3207 u32 num_clusters, unsigned int e_flags) in ocfs2_make_clusters_writable() argument
3219 num_clusters, e_flags); in ocfs2_make_clusters_writable()
3221 ret = ocfs2_lock_refcount_allocators(sb, p_cluster, num_clusters, in ocfs2_make_clusters_writable()
3243 orig_num_clusters = num_clusters; in ocfs2_make_clusters_writable()
3245 while (num_clusters) { in ocfs2_make_clusters_writable()
3247 p_cluster, num_clusters, in ocfs2_make_clusters_writable()
3255 set_len = min((u64)p_cluster + num_clusters, in ocfs2_make_clusters_writable()
3312 num_clusters -= set_len; in ocfs2_make_clusters_writable()
3360 u32 p_cluster, num_clusters; in ocfs2_replace_cow() local
3373 &num_clusters, &ext_flags); in ocfs2_replace_cow()
3381 if (cow_len < num_clusters) in ocfs2_replace_cow()
3382 num_clusters = cow_len; in ocfs2_replace_cow()
3386 num_clusters, ext_flags); in ocfs2_replace_cow()
3392 cow_len -= num_clusters; in ocfs2_replace_cow()
3393 cow_start += num_clusters; in ocfs2_replace_cow()
3490 u32 p_cluster, num_clusters; in ocfs2_refcount_cow() local
3495 &num_clusters, &ext_flags); in ocfs2_refcount_cow()
3501 if (write_len < num_clusters) in ocfs2_refcount_cow()
3502 num_clusters = write_len; in ocfs2_refcount_cow()
3506 num_clusters, max_cpos); in ocfs2_refcount_cow()
3513 write_len -= num_clusters; in ocfs2_refcount_cow()
3514 cpos += num_clusters; in ocfs2_refcount_cow()
3522 u32 *num_clusters, in ocfs2_xattr_value_get_clusters() argument
3529 num_clusters, &xv->xr_list, in ocfs2_xattr_value_get_clusters()
3544 u32 p_cluster, num_clusters; in ocfs2_refcounted_xattr_delete_need() local
3552 &num_clusters, &xv->xr_list, in ocfs2_refcounted_xattr_delete_need()
3559 cpos += num_clusters; in ocfs2_refcounted_xattr_delete_need()
3561 while (num_clusters) { in ocfs2_refcounted_xattr_delete_need()
3563 p_cluster, num_clusters, in ocfs2_refcounted_xattr_delete_need()
3590 if (num_clusters <= le32_to_cpu(rec.r_clusters)) in ocfs2_refcounted_xattr_delete_need()
3593 num_clusters -= le32_to_cpu(rec.r_clusters); in ocfs2_refcounted_xattr_delete_need()
3594 p_cluster += num_clusters; in ocfs2_refcounted_xattr_delete_need()
3687 u32 cpos, u32 p_cluster, u32 num_clusters, in ocfs2_add_refcount_flag() argument
3702 p_cluster, num_clusters, in ocfs2_add_refcount_flag()
3731 cpos, num_clusters, p_cluster, in ocfs2_add_refcount_flag()
3739 p_cluster, num_clusters, 0, in ocfs2_add_refcount_flag()
3805 u32 cpos, num_clusters, clusters, p_cluster; in ocfs2_attach_refcount_tree() local
3839 &num_clusters, &ext_flags); in ocfs2_attach_refcount_tree()
3848 p_cluster, num_clusters, in ocfs2_attach_refcount_tree()
3857 cpos += num_clusters; in ocfs2_attach_refcount_tree()
3900 u32 cpos, u32 p_cluster, u32 num_clusters, in ocfs2_add_refcounted_extent() argument
3911 p_cluster, num_clusters, in ocfs2_add_refcounted_extent()
3929 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3936 p_cluster, num_clusters, in ocfs2_add_refcounted_extent()
3944 ocfs2_clusters_to_bytes(osb->sb, num_clusters)); in ocfs2_add_refcounted_extent()
4007 u32 p_cluster, num_clusters, clusters, cpos; in ocfs2_duplicate_extent_list() local
4020 &num_clusters, &ext_flags); in ocfs2_duplicate_extent_list()
4029 num_clusters, in ocfs2_duplicate_extent_list()
4038 cpos += num_clusters; in ocfs2_duplicate_extent_list()
4519 u32 p_cluster, num_clusters, slast, spos, tpos, remapped_clus = 0; in ocfs2_reflink_remap_extent() local
4540 &num_clusters, &ext_flags); in ocfs2_reflink_remap_extent()
4546 num_clusters = min_t(u32, num_clusters, slast - spos); in ocfs2_reflink_remap_extent()
4550 plen = ocfs2_clusters_to_bytes(t_inode->i_sb, num_clusters); in ocfs2_reflink_remap_extent()
4574 p_cluster, num_clusters, in ocfs2_reflink_remap_extent()
4588 num_clusters, in ocfs2_reflink_remap_extent()
4599 spos += num_clusters; in ocfs2_reflink_remap_extent()
4600 tpos += num_clusters; in ocfs2_reflink_remap_extent()
4601 remapped_clus += num_clusters; in ocfs2_reflink_remap_extent()