Lines Matching refs:clusters
172 static int update_backups(struct inode * inode, u32 clusters, char *data)
185 if (cluster >= clusters)
215 u32 clusters = 0;
233 clusters = le32_to_cpu(super_di->i_clusters);
242 ret = update_backups(inode, clusters, super_bh->b_data);
255 * Extend the filesystem to the new number of clusters specified. This entry
391 else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc)
393 "input has %u clusters set\n",
395 le16_to_cpu(gd->bg_bits), input->clusters);
428 else if (total_clusters + input->clusters < total_clusters)
429 mlog(ML_ERROR, "add group's clusters overflow.\n");
430 else if (input->clusters > cl_cpg)
432 else if (input->frees > input->clusters)
433 mlog(ML_ERROR, "the free cluster exceeds the total clusters\n");
510 input->chain, input->clusters, input->frees);
549 le32_add_cpu(&cr->c_total, input->clusters * cl_bpc);
552 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc);
554 (input->clusters - input->frees) * cl_bpc);
555 le32_add_cpu(&fe->i_clusters, input->clusters);
561 le64_add_cpu(&fe->i_size, (u64)input->clusters << osb->s_clustersize_bits);
565 ocfs2_update_super_and_backups(main_bm_inode, input->clusters);