Lines Matching refs:clusters_to_add
533 u32 clusters_to_add, in ocfs2_add_inode_data() argument
546 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
553 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() argument
586 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation()
606 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation()
610 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
630 clusters_to_add, in ocfs2_extend_allocation()
646 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation()
650 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
653 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation()
681 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
1011 u32 clusters_to_add; in ocfs2_extend_no_holes() local
1021 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); in ocfs2_extend_no_holes()
1022 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes()
1023 clusters_to_add = 0; in ocfs2_extend_no_holes()
1025 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes()
1027 if (clusters_to_add) { in ocfs2_extend_no_holes()
1029 clusters_to_add, 0); in ocfs2_extend_no_holes()