Searched refs:e2fs_ipg (Results 1 – 12 of 12) sorted by relevance
188 ipref = cg * fs->e2fs.e2fs_ipg + 1; in ext2fs_valloc()468 KASSERT(fs2h16(fs->e2fs_gd[cg].ext2bgd_nifree) == fs->e2fs.e2fs_ipg); in ext2fs_nodealloccg()474 ipref %= fs->e2fs.e2fs_ipg; in ext2fs_nodealloccg()479 len = howmany(fs->e2fs.e2fs_ipg - ipref, NBBY); in ext2fs_nodealloccg()506 return cg * fs->e2fs.e2fs_ipg + ipref + 1; in ext2fs_nodealloccg()592 ino = (ino - 1) % fs->e2fs.e2fs_ipg; in ext2fs_vfree()682 (ioff + 1) >= (fs->e2fs.e2fs_ipg - in ext2fs_cg_update()685 h2fs16(fs->e2fs.e2fs_ipg - (ioff + 1)); in ext2fs_cg_update()890 ioff = fs->e2fs.e2fs_ipg - fs2h16(gd->ext2bgd_itable_unused_lo); in ext2fs_cg_verify_and_initialize()
151 uint32_t e2fs_ipg; /* inodes per group */ member525 #define ino_to_cg(fs, x) (((x) - 1) / (fs)->e2fs.e2fs_ipg)530 (((x) - 1) % (fs)->e2fs.e2fs_ipg) / (fs)->e2fs_ipb)
59 new->e2fs_ipg = bswap32(old->e2fs_ipg); in e2fs_sb_bswap()
1262 ufh.ufid_ino >= fs->e2fs_ncg * fs->e2fs.e2fs_ipg) in ext2fs_fhtovp() 1379 if (fs->e2fs_ipg == 0) { in ext2fs_sbfill() 1437 m_fs->e2fs_itpg = fs->e2fs_ipg / m_fs->e2fs_ipb; in ext2fs_sbfill()
112 nifree = fs->e2fs.e2fs_ipg; in pass5()136 j = fs->e2fs.e2fs_ipg * c + 1; in pass5()138 for (i = 0; i < fs->e2fs.e2fs_ipg; j++, i++) { in pass5()172 for (i = fs->e2fs.e2fs_ipg / NBBY; i < (uint32_t)fs->e2fs_bsize; i++) in pass5()
196 maxino = sblock.e2fs_ncg * sblock.e2fs.e2fs_ipg; in setup()344 sblock.e2fs_itpg = howmany(sblock.e2fs.e2fs_ipg, sblock.e2fs_ipb); in readsb()467 bp->b_un.b_fs->e2fs_ipg = h2fs32(sblock.e2fs.e2fs_ipg); in copyback_sb()
92 for (i = 0; i < sblock.e2fs.e2fs_ipg; i++, inumber++) { in pass1b()
91 (((x)-1) % (fs)->e2fs.e2fs_ipg)/(fs)->e2fs_ipb)462 readpercg = sblock.e2fs.e2fs_ipg / fullcnt; in resetinodebuf()463 partialcnt = sblock.e2fs.e2fs_ipg % fullcnt; in resetinodebuf()
144 j < sblock.e2fs.e2fs_ipg && inumber <= sblock.e2fs.e2fs_icount; in pass1()
353 sblock.e2fs.e2fs_ipg = inodes_per_cg; in mke2fs() 513 sblock.e2fs.e2fs_ipg-EXT2_RESERVED_INODES); in mke2fs() 516 h2fs16(sblock.e2fs.e2fs_ipg); in mke2fs() 539 sblock.e2fs.e2fs_bpg, sblock.e2fs.e2fs_ipg); in mke2fs() 742 * Assume e2fs_ipg is a multiple of NBBY since in initcg() 744 * Note even (possibly smaller) the last group has the same e2fs_ipg. in initcg() 746 i = sblock.e2fs.e2fs_ipg / NBBY; in initcg() 1364 if (ino >= sblock.e2fs.e2fs_ipg * sblock.e2fs_ncg) in iput()
452 fs->e2fs_itpg = fs->e2fs.e2fs_ipg / fs->e2fs_ipb; in read_sblock()904 new->e2fs_ipg = bswap32(old->e2fs_ipg); in e2fs_sb_bswap()994 printf("fs->e2fs.e2fs_ipg = %u\n", fs->e2fs.e2fs_ipg); in dump_sblock()
157 fs->e2fs_itpg = fs->e2fs.e2fs_ipg / fs->e2fs_ipb; in ext2fs_read_sblock()