Home
last modified time | relevance | path

Searched refs:cgbase (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_snap.c285 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 Dufs_subr.c808 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 Dufs2.h361 #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 Dufs.h224 #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 Dfs.h356 #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 Dfs.h528 #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 Dufs_fs.h558 #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 Dmkfs.c1970 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 Dmain.c580 blks += cgsblock(&sblock, 0) - cgbase(&sblock, 0); in checkfilesys()
H A Dpass1.c76 i = cgbase(&sblock, c); in pass1()
H A Dpass5.c162 dbase = cgbase(fs, c); in pass5()
H A Dinode.c644 if ((unsigned)(blk + cnt) > (unsigned)cgbase(&sblock, c+1)) { in chkrange()
H A Dutilities.c2065 cbase = cgbase(&sblock, cgno); in cg_constants()
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog6869 (cgbase): Use mach_daddr_t instead of daddr_t.