Searched refs:ino_to_cg (Results 1 – 12 of 12) sorted by relevance
| /netbsd-src/usr.sbin/makefs/ffs/ |
| H A D | ffs_alloc.c | 118 cg = ino_to_cg(fs, ip->i_number); in ffs_alloc() 168 cg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs1() 177 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg; in ffs_blkpref_ufs1() 207 cg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs2() 216 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg; in ffs_blkpref_ufs2()
|
| /netbsd-src/sys/ufs/ffs/ |
| H A D | ffs_alloc.c | 255 cg = ino_to_cg(fs, ip->i_number); in ffs_alloc() 598 cg = ino_to_cg(fs, ipref); in ffs_valloc() 717 prefcg = ino_to_cg(fs, pip->i_number); in ffs_dirpref() 803 cg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs1() 812 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg; in ffs_blkpref_ufs1() 867 cg = ino_to_cg(fs, ip->i_number); in ffs_blkpref_ufs2() 876 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg; in ffs_blkpref_ufs2() 2007 cg = ino_to_cg(fs, ino); in ffs_freefile() 2046 cg = ino_to_cg(fs, ino); in ffs_freefile_snap() 2081 cg = ino_to_cg(fs, ino); in ffs_freefile_common() [all …]
|
| H A D | fs.h | 650 #define ino_to_cg(fs, x) (((ino_t)(x)) / (fs)->fs_ipg) macro 652 ((daddr_t)(cgimin(fs, ino_to_cg(fs, (ino_t)(x))) + \
|
| H A D | ffs_vfsops.c | 210 int cg = ino_to_cg(fs, ino); in ffs_checkrange()
|
| /netbsd-src/sys/ufs/ext2fs/ |
| H A D | ext2fs_alloc.c | 139 cg = ino_to_cg(fs, ip->i_number); in ext2fs_alloc() 187 cg = ino_to_cg(fs, pip->i_number); in ext2fs_valloc() 278 cg = ino_to_cg(fs, ip->i_number); in ext2fs_blkpref() 579 cg = ino_to_cg(fs, ino); in ext2fs_vfree()
|
| H A D | ext2fs.h | 525 #define ino_to_cg(fs, x) (((x) - 1) / (fs)->e2fs.e2fs_ipg) macro 526 #define _e2fs_gd(fs, x) (fs)->e2fs_gd[ino_to_cg((fs), (x))]
|
| H A D | ext2fs_vfsops.c | 1166 (fs->e2fs_gd[ino_to_cg(fs, ino)].ext2bgd_flags & in ext2fs_newvnode()
|
| /netbsd-src/sbin/fsck_ffs/ |
| H A D | inode.c | 732 cg = ino_to_cg(sblock, ino); in allocino() 834 cg = ino_to_cg(sblock, ino); in freeino()
|
| /netbsd-src/sbin/fsck_ext2fs/ |
| H A D | inode.c | 90 (fs2h32((fs)->e2fs_gd[ino_to_cg(fs, x)].ext2bgd_i_tables) + \
|
| /netbsd-src/usr.sbin/makefs/ |
| H A D | ffs.c | 1083 cg = ino_to_cg(fs, ino); in ffs_write_inode()
|
| /netbsd-src/sbin/newfs_ext2fs/ |
| H A D | mke2fs.c | 1341 c = ino_to_cg(&sblock, ino); in iput()
|
| /netbsd-src/sbin/resize_ffs/ |
| H A D | resize_ffs.c | 1657 set_bits(cg_inosused(cgs[ino_to_cg(newsb, fi)], 0), in evict_inodes()
|