Lines Matching refs:new_clusters
82 int new_clusters) in ocfs2_update_last_group_and_inode() argument
97 trace_ocfs2_update_last_group_and_inode(new_clusters, in ocfs2_update_last_group_and_inode()
111 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
147 le32_add_cpu(&fe->i_clusters, new_clusters); in ocfs2_update_last_group_and_inode()
156 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()
218 int new_clusters) in ocfs2_update_super_and_backups() argument
238 le32_add_cpu(&super_di->i_clusters, new_clusters); in ocfs2_update_super_and_backups()
265 int ocfs2_group_extend(struct inode * inode, int new_clusters) in ocfs2_group_extend() argument
282 if (new_clusters < 0) in ocfs2_group_extend()
284 else if (new_clusters == 0) in ocfs2_group_extend()
332 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
340 (unsigned long long)le64_to_cpu(group->bg_blkno), new_clusters); in ocfs2_group_extend()
353 new_clusters); in ocfs2_group_extend()
359 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend()