Lines Matching refs:num_clusters

57 			    u32 *num_clusters,
2837 u32 p_cluster, u32 num_clusters, in ocfs2_lock_refcount_allocators() argument
2854 if (num_free_extents < num_clusters + 2) in ocfs2_lock_refcount_allocators()
2861 p_cluster, num_clusters, in ocfs2_lock_refcount_allocators()
2877 ret = ocfs2_reserve_clusters(OCFS2_SB(sb), num_clusters, in ocfs2_lock_refcount_allocators()
3145 u32 cpos, u32 num_clusters) in ocfs2_cow_sync_writeback() argument
3156 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback()
3195 u32 *num_clusters, in ocfs2_di_get_clusters() argument
3199 num_clusters, extent_flags); in ocfs2_di_get_clusters()
3205 u32 num_clusters, unsigned int e_flags) in ocfs2_make_clusters_writable() argument
3217 num_clusters, e_flags); in ocfs2_make_clusters_writable()
3219 ret = ocfs2_lock_refcount_allocators(sb, p_cluster, num_clusters, in ocfs2_make_clusters_writable()
3241 orig_num_clusters = num_clusters; in ocfs2_make_clusters_writable()
3243 while (num_clusters) { in ocfs2_make_clusters_writable()
3245 p_cluster, num_clusters, in ocfs2_make_clusters_writable()
3253 set_len = min((u64)p_cluster + num_clusters, in ocfs2_make_clusters_writable()
3310 num_clusters -= set_len; in ocfs2_make_clusters_writable()
3358 u32 p_cluster, num_clusters; in ocfs2_replace_cow() local
3371 &num_clusters, &ext_flags); in ocfs2_replace_cow()
3379 if (cow_len < num_clusters) in ocfs2_replace_cow()
3380 num_clusters = cow_len; in ocfs2_replace_cow()
3384 num_clusters, ext_flags); in ocfs2_replace_cow()
3390 cow_len -= num_clusters; in ocfs2_replace_cow()
3391 cow_start += num_clusters; in ocfs2_replace_cow()
3488 u32 p_cluster, num_clusters; in ocfs2_refcount_cow() local
3493 &num_clusters, &ext_flags); in ocfs2_refcount_cow()
3499 if (write_len < num_clusters) in ocfs2_refcount_cow()
3500 num_clusters = write_len; in ocfs2_refcount_cow()
3504 num_clusters, max_cpos); in ocfs2_refcount_cow()
3511 write_len -= num_clusters; in ocfs2_refcount_cow()
3512 cpos += num_clusters; in ocfs2_refcount_cow()
3520 u32 *num_clusters, in ocfs2_xattr_value_get_clusters() argument
3527 num_clusters, &xv->xr_list, in ocfs2_xattr_value_get_clusters()
3542 u32 p_cluster, num_clusters; in ocfs2_refcounted_xattr_delete_need() local
3550 &num_clusters, &xv->xr_list, in ocfs2_refcounted_xattr_delete_need()
3557 cpos += num_clusters; in ocfs2_refcounted_xattr_delete_need()
3559 while (num_clusters) { in ocfs2_refcounted_xattr_delete_need()
3561 p_cluster, num_clusters, in ocfs2_refcounted_xattr_delete_need()
3588 if (num_clusters <= le32_to_cpu(rec.r_clusters)) in ocfs2_refcounted_xattr_delete_need()
3591 num_clusters -= le32_to_cpu(rec.r_clusters); in ocfs2_refcounted_xattr_delete_need()
3592 p_cluster += num_clusters; in ocfs2_refcounted_xattr_delete_need()
3685 u32 cpos, u32 p_cluster, u32 num_clusters, in ocfs2_add_refcount_flag() argument
3700 p_cluster, num_clusters, in ocfs2_add_refcount_flag()
3729 cpos, num_clusters, p_cluster, in ocfs2_add_refcount_flag()
3737 p_cluster, num_clusters, 0, in ocfs2_add_refcount_flag()
3803 u32 cpos, num_clusters, clusters, p_cluster; in ocfs2_attach_refcount_tree() local
3837 &num_clusters, &ext_flags); in ocfs2_attach_refcount_tree()
3846 p_cluster, num_clusters, in ocfs2_attach_refcount_tree()
3855 cpos += num_clusters; in ocfs2_attach_refcount_tree()
3898 u32 cpos, u32 p_cluster, u32 num_clusters, in ocfs2_add_refcounted_extent() argument
3909 p_cluster, num_clusters, in ocfs2_add_refcounted_extent()
3927 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3934 p_cluster, num_clusters, in ocfs2_add_refcounted_extent()
3942 ocfs2_clusters_to_bytes(osb->sb, num_clusters)); in ocfs2_add_refcounted_extent()
4005 u32 p_cluster, num_clusters, clusters, cpos; in ocfs2_duplicate_extent_list() local
4018 &num_clusters, &ext_flags); in ocfs2_duplicate_extent_list()
4027 num_clusters, in ocfs2_duplicate_extent_list()
4036 cpos += num_clusters; in ocfs2_duplicate_extent_list()
4517 u32 p_cluster, num_clusters, slast, spos, tpos, remapped_clus = 0; in ocfs2_reflink_remap_extent() local
4538 &num_clusters, &ext_flags); in ocfs2_reflink_remap_extent()
4544 num_clusters = min_t(u32, num_clusters, slast - spos); in ocfs2_reflink_remap_extent()
4548 plen = ocfs2_clusters_to_bytes(t_inode->i_sb, num_clusters); in ocfs2_reflink_remap_extent()
4572 p_cluster, num_clusters, in ocfs2_reflink_remap_extent()
4586 num_clusters, in ocfs2_reflink_remap_extent()
4597 spos += num_clusters; in ocfs2_reflink_remap_extent()
4598 tpos += num_clusters; in ocfs2_reflink_remap_extent()
4599 remapped_clus += num_clusters; in ocfs2_reflink_remap_extent()