/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_snap.c | 285 ulong_t cgbase; in ufs_snap_find_candidates() local 297 cgbase = 0LL; in ufs_snap_find_candidates() 329 chunk = (ulong_t)((cgbase + curfrag) / in ufs_snap_find_candidates() 338 ((cgbase + curfrag) % in ufs_snap_find_candidates() 343 cgbase += cgp->cg_ndblk; in ufs_snap_find_candidates() 344 ASSERT(cgbase <= fs->fs_size); in ufs_snap_find_candidates() 348 ASSERT(cgbase == fs->fs_size); in ufs_snap_find_candidates()
|
H A D | ufs_subr.c | 808 if ((bn < cgbase(ip->i_fs, c)) || in ufs_badblock() 810 (bn >= (unsigned)cgbase(ip->i_fs, c+1))) in ufs_badblock()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | ufs2.h | 361 #define cgbase(fs, c) ((ufs2_daddr_t)((fs)->fs_fpg * (c))) macro 364 ((fs)->fs_magic == FS_UFS2_MAGIC ? cgbase(fs, c) : \ 365 (cgbase(fs, c) + (fs)->fs_old_cgoffset * ((c) & ~((fs)->fs_old_cgmask))))
|
H A D | ufs.h | 224 #define cgbase(fs, c) ((grub_daddr32_t)((fs)->fs_fpg * (c))) macro 227 (cgbase(fs, c) + (fs)->fs_cgoffset * ((c) & ~((fs)->fs_cgmask)))
|
H A D | fs.h | 356 #define cgbase(fs, c) ((mach_daddr_t)((fs)->fs_fpg * (c))) macro 358 (cgbase(fs, c) + (fs)->fs_cgoffset * ((c) & ~((fs)->fs_cgmask)))
|
/illumos-gate/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 528 #define cgbase(fs, c) (((ufs2_daddr_t)(fs)->fs_fpg) * (c)) macro 536 ((fs)->fs_magic == FS_UFS2_MAGIC ? cgbase(fs, c) : \ 537 (cgbase(fs, c) + (fs)->fs_old_cgoffset * ((c) & ~((fs)->fs_old_cgmask))))
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_fs.h | 558 #define cgbase(fs, c) ((daddr32_t)((fs)->fs_fpg * (c))) macro 561 (cgbase(fs, c) + (fs)->fs_cgoffset * ((c) & ~((fs)->fs_cgmask)))
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 1970 ibpcl = cgdmin(&sblock, i) - cgbase(&sblock, i); in main() 1974 cgdmin(&sblock, i) - cgbase(&sblock, i) / sblock.fs_frag, in main() 1991 cgdmin(&sblock, j) - cgbase(&sblock, j) > i) { in main() 1996 (cgdmin(&sblock, j) - cgbase(&sblock, j)) / sblock.fs_frag, in main() 2546 cbase = cgbase(&sblock, cylno); in initcg() 3897 dmax = cgbase(&sblock, 0) + sblock.fs_fpg; in checksummarysize() 4855 setbit(cg_blksfree(&acg), i-cgbase(&sblock, 0)); in extendsummaryinfo() 4920 if (isset(cg_blksfree(&acg), cfp->ofrag - cgbase(&sblock, 0))) { in findcsfragfree() 5006 *fragp = bit + cgbase(&sblock, i); in allocfrags() 5050 clrbit(cg_blksfree(&acg), cfp->ofrag - cgbase(&sblock, 0)); in alloccsfragfree() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | main.c | 580 blks += cgsblock(&sblock, 0) - cgbase(&sblock, 0); in checkfilesys()
|
H A D | pass1.c | 76 i = cgbase(&sblock, c); in pass1()
|
H A D | pass5.c | 162 dbase = cgbase(fs, c); in pass5()
|
H A D | inode.c | 644 if ((unsigned)(blk + cnt) > (unsigned)cgbase(&sblock, c+1)) { in chkrange()
|
H A D | utilities.c | 2065 cbase = cgbase(&sblock, cgno); in cg_constants()
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | ChangeLog | 6869 (cgbase): Use mach_daddr_t instead of daddr_t.
|