Lines Matching refs:e2fs
130 if (fs->e2fs.e2fs_fbcount == 0)
136 if (bpref >= fs->e2fs.e2fs_bcount)
181 if (fs->e2fs.e2fs_ficount == 0)
188 ipref = cg * fs->e2fs.e2fs_ipg + 1;
214 avgifree = fs->e2fs.e2fs_ficount / fs->e2fs_ncg;
279 return fs->e2fs.e2fs_bpg * cg + fs->e2fs.e2fs_first_dblock + 1;
391 end = howmany(fs->e2fs.e2fs_fpg, NBBY) - start;
423 fs->e2fs.e2fs_fbcount--;
427 return cg * fs->e2fs.e2fs_fpg + fs->e2fs.e2fs_first_dblock + bno;
468 KASSERT(fs2h16(fs->e2fs_gd[cg].ext2bgd_nifree) == fs->e2fs.e2fs_ipg);
474 ipref %= fs->e2fs.e2fs_ipg;
479 len = howmany(fs->e2fs.e2fs_ipg - ipref, NBBY);
501 fs->e2fs.e2fs_ficount--;
506 return cg * fs->e2fs.e2fs_ipg + ipref + 1;
529 if ((u_int)bno >= fs->e2fs.e2fs_bcount) {
551 fs->e2fs.e2fs_fbcount++;
574 if ((u_int)ino > fs->e2fs.e2fs_icount || (u_int)ino < EXT2_FIRSTINO)
592 ino = (ino - 1) % fs->e2fs.e2fs_ipg;
601 fs->e2fs.e2fs_ficount++;
629 len = howmany(fs->e2fs.e2fs_fpg, NBBY) - start;
682 (ioff + 1) >= (fs->e2fs.e2fs_ipg -
685 h2fs16(fs->e2fs.e2fs_ipg - (ioff + 1));
810 crc32 = ext2fs_crc32c(~0, fs->e2fs.e2fs_uuid,
811 sizeof(fs->e2fs.e2fs_uuid));
825 crc = crc16(~0, (uint8_t *)fs->e2fs.e2fs_uuid,
826 sizeof(fs->e2fs.e2fs_uuid));
847 for(i=0; i < fs->e2fs.e2fs_bpg - fs2h16(gd->ext2bgd_nbfree); i++)
890 ioff = fs->e2fs.e2fs_ipg - fs2h16(gd->ext2bgd_itable_unused_lo);