Lines Matching refs:new_clusters
56 int new_clusters, in ocfs2_calc_new_backup_super() argument
93 int new_clusters) in ocfs2_update_last_group_and_inode() argument
105 trace_ocfs2_update_last_group_and_inode(new_clusters, in ocfs2_update_last_group_and_inode()
118 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
130 new_clusters, in ocfs2_update_last_group_and_inode()
151 le32_add_cpu(&fe->i_clusters, new_clusters); in ocfs2_update_last_group_and_inode()
160 le64_add_cpu(&fe->i_size, new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()
170 new_clusters, in ocfs2_update_last_group_and_inode()
223 int new_clusters) in ocfs2_update_super_and_backups() argument
243 le32_add_cpu(&super_di->i_clusters, new_clusters); in ocfs2_update_super_and_backups()
270 int ocfs2_group_extend(struct inode * inode, int new_clusters) in ocfs2_group_extend() argument
287 if (new_clusters < 0) in ocfs2_group_extend()
289 else if (new_clusters == 0) in ocfs2_group_extend()
337 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
345 (unsigned long long)le64_to_cpu(group->bg_blkno), new_clusters); in ocfs2_group_extend()
358 new_clusters); in ocfs2_group_extend()
364 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend()