Home
last modified time | relevance | path

Searched refs:fs_fsize (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c531 (fsblkcnt64_t)sblock.fs_fsize)); in dfreedev()
534 dbtok(totalblks, (fsblkcnt64_t)sblock.fs_fsize), in dfreedev()
535 dbtok(used, (fsblkcnt64_t)sblock.fs_fsize), in dfreedev()
536 dbtok(avail, (fsblkcnt64_t)sblock.fs_fsize)); in dfreedev()
544 (fsblkcnt64_t)sblock.fs_fsize); in dfreedev()
545 t_used += dbtok(used, (fsblkcnt64_t)sblock.fs_fsize); in dfreedev()
546 t_avail += dbtok(avail, (fsblkcnt64_t)sblock.fs_fsize); in dfreedev()
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c1574 sblock.fs_fsize = fragsize; in main()
1578 if (nbpi < sblock.fs_fsize) { in main()
1583 nbpi, sblock.fs_fsize); in main()
1594 sblock.fs_fmask = ~(sblock.fs_fsize - 1); in main()
1612 for (sblock.fs_fshift = 0, i = sblock.fs_fsize; i > 1; i >>= 1) in main()
1620 sblock.fs_fsize, sblock.fs_bsize, in main()
1626 sblock.fs_nspf = sblock.fs_fsize / sectorsize; in main()
1639 roundup(howmany(bbsize + sbsize, sblock.fs_fsize), sblock.fs_frag); in main()
1641 roundup(howmany(sbsize, sblock.fs_fsize), sblock.fs_frag)); in main()
1706 if (sblock.fs_fsize == sblock.fs_bsize) { in main()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddup_avl.c267 (longlong_t)first_lfn * sblock.fs_fsize, first_pfn); in report_dup_lfn_pfn()
272 (longlong_t)first_lfn * sblock.fs_fsize, in report_dup_lfn_pfn()
273 (longlong_t)last_lfn * sblock.fs_fsize, in report_dup_lfn_pfn()
H A Ddir.c116 blksiz = idesc->id_numfrags * sblock.fs_fsize; in dirscan()
168 blksiz = idesc->id_numfrags * sblock.fs_fsize; in fsck_readdir()
999 frag2blks = roundup(lffragsz, sblock.fs_fsize); in expanddir()
1001 frag2blks / sblock.fs_fsize); in expanddir()
1139 bp = getdirblk(dp->di_db[0], (size_t)sblock.fs_fsize); in allocdir()
1147 cp < &bp->b_un.b_buf[sblock.fs_fsize]; in allocdir()
H A Dpass1.c77 cgd += howmany(sblock.fs_cssize, sblock.fs_fsize); in pass1()
179 truncino(inumber, sblock.fs_fsize, TI_NOPARENT); in verify_inode()
738 idesc->id_entryno += btodb(sblock.fs_fsize); in pass1check()
H A Dinode.c306 frags = howmany((int)dp->di_size, sblock.fs_fsize) % in ckinode_common()
1239 dp->di_size = (u_offset_t)sblock.fs_fsize; in allocino()
1240 dp->di_blocks = btodb(sblock.fs_fsize); in allocino()
H A Dmain.c581 blks += howmany(sblock.fs_cssize, sblock.fs_fsize); in checkfilesys()
H A Dpass3b.c244 bsize = size = sblock.fs_fsize * idesc->id_numfrags; in pass3bcheck()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_snap.c173 if ((chunksize < fs->fs_fsize) || (chunksize % fs->fs_fsize != 0)) { in ufs_snap_create()
H A Dufs_subr.c799 sum = howmany(ip->i_fs->fs_cssize, ip->i_fs->fs_fsize); in ufs_badblock()
1325 frags = howmany(fs->fs_cssize, fs->fs_fsize); in ufs_getsummaryinfo()
1353 size = (frags - i) * fs->fs_fsize; in ufs_getsummaryinfo()
1409 frags = howmany(fs->fs_cssize, fs->fs_fsize); in ufs_putsummaryinfo()
1419 size = (frags - i) * fs->fs_fsize; in ufs_putsummaryinfo()
H A Dufs_bmap.c428 (void) ufs_fbiwrite(fbp, ip, nb, fs->fs_fsize); in bmap_write()
573 (void) ufs_fbiwrite(fbp, ip, nb, fs->fs_fsize); in bmap_write()
838 fs->fs_fsize); in bmap_write()
H A Dufs_vfsops.c957 ufsvfsp->vfs_dirsize = INODESIZE + (4 * ALLOCSIZE) + fsp->fs_fsize; in mountfs()
1812 sp->f_frsize = fsp->fs_fsize; in ufs_statvfs()
1988 blks = howmany(fs->fs_cssize, fs->fs_fsize); in sbupdate()
1993 size = (blks - i) * fs->fs_fsize; in sbupdate()
H A Dufs_dir.c1977 if (DIRBLKSIZ > dp->i_fs->fs_fsize) { in dirprepareentry()
1981 DIRBLKSIZ, dp->i_fs->fs_fsize, dp->i_fs->fs_fsmnt); in dirprepareentry()
2330 if (DIRBLKSIZ > dp->i_fs->fs_fsize) { in ufs_dirmakedirect()
2333 DIRBLKSIZ, dp->i_fs->fs_fsize, in ufs_dirmakedirect()
2363 err = fbread(ITOV(ip), (offset_t)0, (uint_t)ip->i_fs->fs_fsize, in ufs_dirmakedirect()
H A Dufs_extvnops.c487 *len = (size_t)(roundup(offset + *len, fs->fs_fsize) - offset); in ufs_alloc_data()
H A Dufs_lockfs.c635 (mfs->fs_fsize != dfs->fs_fsize) || in ufs_reconcile_fs()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfs.h161 int fs_fsize; /* size of frag blocks in fs */ member
412 (((size) + (fs)->fs_fsize - 1) & (fs)->fs_fmask)
H A Dufs.h76 grub_int32_t fs_fsize; /* size of frag blocks in fs */ member
H A Dufs2.h258 grub_int32_t fs_fsize; /* size of frag blocks in fs */ member
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h274 int32_t fs_fsize; /* size of frag blocks in fs */ member
588 (((size) + (fs)->fs_fsize - 1) & (fs)->fs_fmask)
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h250 int32_t fs_fsize; /* size of frag blocks in fs */ member
669 (((size) + (fs)->fs_fsize - 1) & (offset_t)(fs)->fs_fmask)
H A Dufs_trans.h433 #define FRAGSIZE(IP) ((IP)->i_fs->fs_fsize + HEADERSIZE)
438 (IP)->i_fs->fs_fsize + HEADERSIZE)
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c244 (offset_t)cgsblock(&sblock, i) * sblock.fs_fsize; in label()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptraverse.c529 byteoff = bytecnt % (off_t)(sblock->fs_fsize); in lf_blksout()
534 fragoff = bytecnt / (off_t)(sblock->fs_fsize); in lf_blksout()
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c236 ADD_INT32(h, "fsize", fsp->fs_fsize); in get_attr()
322 fsp->fs_fsize, fsp->fs_fshift, fsp->fs_fmask); in dumpfs()
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c327 size = (long)((offset_t)frags * (offset_t)sblock.fs_fsize / 1024); in qacct()

12