Searched refs:contig_clusters (Results 1 – 2 of 2) sorted by relevance
2651 int contig_clusters = ocfs2_cow_contig_clusters(inode->i_sb); in ocfs2_refcount_cal_cow_clusters() local2725 if (want_clusters < contig_clusters) in ocfs2_refcount_cal_cow_clusters()2726 want_clusters = contig_clusters; in ocfs2_refcount_cal_cow_clusters()2736 if (leaf_clusters <= contig_clusters) in ocfs2_refcount_cal_cow_clusters()2753 } else if ((*cow_start + contig_clusters) >= in ocfs2_refcount_cal_cow_clusters()2760 *cow_len = contig_clusters; in ocfs2_refcount_cal_cow_clusters()2761 } else if ((rec_end - cpos) <= contig_clusters) { in ocfs2_refcount_cal_cow_clusters()2766 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()2767 *cow_len = contig_clusters; in ocfs2_refcount_cal_cow_clusters()
526 unsigned int clusters_to_alloc = 0, contig_clusters = 0; in ocfs2_direct_IO_get_blocks() local569 contig_clusters = ocfs2_clusters_for_blocks(inode->i_sb, in ocfs2_direct_IO_get_blocks()571 if (clusters_to_alloc > contig_clusters) in ocfs2_direct_IO_get_blocks()572 clusters_to_alloc = contig_clusters; in ocfs2_direct_IO_get_blocks()