Lines Matching defs:contig_clusters
2586 * find an offset (start + (n * contig_clusters)) that is closest to cpos
2589 * The goal is to break the extent at a multiple of contig_clusters.
2602 * of contig_clusters.
2643 int contig_clusters = ocfs2_cow_contig_clusters(inode->i_sb);
2710 * than contig_clusters, we try for contig_clusters.
2717 if (want_clusters < contig_clusters)
2718 want_clusters = contig_clusters;
2723 * We try to do it on contig_clusters boundaries.
2725 * Any extent smaller than contig_clusters will be
2728 if (leaf_clusters <= contig_clusters)
2735 * want_clusters to the edge of contig_clusters
2745 } else if ((*cow_start + contig_clusters) >=
2748 * Breaking off contig_clusters at the front
2752 *cow_len = contig_clusters;
2753 } else if ((rec_end - cpos) <= contig_clusters) {
2755 * Breaking off contig_clusters at the tail of
2758 *cow_start = rec_end - contig_clusters;
2759 *cow_len = contig_clusters;
2766 * contig_clusters from the front of the extent.
2768 * contig_clusters of the front), we'll CoW the
2779 * m*contig_clusters from the beginning of the
2780 * extent and goes for n*contig_clusters,