Searched refs:e2fs_ncg (Results 1 – 11 of 11) sorted by relevance
| /netbsd/src/sbin/fsck_ext2fs/ |
| D | setup.c | 164 for (cg = 1; cg < proto.e2fs_ncg; cg++) { in setup() 171 if (cg >= proto.e2fs_ncg) { in setup() 196 maxino = sblock.e2fs_ncg * sblock.e2fs.e2fs_ipg; in setup() 275 for (numdirs = 0, cg = 0; cg < sblock.e2fs_ncg; cg++) { in setup() 333 sblock.e2fs_ncg = in readsb() 341 sblock.e2fs_ngdb = howmany(sblock.e2fs_ncg, in readsb() 355 if (sblock.e2fs_ncg == 1) { in readsb() 531 fs->e2fs_ncg = in calcsb() 535 fs->e2fs_ngdb = howmany(fs->e2fs_ncg, in calcsb()
|
| D | pass1.c | 99 for (c = 0; c < sblock.e2fs_ncg; c++) { in pass1() 142 for (c = 0; c < sblock.e2fs_ncg; c++) { in pass1()
|
| D | pass1b.c | 91 for (c = 0; c < sblock.e2fs_ncg; c++) { in pass1b()
|
| D | main.c | 317 for (i = 0; i < sblock.e2fs_ncg; i++) in checkfilesys()
|
| D | pass5.c | 106 for (c = 0; c < fs->e2fs_ncg; c++) { in pass5()
|
| /netbsd/src/sys/ufs/ext2fs/ |
| D | ext2fs_alloc.c | 214 avgifree = fs->e2fs.e2fs_ficount / fs->e2fs_ncg; in ext2fs_dirpref() 217 for (cg = 0; cg < fs->e2fs_ncg; cg++) { in ext2fs_dirpref() 308 for (i = 1; i < fs->e2fs_ncg; i *= 2) { in ext2fs_hashalloc() 310 if (cg >= fs->e2fs_ncg) in ext2fs_hashalloc() 311 cg -= fs->e2fs_ncg; in ext2fs_hashalloc() 321 cg = (icg + 2) % fs->e2fs_ncg; in ext2fs_hashalloc() 322 for (i = 2; i < fs->e2fs_ncg; i++) { in ext2fs_hashalloc() 327 if (cg == fs->e2fs_ncg) in ext2fs_hashalloc() 866 for(cg = 0; cg < fs->e2fs_ncg; cg++) { in ext2fs_cg_verify_and_initialize()
|
| D | ext2fs_vfsops.c | 894 fs->e2fs_ncg * overhead_per_group; in ext2fs_statvfs() 904 for (i = 0, ngroups = 0; i < fs->e2fs_ncg; i++) { in ext2fs_statvfs() 909 ngroups = fs->e2fs_ncg; in ext2fs_statvfs() 1258 ufh.ufid_ino >= fs->e2fs_ncg * fs->e2fs.e2fs_ipg) in ext2fs_fhtovp() 1394 m_fs->e2fs_ncg = howmany(u32, fs->e2fs_bpg); in ext2fs_sbfill() 1395 if (m_fs->e2fs_ncg == 0) { in ext2fs_sbfill() 1421 m_fs->e2fs_ngdb = howmany(m_fs->e2fs_ncg, u32); in ext2fs_sbfill()
|
| D | ext2fs.h | 251 int32_t e2fs_ncg; /* number of cylinder groups */ member
|
| /netbsd/src/usr.sbin/installboot/ |
| D | ext2fs.c | 145 fs->e2fs_ncg = in ext2fs_read_sblock() 155 howmany(fs->e2fs_ncg, fs->e2fs_bsize / sizeof(struct ext2_gd)); in ext2fs_read_sblock() 179 (fs->e2fs_ncg - gdpb * i) * sizeof(struct ext2_gd): in ext2fs_read_gdblock() 220 fs->e2fs_gd = malloc(sizeof(struct ext2_gd) * fs->e2fs_ncg); in ext2fs_find_disk_blocks()
|
| /netbsd/src/sbin/newfs_ext2fs/ |
| D | mke2fs.c | 342 sblock.e2fs_ncg = ncg; in mke2fs() 642 delta = sblock.e2fs_ncg - cylno - 1; in mke2fs() 680 sizeof(struct ext2_gd) * sblock.e2fs_ncg); in mke2fs() 712 sizeof(struct ext2_gd) * sblock.e2fs_ncg); in initcg() 722 if (cylno == (sblock.e2fs_ncg - 1)) { in initcg() 725 cgbase(&sblock, sblock.e2fs_ncg - 1); in initcg() 1208 for (n = 0, cylno = 1; cylno < sblock.e2fs_ncg; cylno++) { in init_resizeino() 1364 if (ino >= sblock.e2fs.e2fs_ipg * sblock.e2fs_ncg) in iput()
|
| /netbsd/src/sys/lib/libsa/ |
| D | ext2fs.c | 440 fs->e2fs_ncg = in read_sblock() 450 howmany(fs->e2fs_ncg, fs->e2fs_bsize / sizeof(struct ext2_gd)); in read_sblock() 480 (fs->e2fs_ncg - gdpb * i) * sizeof(struct ext2_gd): in read_gdblock() 532 fs->e2fs_gd = alloc(sizeof(struct ext2_gd) * fs->e2fs_ncg); in ext2fs_open() 710 sizeof(struct ext2_gd) * fp->f_fs->e2fs_ncg); in ext2fs_close() 1015 printf("fs->e2fs_ncg = %u\n", fs->e2fs_ncg); in dump_sblock()
|