Lines Matching refs:e2fs_ipg
413 ipref = cg * fs->e2fs_ipg + 1; in ext2_valloc()
620 minndir = fs->e2fs_ipg; in ext2_dirpref()
641 maxndir = min(avgndir + fs->e2fs_ipg / 16, fs->e2fs_ipg); in ext2_dirpref()
655 maxcontigdirs = min(maxcontigdirs, fs->e2fs_ipg / AFPDIR); in ext2_dirpref()
922 fs->e2fs_ipg / inodes_per_block ) { in ext2_cg_block_bitmap_init()
1268 all_blks = le16toh(fs->e2fs->e2fs_inode_size) * fs->e2fs_ipg / in ext2_zero_inode_table()
1271 used_blks = howmany(fs->e2fs_ipg - in ext2_zero_inode_table()
1335 ibytes = fs->e2fs_ipg / 8; in ext2_nodealloccg()
1368 ipref %= fs->e2fs_ipg; in ext2_nodealloccg()
1373 len = howmany(fs->e2fs_ipg - ipref, NBBY); in ext2_nodealloccg()
1396 ifree = fs->e2fs_ipg - e2fs_gd_get_i_unused(&fs->e2fs_gd[cg]); in ext2_nodealloccg()
1399 fs->e2fs_ipg - (ipref + 1)); in ext2_nodealloccg()
1411 return ((uint64_t)cg * fs->e2fs_ipg + ipref + 1); in ext2_nodealloccg()
1476 if ((u_int)ino > fs->e2fs_ipg * fs->e2fs_gcount) in ext2_vfree()
1488 ino = (ino - 1) % fs->e2fs_ipg; in ext2_vfree()