• Home
  • Raw
  • Download

Lines Matching refs:num_clusters

66 			    u32 *num_clusters,
2857 u32 p_cluster, u32 num_clusters, in ocfs2_lock_refcount_allocators() argument
2874 if (num_free_extents < num_clusters + 2) in ocfs2_lock_refcount_allocators()
2879 num_clusters + 2); in ocfs2_lock_refcount_allocators()
2882 p_cluster, num_clusters, in ocfs2_lock_refcount_allocators()
2898 ret = ocfs2_reserve_clusters(OCFS2_SB(sb), num_clusters, in ocfs2_lock_refcount_allocators()
3167 u32 cpos, u32 num_clusters) in ocfs2_cow_sync_writeback() argument
3178 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback()
3217 u32 *num_clusters, in ocfs2_di_get_clusters() argument
3221 num_clusters, extent_flags); in ocfs2_di_get_clusters()
3227 u32 num_clusters, unsigned int e_flags) in ocfs2_make_clusters_writable() argument
3239 num_clusters, e_flags); in ocfs2_make_clusters_writable()
3241 ret = ocfs2_lock_refcount_allocators(sb, p_cluster, num_clusters, in ocfs2_make_clusters_writable()
3263 orig_num_clusters = num_clusters; in ocfs2_make_clusters_writable()
3265 while (num_clusters) { in ocfs2_make_clusters_writable()
3267 p_cluster, num_clusters, in ocfs2_make_clusters_writable()
3275 set_len = min((u64)p_cluster + num_clusters, in ocfs2_make_clusters_writable()
3332 num_clusters -= set_len; in ocfs2_make_clusters_writable()
3380 u32 p_cluster, num_clusters; in ocfs2_replace_cow() local
3395 &num_clusters, &ext_flags); in ocfs2_replace_cow()
3403 if (cow_len < num_clusters) in ocfs2_replace_cow()
3404 num_clusters = cow_len; in ocfs2_replace_cow()
3408 num_clusters, ext_flags); in ocfs2_replace_cow()
3414 cow_len -= num_clusters; in ocfs2_replace_cow()
3415 cow_start += num_clusters; in ocfs2_replace_cow()
3540 u32 p_cluster, num_clusters; in ocfs2_refcount_cow() local
3545 &num_clusters, &ext_flags); in ocfs2_refcount_cow()
3551 if (write_len < num_clusters) in ocfs2_refcount_cow()
3552 num_clusters = write_len; in ocfs2_refcount_cow()
3556 num_clusters, max_cpos); in ocfs2_refcount_cow()
3563 write_len -= num_clusters; in ocfs2_refcount_cow()
3564 cpos += num_clusters; in ocfs2_refcount_cow()
3572 u32 *num_clusters, in ocfs2_xattr_value_get_clusters() argument
3579 num_clusters, &xv->xr_list, in ocfs2_xattr_value_get_clusters()
3594 u32 p_cluster, num_clusters; in ocfs2_refcounted_xattr_delete_need() local
3602 &num_clusters, &xv->xr_list, in ocfs2_refcounted_xattr_delete_need()
3609 cpos += num_clusters; in ocfs2_refcounted_xattr_delete_need()
3611 while (num_clusters) { in ocfs2_refcounted_xattr_delete_need()
3613 p_cluster, num_clusters, in ocfs2_refcounted_xattr_delete_need()
3640 if (num_clusters <= le32_to_cpu(rec.r_clusters)) in ocfs2_refcounted_xattr_delete_need()
3643 num_clusters -= le32_to_cpu(rec.r_clusters); in ocfs2_refcounted_xattr_delete_need()
3644 p_cluster += num_clusters; in ocfs2_refcounted_xattr_delete_need()
3739 u32 cpos, u32 p_cluster, u32 num_clusters, in ocfs2_add_refcount_flag() argument
3751 p_cluster, num_clusters, in ocfs2_add_refcount_flag()
3780 cpos, num_clusters, p_cluster, in ocfs2_add_refcount_flag()
3788 p_cluster, num_clusters, 0, in ocfs2_add_refcount_flag()
3854 u32 cpos, num_clusters, clusters, p_cluster; in ocfs2_attach_refcount_tree() local
3888 &num_clusters, &ext_flags); in ocfs2_attach_refcount_tree()
3894 p_cluster, num_clusters, in ocfs2_attach_refcount_tree()
3903 cpos += num_clusters; in ocfs2_attach_refcount_tree()
3946 u32 cpos, u32 p_cluster, u32 num_clusters, in ocfs2_add_refcounted_extent() argument
3957 p_cluster, num_clusters, in ocfs2_add_refcounted_extent()
3975 num_clusters, ext_flags, meta_ac); in ocfs2_add_refcounted_extent()
3982 p_cluster, num_clusters, in ocfs2_add_refcounted_extent()
4046 u32 p_cluster, num_clusters, clusters, cpos; in ocfs2_duplicate_extent_list() local
4059 &num_clusters, &ext_flags); in ocfs2_duplicate_extent_list()
4065 num_clusters, in ocfs2_duplicate_extent_list()
4074 cpos += num_clusters; in ocfs2_duplicate_extent_list()