Home
last modified time | relevance | path

Searched refs:ocg (Results 1 – 3 of 3) sorted by relevance

/openbsd/sbin/fsck_ffs/
H A Dpass5.c77 struct ocg *ocg = (struct ocg *)buf; in pass5() local
124 basesize = (char *)(&ocg->cg_btot[0]) - in pass5()
125 (char *)(&ocg->cg_firstfield); in pass5()
126 sumsize = &ocg->cg_iused[0] - (u_int8_t *)(&ocg->cg_btot[0]); in pass5()
127 mapsize = &ocg->cg_free[howmany(fs->fs_fpg, NBBY)] - in pass5()
128 (u_char *)&ocg->cg_iused[0]; in pass5()
130 inomapsize = sizeof(ocg->cg_iused); in pass5()
131 ocg->cg_magic = CG_MAGIC; in pass5()
234 ocg->cg_magic = CG_MAGIC; in pass5()
/openbsd/sys/ufs/ffs/
H A Dfs.h409 ? (((struct ocg *)(cgp))->cg_btot) \
413 ? (((struct ocg *)(cgp))->cg_b[cylno]) \
418 ? (((struct ocg *)(cgp))->cg_iused) \
422 ? (((struct ocg *)(cgp))->cg_free) \
425 ((cgp)->cg_magic == CG_MAGIC || ((struct ocg *)(cgp))->cg_magic == CG_MAGIC)
435 struct ocg { struct
/openbsd/sbin/dumpfs/
H A Ddumpfs.c367 ((struct ocg *)&acg)->cg_magic : acg.cg_magic, in dumpcg()
372 ((struct ocg *)&acg)->cg_magic : acg.cg_magic, in dumpcg()