Home | History | Annotate | Download | only in ffs

Lines Matching defs:frags

978 	int frags, bbase;
989 frags = ffs_numfrags(fs, nsize);
991 if (bbase > ffs_fragnum(fs, (bprev + frags - 1))) {
1009 for (i = ffs_numfrags(fs, osize); i < frags; i++)
1018 for (i = frags; i < fs->fs_frag - bbase; i++)
1022 if (i != frags)
1023 ufs_add32(cgp->cg_frsum[i - frags], 1, UFS_FSNEEDSWAP(fs));
1025 for (i = ffs_numfrags(fs, osize); i < frags; i++) {
1060 int error, frags, allocsiz, i;
1111 frags = ffs_numfrags(fs, size);
1112 for (allocsiz = frags; allocsiz < fs->fs_frag; allocsiz++)
1125 for (i = frags; i < fs->fs_frag; i++)
1127 i = fs->fs_frag - frags;
1147 for (i = 0; i < frags; i++)
1150 ufs_add32(cgp->cg_cs.cs_nffree, -frags, needswap);
1151 fs->fs_cstotal.cs_nffree -= frags;
1152 fs->fs_cs(fs, cg).cs_nffree -= frags;
1155 if (frags != allocsiz)
1156 ufs_add32(cgp->cg_frsum[allocsiz - frags], 1, needswap);
1461 int i, error, blk, frags, bbase;
1502 frags = ffs_numfrags(fs, size);
1503 for (i = 0; i < frags; i++) {
1524 * decrement the counts associated with the old frags
1531 for (i = 0; i < frags; i++) {
1538 * add back in counts associated with the new frags
1877 int i, blk, frags, bbase;
1921 * decrement the counts associated with the old frags
1928 frags = ffs_numfrags(fs, size);
1929 for (i = 0; i < frags; i++) {
1943 * add back in counts associated with the new frags