Lines Matching defs:clusters
1039 * Call this even if we don't add any clusters to the tree. We
1384 u32 cpos, clusters, extent_len, phys_cpos;
1388 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
1390 while (clusters) {
1403 if (extent_len > clusters)
1404 extent_len = clusters;
1406 clusters -= extent_len;
1439 u32 cpos, phys_cpos, clusters, alloc_size;
1468 clusters = ocfs2_clusters_for_bytes(inode->i_sb, start + len);
1469 clusters -= cpos;
1471 while (clusters) {
1483 if (alloc_size > clusters)
1484 alloc_size = clusters;
1503 clusters -= alloc_size;
1514 * Truncate a byte range, avoiding pages within partial clusters. This
1547 * partial clusters here. There's no need to worry about
1713 * For reflinks, we may need to CoW 2 clusters which might be
2021 u32 cpos, clusters, extent_len, phys_cpos;
2030 clusters = ocfs2_clusters_for_bytes(sb, pos + count) - cpos;
2032 while (clusters) {
2045 if (extent_len > clusters)
2046 extent_len = clusters;
2048 clusters -= extent_len;
2062 u32 clusters =
2073 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX);