Home
last modified time | relevance | path

Searched refs:contig_clusters (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/fs/ocfs2/
Drefcounttree.c2651 int contig_clusters = ocfs2_cow_contig_clusters(inode->i_sb); in ocfs2_refcount_cal_cow_clusters() local
2725 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()
Daops.c526 unsigned int clusters_to_alloc = 0, contig_clusters = 0; in ocfs2_direct_IO_get_blocks() local
569 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()