/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | ufs_subr.c | 1347 for (i = 0; i < frags; i += fs->fs_frag) { in ufs_getsummaryinfo() 1348 if (i + fs->fs_frag > frags) in ufs_getsummaryinfo() 1413 for (error = 0, i = 0; (i < frags) && (error == 0); i += fs->fs_frag) { in ufs_putsummaryinfo() 1414 if (i + fs->fs_frag > frags) { in ufs_putsummaryinfo() 1483 inblk = (int)(fragtbl[fs->fs_frag][fragmap]) << 1; in fragacct() 1485 for (siz = 1; siz < fs->fs_frag; siz++) { in fragacct() 1486 if ((inblk & (1 << (siz + (fs->fs_frag % NBBY)))) == 0) in fragacct() 1490 for (pos = siz; pos <= fs->fs_frag; pos++) { in fragacct() 1516 ASSERT(fs->fs_frag == 8 || fs->fs_frag == 4 || fs->fs_frag == 2 || \ in isblock() 1517 fs->fs_frag == 1); in isblock() [all …]
|
H A D | ufs_alloc.c | 548 return (fs->fs_fpg * cg + fs->fs_frag); in blkpref() 570 return (fs->fs_fpg * cg + fs->fs_frag); in blkpref() 576 return (fs->fs_fpg * cg + fs->fs_frag); in blkpref() 594 nextblk = (-bap[indx - 1]) + fs->fs_frag; in blkpref() 596 nextblk = bap[indx - 1] + fs->fs_frag; in blkpref() 611 (NSPF(fs) * 1000), fs->fs_frag); in blkpref() 642 if (bno < 0 && (bno % fs->fs_frag == 0) && bno != UFS_HOLE) { in free() 750 cgp->cg_cs.cs_nffree -= fs->fs_frag; in free() 751 fs->fs_cstotal.cs_nffree -= fs->fs_frag; in free() 752 fs->fs_cs(fs, cg).cs_nffree -= fs->fs_frag; in free() [all …]
|
H A D | lufs.c | 620 for (j = 0; j < nfno; j += fs->fs_frag, fno += fs->fs_frag) in lufs_free() 720 error = alloc(ip, fno + fs->fs_frag, fs->fs_bsize, &fno, cr); in lufs_alloc() 730 ep->nbno = (uint32_t)fsbtodb(fs, fs->fs_frag); in lufs_alloc() 736 error = alloc(ip, fno + fs->fs_frag, fs->fs_bsize, &fno, cr); in lufs_alloc() 745 ep->nbno += (uint32_t)(fsbtodb(fs, fs->fs_frag)); in lufs_alloc() 758 nep->nbno = (uint32_t)(fsbtodb(fs, fs->fs_frag)); in lufs_alloc()
|
H A D | ufs_vfsops.c | 679 fspt->fs_bsize > MAXBSIZE || fspt->fs_frag > MAXFRAG || in remountfs() 928 if (fsp->fs_bsize > MAXBSIZE || fsp->fs_frag > MAXFRAG || in mountfs() 1811 sp->f_bfree = (fsblkcnt64_t)fsp->fs_cstotal.cs_nbfree * fsp->fs_frag + in ufs_statvfs() 1855 for (i = 0; i < blk; i += fsp->fs_frag) /* CSTYLED */ in ufs_statvfs() 1857 i -= fsp->fs_frag; in ufs_statvfs() 1858 blk = i / fsp->fs_frag; in ufs_statvfs() 1987 for (i = 0; i < blks; i += fs->fs_frag) { in sbupdate() 1989 if (i + fs->fs_frag > blks) in sbupdate()
|
H A D | ufs_trans.c | 384 if (*fragsp > fs->fs_frag) { in ufs_trans_mata_direct() 386 *fragsp -= fs->fs_frag; in ufs_trans_mata_direct()
|
H A D | ufs_lockfs.c | 636 (mfs->fs_frag != dfs->fs_frag) || in ufs_reconcile_fs()
|
/titanic_41/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 1630 sblock.fs_frag = numfrags(&sblock, sblock.fs_bsize); in main() 1631 for (sblock.fs_fragshift = 0, i = sblock.fs_frag; i > 1; i >>= 1) in main() 1633 if (sblock.fs_frag > MAXFRAG) { in main() 1655 roundup(howmany(bbsize + sbsize, sblock.fs_fsize), sblock.fs_frag); in main() 1657 roundup(howmany(sbsize, sblock.fs_fsize), sblock.fs_frag)); in main() 1658 sblock.fs_iblkno = sblock.fs_cblkno + sblock.fs_frag; in main() 1661 howmany(sblock.fs_nsect, NSPF(&sblock)), sblock.fs_frag); in main() 1712 sblock.fs_frag <<= 1; in main() 1714 if (sblock.fs_frag <= MAXFRAG) in main() 1731 sblock.fs_frag >>= 1; in main() [all …]
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | fs.h | 162 int fs_frag; /* number of frags in a block in fs */ member 388 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & (0xff >> (NBBY - (fs)->fs_frag))) 418 ((fsb) & ((fs)->fs_frag - 1)) 420 ((fsb) &~ ((fs)->fs_frag - 1))
|
H A D | ufs2.h | 259 grub_int32_t fs_frag; /* number of frags in a block in fs */ member 403 ((fsb) & ((fs)->fs_frag - 1)) 405 ((fsb) &~ ((fs)->fs_frag - 1))
|
H A D | ufs.h | 77 grub_int32_t fs_frag; /* number of frags in a block in fs */ member
|
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass5.c | 119 j = blknum(fs, (uint64_t)fs->fs_size + fs->fs_frag - 1); in pass5() 237 d += fs->fs_frag, i += fs->fs_frag) { in pass5() 239 for (j = 0; j < fs->fs_frag; j++) { in pass5() 245 if (frags == fs->fs_frag) { in pass5()
|
H A D | inode.c | 270 idesc->id_numfrags = sblock.fs_frag; in ckinode_common() 301 sblock.fs_frag; in ckinode_common() 303 frags = sblock.fs_frag; in ckinode_common() 333 idesc->id_numfrags = sblock.fs_frag; in ckinode_common() 359 sblock.fs_frag); in ckinode_common() 527 sblock.fs_frag); in iblock() 567 sblock.fs_frag); in iblock() 622 if ((cnt > sblock.fs_frag) || in chkrange() 623 ((fragnum(&sblock, blk) + cnt) > sblock.fs_frag)) { in chkrange()
|
H A D | main.c | 547 blks = maxfsblock - (n_ffree + sblock.fs_frag * n_bfree) - blks; in checkfilesys() 567 (longlong_t)n_ffree + sblock.fs_frag * n_bfree, in checkfilesys() 575 (longlong_t)n_ffree + sblock.fs_frag * n_bfree); in checkfilesys()
|
H A D | pass1b.c | 89 lbn = idesc->id_lbn * sblock.fs_frag + nfrags; in pass1bcheck()
|
H A D | pass4.c | 193 idesc->id_lbn * sblock.fs_frag + fragnum, in pass4check()
|
H A D | pass1.c | 645 fragno, idesc->id_lbn * sblock.fs_frag); in pass1check() 705 lbn = idesc->id_lbn * sblock.fs_frag + nfrags; in pass1check()
|
H A D | utilities.c | 374 fsbtodb(&sblock, sblock.fs_csaddr + j * sblock.fs_frag), in flush() 563 if (wantedfrags <= 0 || wantedfrags > sblock.fs_frag) { in allocblk() 567 wantedfrags, sblock.fs_frag); in allocblk() 577 for (block = 0; block < maxfsblock - sblock.fs_frag; in allocblk() 578 block += sblock.fs_frag) { in allocblk() 579 for (leadfrag = 0; leadfrag <= sblock.fs_frag - wantedfrags; in allocblk() 2236 for (j = 0; j < sblock.fs_frag; ++j, ++fno) in examinelog()
|
H A D | dir.c | 906 if ((newblk[0] = allocblk(sblock.fs_frag)) == 0) { in expanddir() 911 if ((newblk[1] = allocblk(sblock.fs_frag)) == 0) { in expanddir() 1050 freeblk(ino, newblk[f], sblock.fs_frag); in expanddir()
|
H A D | setup.c | 808 fsbtodb(&sblock, sblock.fs_csaddr + j * sblock.fs_frag), in getsummaryinfo() 1109 if (sblock.fs_bsize != (sblock.fs_frag * sblock.fs_fsize)) { in checksb()
|
/titanic_41/usr/src/cmd/fs.d/ufs/labelit/ |
H A D | labelit.c | 207 for (i = 0; i < blk; i += sblock.fs_frag) in label() 209 i -= sblock.fs_frag; in label() 210 blk = i / sblock.fs_frag; in label()
|
/titanic_41/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 241 ADD_INT32(h, "frag", fsp->fs_frag); in get_attr() 260 ADD_INT32(h, "bpg", fsp->fs_fpg / fsp->fs_frag); in get_attr() 326 fsp->fs_frag, fsp->fs_fragshift, fsp->fs_fsbtodb); in dumpfs() 338 fsp->fs_cpg, fsp->fs_fpg / fsp->fs_frag, fsp->fs_fpg, fsp->fs_ipg); in dumpfs() 398 fsp, (fsp->fs_csaddr + j * fsp->fs_frag)) * DEV_BSIZE; in dumpfs() 568 for (i = 1, j = 0; i < fsp->fs_frag; i++) { in dumpcg() 602 for (i = 1, j = 0; i < fsp->fs_frag; i++) { in dumpcg()
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | ufs_fs.h | 253 int32_t fs_frag; /* number of frags in a block in fs */ member 600 (0xff >> (NBBY - (fs)->fs_frag))) 684 ((fsb) & ((fs)->fs_frag - 1)) 687 ((fsb) &~ ((fs)->fs_frag - 1))
|
H A D | ufs_inode.h | 811 (((bn) < 0) && ((bn) % ip->i_fs->fs_frag == 0) && \
|
/titanic_41/usr/src/cmd/fs.d/ufs/volcopy/ |
H A D | volcopy.c | 1691 for (i = 0; i < blk; i += sb->fs_frag) in getfslabel() 1693 i -= sb->fs_frag; in getfslabel() 1694 blk = i / sb->fs_frag; in getfslabel()
|
/titanic_41/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 321 frags = blks * sblock.fs_frag + in qacct()
|