Lines Matching refs:cg
64 unsigned ino, cg, bit; in ufs_free_inode() local
81 cg = ufs_inotocg (ino); in ufs_free_inode()
83 ucpi = ufs_load_cylinder (sb, cg); in ufs_free_inode()
104 fs32_add(sb, &UFS_SB(sb)->fs_cs(cg).cs_nifree, 1); in ufs_free_inode()
109 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cg).cs_ndir, 1); in ufs_free_inode()
181 unsigned cg, bit, i, j, start; in ufs_new_inode() local
205 cg = i; in ufs_new_inode()
217 cg = i; in ufs_new_inode()
231 cg = i; in ufs_new_inode()
239 ucpi = ufs_load_cylinder (sb, cg); in ufs_new_inode()
254 "cylinder group %u corrupted - error in inode bitmap\n", cg); in ufs_new_inode()
278 fs32_sub(sb, &sbi->fs_cs(cg).cs_nifree, 1); in ufs_new_inode()
283 fs32_add(sb, &sbi->fs_cs(cg).cs_ndir, 1); in ufs_new_inode()
291 inode->i_ino = cg * uspi->s_ipg + bit; in ufs_new_inode()