Searched refs:ino_to_cg (Results 1 – 15 of 15) sorted by relevance
/freebsd/sys/fs/ext2fs/ |
H A D | fs.h | 106 #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 D | ext2_alloc.c | 129 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 D | ffs_alloc.c | 105 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 D | ufs_gjournal.c | 72 cg = ino_to_cg(fs, ino); in ufs_gjournal_modref()
|
/freebsd/sys/ufs/ffs/ |
H A D | fs.h | 670 #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 D | ffs_alloc.c | 198 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 D | ffs_vfsops.c | 1953 cg = ino_to_cg(fs, ino); in ffs_inotovp()
|
H A D | ffs_softdep.c | 5280 bmsafemap = bmsafemap_lookup(mp, bp, ino_to_cg(fs, newinum), bmsafemap); in softdep_setup_inomapdep()
|
/freebsd/usr.sbin/quot/ |
H A D | quot.c | 127 (!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 D | ufsread.c | 71 (fsbtodb(fs, cgimin(fs, ino_to_cg(fs, x))) + \
|
/freebsd/sbin/fsck_ffs/ |
H A D | inode.c | 1421 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 D | dir.c | 794 cg = ino_to_cg(&sblock, ip->i_number); in expanddir()
|
H A D | suj.c | 213 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 D | ffs.c | 1116 cg = ino_to_cg(fs, ino); in ffs_write_inode()
|
H A D | ffs.c | 1116 cg = ino_to_cg(fs, ino); in ffs_write_inode()
|