Lines Matching defs:clusters

1864 	 * If we just need to split the header or tail clusters,
2343 * Mark the already-existing extent at cpos as refcounted for len clusters.
2382 * Given some contiguous physical clusters, calculate what we need
2389 u32 clusters,
2400 while (clusters) {
2402 cpos, clusters, &rec,
2434 recs_add, (unsigned long long)cpos, clusters,
2439 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) +
2468 if (cpos + clusters < le64_to_cpu(rec.r_cpos) +
2476 clusters -= len;
2519 (unsigned long long)start_cpos, clusters,
2527 * For refcount tree, we will decrease some contiguous clusters
2541 u32 clusters,
2578 start_cpos, clusters,
2639 * Calculate out the start and number of virtual clusters we need to to CoW.
2728 * How many clusters do we actually need from
2755 * how many clusters to grab. We align
2822 * clusters, continue with the next extent block if possible.
2851 * clusters(starting form p_cluster) in the refcount tree.
2856 * 2. In some case, we may not need to reserve new clusters(e.g, reflink), so
3144 /*If the old clusters is unwritten, no need to duplicate. */
3280 * 2. If refcount > 1, allocate clusters.
3425 * Starting at cpos, try to CoW write_len clusters. Don't CoW
3502 * CoW any and all clusters between cpos and cpos+write_len.
3504 * clusters between cpos and cpos+write_len are safe to modify.
3566 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters);
3571 while (cpos < clusters) {
3597 * We really don't know whether the other clusters is in
3599 * case that all the clusters are in this block and each
3601 * clusters * 2 new refcount rec.
3603 if (le16_to_cpu(rb->rf_records.rl_used) + clusters * 2 >
3824 u32 cpos, num_clusters, clusters, p_cluster;
3853 clusters = ocfs2_clusters_for_bytes(inode->i_sb, size);
3856 while (cpos < clusters) {
4019 u32 p_cluster, num_clusters, clusters, cpos;
4027 clusters = ocfs2_clusters_for_bytes(s_inode->i_sb, size);
4030 while (cpos < clusters) {