Lines Matching refs:clusters_to_add
531 u32 clusters_to_add, in ocfs2_add_inode_data() argument
544 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
551 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() argument
584 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation()
604 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation()
608 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
628 clusters_to_add, in ocfs2_extend_allocation()
644 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation()
648 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
651 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation()
679 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
1009 u32 clusters_to_add; in ocfs2_extend_no_holes() local
1019 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); in ocfs2_extend_no_holes()
1020 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes()
1021 clusters_to_add = 0; in ocfs2_extend_no_holes()
1023 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes()
1025 if (clusters_to_add) { in ocfs2_extend_no_holes()
1027 clusters_to_add, 0); in ocfs2_extend_no_holes()