Home
last modified time | relevance | path

Searched refs:numfrags (Results 1 – 19 of 19) sorted by relevance

/freebsd/tools/diag/prtblknos/
H A Dprtblknos.c228 printblk(struct fs *fs, ufs_lbn_t lbn, ufs2_daddr_t blkno, int numfrags, argument
237 seq = howmany(numfrags, fs->fs_frag);
238 totfrags = numfrags;
243 seq = howmany(numfrags, fs->fs_frag);
244 totfrags = numfrags;
254 seq += howmany(numfrags, fs->fs_frag);
255 totfrags += numfrags;
292 totfrags = numfrags;
300 (intmax_t)blkno, (intmax_t)(blkno + numfrags - 1),
302 lastindirblk = blkno + numfrags - 1;
/freebsd/sys/ufs/ffs/
H A Dffs_alloc.c1715 frags = numfrags(fs, nsize); in ffs_fragextend()
1728 for (i = numfrags(fs, osize); i < frags; i++) in ffs_fragextend()
1740 cgp->cg_frsum[i - numfrags(fs, osize)]--; in ffs_fragextend()
1756 frags, numfrags(fs, osize)); in ffs_fragextend()
1813 frags = numfrags(fs, size); in ffs_alloccg()
1926 size = numfrags(fs, size); in ffs_alloccgblk()
2318 numfrags(fs, size), dephd, true); in ffs_blkfree_cg()
2355 frags = numfrags(fs, size); in ffs_blkfree_cg()
2393 numfrags(fs, size), dephd, false); in ffs_blkfree_cg()
2739 if (bno + numfrags(fs, size) == tp->bno) { in ffs_blkfree()
[all …]
H A Dfs.h707 #define numfrags(fs, loc) /* calculates (loc / fs->fs_fsize) */ \ macro
H A Dffs_inode.c639 bn += numfrags(fs, newspace); in ffs_truncate()
H A Dffs_subr.c491 FCHK(fs->fs_frag, !=, numfrags(fs, fs->fs_bsize), %jd); in validate_sblock()
H A Dffs_softdep.c5789 jfreefrag->fr_frags = numfrags(fs, size); in newjfreefrag()
5813 if (fragnum(fs, blkno) + numfrags(fs, size) > fs->fs_frag) in newfreefrag()
6357 frags = numfrags(ump->um_fs, frags); in setup_freedirect()
6378 frags = numfrags(ump->um_fs, frags); in setup_freeext()
6843 oldfrags = numfrags(fs, oldfrags); in softdep_journal_freeblocks()
6844 blkno += numfrags(fs, frags); in softdep_journal_freeblocks()
6849 numfrags(fs, frags)); in softdep_journal_freeblocks()
H A Dffs_vfsops.c247 end_daddr = daddr + numfrags(fs, blksize); in ffs_check_blkno()
/freebsd/contrib/ntp/ntpq/
H A Dntpq.c940 size_t numfrags; in getresponse() local
968 numfrags = 0; in getresponse()
981 if (numfrags == 0) in getresponse()
1025 if (numfrags == 0) { in getresponse()
1039 for (f = 0; f < numfrags; f++) in getresponse()
1230 if (numfrags > (MAXFRAGS - 1)) { in getresponse()
1264 for (ff = numfrags; ff > f; ff--) { in getresponse()
1270 numfrags++; in getresponse()
1298 for (f = 1; f < numfrags; f++) in getresponse()
1302 if (f == numfrags) { in getresponse()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dfs.h140 #define numfrags(fs, loc) /* calculates (loc / fs->fs_fsize) */ \ macro
H A Dext2_inode.c432 bn += numfrags(fs, newspace); in ext2_ind_truncate()
/freebsd/usr.sbin/makefs/ffs/
H A Dffs_alloc.c321 frags = numfrags(fs, size); in ffs_alloccg()
433 fragnum(fs, bno) + numfrags(fs, size) > fs->fs_frag) { in ffs_blkfree()
475 frags = numfrags(fs, size); in ffs_blkfree()
H A Dmkfs.c261 sblock.fs_frag = numfrags(&sblock, sblock.fs_bsize); in ffs_mkfs()
347 fragsperinode = MAX(numfrags(&sblock, density), 1); in ffs_mkfs()
/freebsd/sbin/fsck_ffs/
H A Dinode.c94 numfrags(&sblock, fragroundup(&sblock, offset)); in ckinode()
276 *frags = numfrags(&sblock, in ino_blkatoff()
287 *frags = numfrags(&sblock, in ino_blkatoff()
1047 idesc.id_numfrags = numfrags(&sblock, in check_blkcnt()
H A Dsuj.c786 frags = numfrags(fs, frags); in ino_visit()
799 frags = numfrags(fs, frags); in ino_visit()
1330 blk_free(ino, bn, 0, numfrags(fs, blksize)); in ino_trunc()
1377 bn += numfrags(fs, newspace); in ino_trunc()
1378 frags = numfrags(fs, oldspace - newspace); in ino_trunc()
2465 if (blocks != numfrags(fs, DIP(jip, di_size))) { in suj_check()
H A Dpass1.c410 idesc->id_numfrags = numfrags(&sblock, in checkinode()
H A Ddir.c835 idesc.id_numfrags = numfrags(&sblock, lastlbnsize); in expanddir()
/freebsd/lib/libufs/
H A Dcgroup.c108 frags = numfrags(fs, size); in cgbfree()
/freebsd/sbin/ffsinfo/
H A Dffsinfo.c247 sblock.fs_csaddr + numfrags(&sblock, i)), in main()
/freebsd/sbin/newfs/
H A Dmkfs.c264 sblock.fs_frag = numfrags(&sblock, sblock.fs_bsize); in mkfs()
357 fragsperinode = MAX(numfrags(&sblock, density), 1); in mkfs()