Searched refs:icg (Results 1 – 2 of 2) sorted by relevance
2569 icg.cg_rotor = 0; in initcg()2572 icg.cg_btotoff = &icg.cg_space[0] - (uchar_t *)(&icg.cg_link); in initcg()2573 icg.cg_boff = icg.cg_btotoff + sblock.fs_cpg * sizeof (long); in initcg()2574 icg.cg_iusedoff = icg.cg_boff + in initcg()2576 icg.cg_freeoff = icg.cg_iusedoff + howmany(sblock.fs_ipg, NBBY); in initcg()2577 icg.cg_nextfreeoff = icg.cg_freeoff + in initcg()2582 bzero((caddr_t)cg_inosused(&icg), icg.cg_freeoff - icg.cg_iusedoff); in initcg()2607 bzero((caddr_t)cg_blktot(&icg), icg.cg_boff - icg.cg_btotoff); in initcg()2609 icg.cg_iusedoff - icg.cg_boff); in initcg()2610 bzero((caddr_t)cg_blksfree(&icg), icg.cg_nextfreeoff - icg.cg_freeoff); in initcg()[all …]
850 int icg = cg; in hashalloc() local875 cg = (icg + 2) % fs->fs_ncg; in hashalloc()