Lines Matching refs:clusters_to_alloc
526 unsigned int clusters_to_alloc = 0; in ocfs2_direct_IO_get_blocks() local
562 clusters_to_alloc = ocfs2_clusters_for_bytes(inode->i_sb, len); in ocfs2_direct_IO_get_blocks()
563 if (clusters_to_alloc > contig_blocks) in ocfs2_direct_IO_get_blocks()
564 clusters_to_alloc = contig_blocks; in ocfs2_direct_IO_get_blocks()
568 clusters_to_alloc, 0); in ocfs2_direct_IO_get_blocks()
1751 unsigned int *clusters_to_alloc, in ocfs2_populate_write_desc() argument
1761 *clusters_to_alloc = 0; in ocfs2_populate_write_desc()
1816 *clusters_to_alloc = *clusters_to_alloc + 1; in ocfs2_populate_write_desc()
2048 unsigned int clusters_to_alloc, extents_to_split, clusters_need = 0; in ocfs2_write_begin_nolock() local
2103 ret = ocfs2_populate_write_desc(inode, wc, &clusters_to_alloc, in ocfs2_write_begin_nolock()
2109 clusters_need += clusters_to_alloc; in ocfs2_write_begin_nolock()
2118 clusters_to_alloc, extents_to_split); in ocfs2_write_begin_nolock()
2126 if (clusters_to_alloc || extents_to_split) { in ocfs2_write_begin_nolock()
2135 clusters_to_alloc, extents_to_split, in ocfs2_write_begin_nolock()
2155 if (clusters_to_alloc || extents_to_split || in ocfs2_write_begin_nolock()
2173 if (clusters_to_alloc) { in ocfs2_write_begin_nolock()
2175 ocfs2_clusters_to_bytes(osb->sb, clusters_to_alloc)); in ocfs2_write_begin_nolock()
2231 if (clusters_to_alloc) in ocfs2_write_begin_nolock()
2233 ocfs2_clusters_to_bytes(osb->sb, clusters_to_alloc)); in ocfs2_write_begin_nolock()