Searched refs:e2fs_gcount (Results 1 – 4 of 4) sorted by relevance
377 cg_count = fs->e2fs_gcount; in ext2_cg_validate()379 for (i = 0; i < fs->e2fs_gcount; i++) { in ext2_cg_validate()383 i == fs->e2fs_gcount - 1) { in ext2_cg_validate()390 if ((cg_count == fs->e2fs_gcount) && in ext2_cg_validate()620 fs->e2fs_gcount = howmany(fs->e2fs_bcount - in ext2_compute_sb_data()643 e2fs_gdbcount_alloc = howmany(fs->e2fs_gcount, in ext2_compute_sb_data()649 fs->e2fs_contigdirs = malloc(fs->e2fs_gcount * in ext2_compute_sb_data()694 for (i = 0; i < fs->e2fs_gcount; i++) in ext2_compute_sb_data()1039 for (i = 0; i < fs->e2fs_gcount; i++, sump++) in ext2_unmount()1088 fs->e2fs_gcount * overhead_per_group; in ext2_statfs()[all …]
611 avgifree = fs->e2fs_ficount / fs->e2fs_gcount; in ext2_dirpref()612 avgbfree = fs->e2fs_fbcount / fs->e2fs_gcount; in ext2_dirpref()620 prefcg = arc4random() % fs->e2fs_gcount; in ext2_dirpref()667 for (cg = prefcg; cg < fs->e2fs_gcount; cg++) in ext2_dirpref()684 for (cg = prefcg; cg < fs->e2fs_gcount; cg++) in ext2_dirpref()769 for (i = 1; i < fs->e2fs_gcount; i *= 2) { in ext2_hashalloc()771 if (cg >= fs->e2fs_gcount) in ext2_hashalloc()772 cg -= fs->e2fs_gcount; in ext2_hashalloc()782 cg = (icg + 2) % fs->e2fs_gcount; in ext2_hashalloc()783 for (i = 2; i < fs->e2fs_gcount; i++) { in ext2_hashalloc()[all …]
173 uint32_t e2fs_gcount; /* Number of groups */ member
720 for (i = 0; i < fs->e2fs_gcount; i++) { in ext2_gd_csum_verify()740 for (i = 0; i < fs->e2fs_gcount; i++) in ext2_gd_csum_set()