Searched refs:cgp (Results 1 - 3 of 3) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/ |
H A D | ffs_alloc.c | 103 (struct fs *fs, struct cg *cgp, ufs_daddr_t blkno, int cnt); 756 register struct cg *cgp; local 784 cgp = (struct cg *)buf_dataptr(bp); 787 byte_swap_cgin(cgp, fs); 791 if (!cg_chkmagic(cgp)) { 794 byte_swap_cgout(cgp,fs); 800 cgp->cg_time = tv.tv_sec; 803 if (isclr(cg_blksfree(cgp), bno + i)) { 806 byte_swap_cgout(cgp,fs); 818 if (isclr(cg_blksfree(cgp), bn 852 register struct cg *cgp; local 1092 register struct cg *cgp; local 1230 register struct cg *cgp; local 1329 register struct cg *cgp; local 1452 struct cg *cgp; local 1517 register struct cg *cgp; local 1652 ffs_clusteracct(struct fs *fs, struct cg *cgp, ufs_daddr_t blkno, int cnt) argument [all...] |
H A D | fs.h | 389 #define cg_blktot(cgp) \ 390 (((cgp)->cg_magic != CG_MAGIC) \ 391 ? (((struct ocg *)(cgp))->cg_btot) \ 392 : ((int32_t *)((u_int8_t *)(cgp) + (cgp)->cg_btotoff))) 393 #define cg_blks(fs, cgp, cylno) \ 394 (((cgp)->cg_magic != CG_MAGIC) \ 395 ? (((struct ocg *)(cgp))->cg_b[cylno]) \ 396 : ((int16_t *)((u_int8_t *)(cgp) + \ 397 (cgp) [all...] |
H A D | ffs_vfsops.c | 474 struct cg *cgp; local 605 cgp = (struct cg *)buf_dataptr(cgbp); 608 byte_swap_cgin(cgp,fs); 610 if (!cg_chkmagic(cgp)){ 613 byte_swap_cgout(cgp,fs); 618 if (cgp->cg_clustersumoff != 0) { 620 clustersumoff = cgp->cg_freeoff + 623 if (cgp->cg_clustersumoff < clustersumoff) { 631 byte_swap_cgout(cgp,fs);
|
Completed in 80 milliseconds