Home | History | Annotate | Download | only in ffs

Lines Matching defs:frags

304 	int error, frags, allocsiz, i;
331 frags = ffs_numfrags(fs, size);
332 for (allocsiz = frags; allocsiz < fs->fs_frag; allocsiz++)
346 for (i = frags; i < fs->fs_frag; i++)
348 i = fs->fs_frag - frags;
358 for (i = 0; i < frags; i++)
360 ufs_add32(cgp->cg_cs.cs_nffree, -frags, needswap);
361 fs->fs_cstotal.cs_nffree -= frags;
362 fs->fs_cs(fs, cg).cs_nffree -= frags;
365 if (frags != allocsiz)
366 ufs_add32(cgp->cg_frsum[allocsiz - frags], 1, needswap);
438 int i, error, cg, blk, frags, bbase;
478 * decrement the counts associated with the old frags
485 frags = ffs_numfrags(fs, size);
486 for (i = 0; i < frags; i++) {
498 * add back in counts associated with the new frags