Lines Matching refs:clusters_to_add
535 u32 clusters_to_add, in ocfs2_add_inode_data() argument
547 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
552 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() argument
585 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in ocfs2_extend_allocation()
605 le32_to_cpu(fe->i_clusters), clusters_to_add, in ocfs2_extend_allocation()
609 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
629 clusters_to_add, in ocfs2_extend_allocation()
645 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in ocfs2_extend_allocation()
649 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
652 if (why != RESTART_NONE && clusters_to_add) { in ocfs2_extend_allocation()
680 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in ocfs2_extend_allocation()
1010 u32 clusters_to_add; in ocfs2_extend_no_holes() local
1020 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); in ocfs2_extend_no_holes()
1021 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes()
1022 clusters_to_add = 0; in ocfs2_extend_no_holes()
1024 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes()
1026 if (clusters_to_add) { in ocfs2_extend_no_holes()
1028 clusters_to_add, 0); in ocfs2_extend_no_holes()