/freebsd/tools/diag/prtblknos/ |
H A D | prtblknos.c | 228 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 D | ffs_alloc.c | 1715 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 D | fs.h | 707 #define numfrags(fs, loc) /* calculates (loc / fs->fs_fsize) */ \ macro
|
H A D | ffs_inode.c | 639 bn += numfrags(fs, newspace); in ffs_truncate()
|
H A D | ffs_subr.c | 491 FCHK(fs->fs_frag, !=, numfrags(fs, fs->fs_bsize), %jd); in validate_sblock()
|
H A D | ffs_softdep.c | 5789 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 D | ffs_vfsops.c | 247 end_daddr = daddr + numfrags(fs, blksize); in ffs_check_blkno()
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq.c | 940 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 D | fs.h | 140 #define numfrags(fs, loc) /* calculates (loc / fs->fs_fsize) */ \ macro
|
H A D | ext2_inode.c | 432 bn += numfrags(fs, newspace); in ext2_ind_truncate()
|
/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 321 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 D | mkfs.c | 261 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 D | inode.c | 94 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 D | suj.c | 786 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 D | pass1.c | 410 idesc->id_numfrags = numfrags(&sblock, in checkinode()
|
H A D | dir.c | 835 idesc.id_numfrags = numfrags(&sblock, lastlbnsize); in expanddir()
|
/freebsd/lib/libufs/ |
H A D | cgroup.c | 108 frags = numfrags(fs, size); in cgbfree()
|
/freebsd/sbin/ffsinfo/ |
H A D | ffsinfo.c | 247 sblock.fs_csaddr + numfrags(&sblock, i)), in main()
|
/freebsd/sbin/newfs/ |
H A D | mkfs.c | 264 sblock.fs_frag = numfrags(&sblock, sblock.fs_bsize); in mkfs() 357 fragsperinode = MAX(numfrags(&sblock, density), 1); in mkfs()
|