Lines Matching defs:clusters

1844 	 * If we just need to split the header or tail clusters,
2322 * Mark the already-existing extent at cpos as refcounted for len clusters.
2359 * Given some contiguous physical clusters, calculate what we need
2366 u32 clusters,
2377 while (clusters) {
2379 cpos, clusters, &rec,
2409 recs_add, (unsigned long long)cpos, clusters,
2414 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) +
2443 if (cpos + clusters < le64_to_cpu(rec.r_cpos) +
2451 clusters -= len;
2494 (unsigned long long)start_cpos, clusters,
2502 * For refcount tree, we will decrease some contiguous clusters
2516 u32 clusters,
2550 start_cpos, clusters,
2611 * Calculate out the start and number of virtual clusters we need to CoW.
2699 * How many clusters do we actually need from
2726 * how many clusters to grab. We align
2793 * clusters, continue with the next extent block if possible.
2822 * clusters(starting form p_cluster) in the refcount tree.
2827 * 2. In some case, we may not need to reserve new clusters(e.g, reflink), so
3118 /*If the old clusters is unwritten, no need to duplicate. */
3224 * 2. If refcount > 1, allocate clusters.
3367 * Starting at cpos, try to CoW write_len clusters. Don't CoW
3443 * CoW any and all clusters between cpos and cpos+write_len.
3445 * clusters between cpos and cpos+write_len are safe to modify.
3507 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters);
3512 while (cpos < clusters) {
3538 * We really don't know whether the other clusters is in
3540 * case that all the clusters are in this block and each
3542 * clusters * 2 new refcount rec.
3544 if (le16_to_cpu(rb->rf_records.rl_used) + clusters * 2 >
3767 u32 cpos, num_clusters, clusters, p_cluster;
3796 clusters = ocfs2_clusters_for_bytes(inode->i_sb, size);
3799 while (cpos < clusters) {
3969 u32 p_cluster, num_clusters, clusters, cpos;
3977 clusters = ocfs2_clusters_for_bytes(s_inode->i_sb, size);
3980 while (cpos < clusters) {