Lines Matching refs:clusters
1041 * Call this even if we don't add any clusters to the tree. We
1441 u32 cpos, phys_cpos, clusters, alloc_size;
1470 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len);
1471 clusters -= cpos;
1473 while (clusters) {
1485 if (alloc_size > clusters)
1486 alloc_size = clusters;
1505 clusters -= alloc_size;
1516 * Truncate a byte range, avoiding pages within partial clusters. This
1590 * partial clusters here. There's no need to worry about
1808 * For reflinks, we may need to CoW 2 clusters which might be
2137 u32 cpos, clusters, extent_len, phys_cpos;
2146 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
2148 while (clusters) {
2161 if (extent_len > clusters)
2162 extent_len = clusters;
2164 clusters -= extent_len;
2249 u32 clusters;
2328 clusters =
2330 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX);