Lines Matching refs:clusters_to_add
541 u32 clusters_to_add, in ocfs2_add_inode_data() argument
554 clusters_to_add, mark_unwritten, in ocfs2_add_inode_data()
561 u32 clusters_to_add, int mark_unwritten) in __ocfs2_extend_allocation() argument
594 status = ocfs2_lock_allocators(inode, &et, clusters_to_add, 0, in __ocfs2_extend_allocation()
614 le32_to_cpu(fe->i_clusters), clusters_to_add, in __ocfs2_extend_allocation()
618 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in __ocfs2_extend_allocation()
638 clusters_to_add, in __ocfs2_extend_allocation()
654 clusters_to_add -= (OCFS2_I(inode)->ip_clusters - prev_clusters); in __ocfs2_extend_allocation()
658 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in __ocfs2_extend_allocation()
661 if (why != RESTART_NONE && clusters_to_add) { in __ocfs2_extend_allocation()
689 ocfs2_clusters_to_bytes(osb->sb, clusters_to_add)); in __ocfs2_extend_allocation()
713 u32 clusters_to_add, int mark_unwritten) in ocfs2_extend_allocation() argument
716 clusters_to_add, mark_unwritten); in ocfs2_extend_allocation()
1022 u32 clusters_to_add; in ocfs2_extend_no_holes() local
1032 clusters_to_add = ocfs2_clusters_for_bytes(inode->i_sb, new_i_size); in ocfs2_extend_no_holes()
1033 if (clusters_to_add < oi->ip_clusters) in ocfs2_extend_no_holes()
1034 clusters_to_add = 0; in ocfs2_extend_no_holes()
1036 clusters_to_add -= oi->ip_clusters; in ocfs2_extend_no_holes()
1038 if (clusters_to_add) { in ocfs2_extend_no_holes()
1040 clusters_to_add, 0); in ocfs2_extend_no_holes()