Lines Matching defs:contig_clusters
2584 * find an offset (start + (n * contig_clusters)) that is closest to cpos
2587 * The goal is to break the extent at a multiple of contig_clusters.
2600 * of contig_clusters.
2641 int contig_clusters = ocfs2_cow_contig_clusters(inode->i_sb);
2708 * than contig_clusters, we try for contig_clusters.
2715 if (want_clusters < contig_clusters)
2716 want_clusters = contig_clusters;
2721 * We try to do it on contig_clusters boundaries.
2723 * Any extent smaller than contig_clusters will be
2726 if (leaf_clusters <= contig_clusters)
2733 * want_clusters to the edge of contig_clusters
2743 } else if ((*cow_start + contig_clusters) >=
2746 * Breaking off contig_clusters at the front
2750 *cow_len = contig_clusters;
2751 } else if ((rec_end - cpos) <= contig_clusters) {
2753 * Breaking off contig_clusters at the tail of
2756 *cow_start = rec_end - contig_clusters;
2757 *cow_len = contig_clusters;
2764 * contig_clusters from the front of the extent.
2766 * contig_clusters of the front), we'll CoW the
2777 * m*contig_clusters from the beginning of the
2778 * extent and goes for n*contig_clusters,