Home
last modified time | relevance | path

Searched refs:ino_to_cg (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/fs/ext2fs/
H A Dfs.h106 #define ino_to_cg(fs, x) (((x) - 1) / (fs->e2fs_ipg)) macro
110 (e2fs_gd_get_i_tables(&(fs)->e2fs_gd[ino_to_cg((fs), (x))]) + \
H A Dext2_alloc.c129 cg = ino_to_cg(fs, ip->i_number); in ext2_alloc()
162 blk = ext2_hashalloc(ip, ino_to_cg(fs, ip->i_number), 0, fs->e2fs_bsize, in ext2_alloc_meta()
409 cg = ino_to_cg(fs, pip->i_number); in ext2_valloc()
438 ip->i_block_group = ino_to_cg(fs, ino); in ext2_valloc()
664 prefcg = ino_to_cg(fs, pip->i_number); in ext2_dirpref()
1480 cg = ino_to_cg(fs, ino); in ext2_vfree()
/freebsd/usr.sbin/makefs/ffs/
H A Dffs_alloc.c105 cg = ino_to_cg(fs, ip->i_number); in ffs_alloc()
158 cg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs1()
167 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg; in ffs_blkpref_ufs1()
197 cg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs2()
206 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg; in ffs_blkpref_ufs2()
/freebsd/sys/ufs/ufs/
H A Dufs_gjournal.c72 cg = ino_to_cg(fs, ino); in ufs_gjournal_modref()
/freebsd/sys/ufs/ffs/
H A Dfs.h670 #define ino_to_cg(fs, x) (((ino_t)(x)) / (fs)->fs_ipg)
672 ((ufs2_daddr_t)(cgimin(fs, ino_to_cg(fs, (ino_t)(x))) + \
669 #define ino_to_cg( global() macro
H A Dffs_alloc.c198 cg = ino_to_cg(fs, ip->i_number); in ffs_alloc()
1142 cg = ino_to_cg(fs, ipref); in ffs_valloc()
1278 curcg = ino_to_cg(fs, pip->i_number); in ffs_dirpref()
1429 inocg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs1()
1549 inocg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs2()
2855 cg = ino_to_cg(fs, ino); in ffs_freefile()
2936 cg = ino_to_cg(fs, ino); in ffs_checkfreefile()
H A Dffs_vfsops.c1953 cg = ino_to_cg(fs, ino); in ffs_inotovp()
H A Dffs_softdep.c5280 bmsafemap = bmsafemap_lookup(mp, bp, ino_to_cg(fs, newinum), bmsafemap); in softdep_setup_inomapdep()
/freebsd/usr.sbin/quot/
H A Dquot.c127 (!cgp || cg != ino_to_cg(super, ino))) { in get_inode()
128 cg = ino_to_cg(super, ino); in get_inode()
/freebsd/stand/libsa/
H A Dufsread.c71 (fsbtodb(fs, cgimin(fs, ino_to_cg(fs, x))) + \
/freebsd/sbin/fsck_ffs/
H A Dinode.c1421 cg = ino_to_cg(&sblock, ino); in allocino()
1449 DIP_SET(dp, di_db[0], allocblk(ino_to_cg(&sblock, ino), (long)1, in allocino()
H A Ddir.c794 cg = ino_to_cg(&sblock, ip->i_number); in expanddir()
H A Dsuj.c213 sc = cg_lookup(ino_to_cg(fs, ino)); in ino_lookup()
434 cg = ino_to_cg(fs, ino); in ino_free()
/freebsd/usr.sbin/makefs/
H A Dffs.c1116 cg = ino_to_cg(fs, ino); in ffs_write_inode()
H A Dffs.c1116 cg = ino_to_cg(fs, ino); in ffs_write_inode()