Lines Matching defs:clusters

1850 	 * If we just need to split the header or tail clusters,
2328 * Mark the already-existing extent at cpos as refcounted for len clusters.
2365 * Given some contiguous physical clusters, calculate what we need
2372 u32 clusters,
2383 while (clusters) {
2385 cpos, clusters, &rec,
2415 recs_add, (unsigned long long)cpos, clusters,
2420 len = min((u64)cpos + clusters, le64_to_cpu(rec.r_cpos) +
2449 if (cpos + clusters < le64_to_cpu(rec.r_cpos) +
2457 clusters -= len;
2500 (unsigned long long)start_cpos, clusters,
2508 * For refcount tree, we will decrease some contiguous clusters
2522 u32 clusters,
2556 start_cpos, clusters,
2617 * Calculate out the start and number of virtual clusters we need to CoW.
2705 * How many clusters do we actually need from
2732 * how many clusters to grab. We align
2799 * clusters, continue with the next extent block if possible.
2828 * clusters(starting form p_cluster) in the refcount tree.
2833 * 2. In some case, we may not need to reserve new clusters(e.g, reflink), so
3127 /*If the old clusters is unwritten, no need to duplicate. */
3233 * 2. If refcount > 1, allocate clusters.
3376 * Starting at cpos, try to CoW write_len clusters. Don't CoW
3452 * CoW any and all clusters between cpos and cpos+write_len.
3454 * clusters between cpos and cpos+write_len are safe to modify.
3516 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters);
3521 while (cpos < clusters) {
3547 * We really don't know whether the other clusters is in
3549 * case that all the clusters are in this block and each
3551 * clusters * 2 new refcount rec.
3553 if (le16_to_cpu(rb->rf_records.rl_used) + clusters * 2 >
3776 u32 cpos, num_clusters, clusters, p_cluster;
3805 clusters = ocfs2_clusters_for_bytes(inode->i_sb, size);
3808 while (cpos < clusters) {
3978 u32 p_cluster, num_clusters, clusters, cpos;
3986 clusters = ocfs2_clusters_for_bytes(s_inode->i_sb, size);
3989 while (cpos < clusters) {