Lines Matching refs:new_clusters
98 int new_clusters) in ocfs2_update_last_group_and_inode() argument
111 trace_ocfs2_update_last_group_and_inode(new_clusters, in ocfs2_update_last_group_and_inode()
125 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode()
156 le32_add_cpu(&fe->i_clusters, new_clusters); in ocfs2_update_last_group_and_inode()
165 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()
226 int new_clusters) in ocfs2_update_super_and_backups() argument
246 le32_add_cpu(&super_di->i_clusters, new_clusters); in ocfs2_update_super_and_backups()
273 int ocfs2_group_extend(struct inode * inode, int new_clusters) in ocfs2_group_extend() argument
290 if (new_clusters < 0) in ocfs2_group_extend()
292 else if (new_clusters == 0) in ocfs2_group_extend()
340 if (le16_to_cpu(group->bg_bits) / cl_bpc + new_clusters > in ocfs2_group_extend()
348 (unsigned long long)le64_to_cpu(group->bg_blkno), new_clusters); in ocfs2_group_extend()
361 new_clusters); in ocfs2_group_extend()
367 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend()