Lines Matching refs:sblock
211 printf("** Last Mounted on %s\n", sblock.fs_fsmnt); in checkfilesys()
259 n_ffree = sblock.fs_cstotal.cs_nffree; in checkfilesys()
260 n_bfree = sblock.fs_cstotal.cs_nbfree; in checkfilesys()
262 n_files, n_blks, n_ffree + sblock.fs_frag * n_bfree); in checkfilesys()
264 n_ffree, n_bfree, (n_ffree * 100) / sblock.fs_dsize, in checkfilesys()
265 ((n_ffree * 1000 + sblock.fs_dsize / 2) / sblock.fs_dsize) % 10); in checkfilesys()
267 (n_files -= maxino - ROOTINO - sblock.fs_cstotal.cs_nifree)) in checkfilesys()
270 n_blks += sblock.fs_ncg * in checkfilesys()
271 (cgdmin(&sblock, 0) - cgsblock(&sblock, 0)); in checkfilesys()
272 n_blks += cgsblock(&sblock, 0) - cgbase(&sblock, 0); in checkfilesys()
273 n_blks += howmany(sblock.fs_cssize, sblock.fs_fsize); in checkfilesys()
274 if (n_blks -= maxfsblock - (n_ffree + sblock.fs_frag * n_bfree)) in checkfilesys()
294 sblock.fs_time = time(NULL); in checkfilesys()
301 for (cylno = 0; cylno < sblock.fs_ncg; cylno++) in checkfilesys()
302 bwrite(fswritefd, (char *)&sblock, in checkfilesys()
303 fsbtodb(&sblock, cgsblock(&sblock, cylno)), SBSIZE); in checkfilesys()
316 free(sblock.fs_csp); in checkfilesys()