Lines Matching refs:clusters_to_add
537 u32 clusters_to_add, in ocfs2_add_inode_data() argument
549 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
554 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() argument
587 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation()
607 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation()
611 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
631 clusters_to_add, in ocfs2_extend_allocation()
647 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation()
651 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
654 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation()
682 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
1007 u32 clusters_to_add; in ocfs2_extend_no_holes() local
1017 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); in ocfs2_extend_no_holes()
1018 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes()
1019 clusters_to_add = 0; in ocfs2_extend_no_holes()
1021 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes()
1023 if (clusters_to_add) { in ocfs2_extend_no_holes()
1025 clusters_to_add, 0); in ocfs2_extend_no_holes()