• Home
  • Raw
  • Download

Lines Matching full:clusters

1041 	 * Call this even if we don't add any clusters to the tree. We  in ocfs2_extend_no_holes()
1441 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1470 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len); in ocfs2_allocate_unwritten_extents()
1471 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1473 while (clusters) { in ocfs2_allocate_unwritten_extents()
1485 if (alloc_size > clusters) in ocfs2_allocate_unwritten_extents()
1486 alloc_size = clusters; in ocfs2_allocate_unwritten_extents()
1505 clusters -= alloc_size; in ocfs2_allocate_unwritten_extents()
1516 * Truncate a byte range, avoiding pages within partial clusters. This
1590 * partial clusters here. There's no need to worry about in ocfs2_zero_partial_clusters()
1808 * For reflinks, we may need to CoW 2 clusters which might be in ocfs2_remove_inode_range()
2131 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2140 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos; in ocfs2_check_range_for_refcount()
2142 while (clusters) { in ocfs2_check_range_for_refcount()
2155 if (extent_len > clusters) in ocfs2_check_range_for_refcount()
2156 extent_len = clusters; in ocfs2_check_range_for_refcount()
2158 clusters -= extent_len; in ocfs2_check_range_for_refcount()
2243 u32 clusters; in ocfs2_prepare_inode_for_write() local
2322 clusters = in ocfs2_prepare_inode_for_write()
2324 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX); in ocfs2_prepare_inode_for_write()