Home | History | Annotate | Download | only in dump

Lines Matching refs:blks

658 	int i, j, count, blks, tbperdb;
660 blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
662 for (i = 0; i < blks; i += TP_NINDIR) {
663 if (i + TP_NINDIR > blks)
664 count = blks;
690 int i, j, count, blks, tbperdb, added = 0;
693 blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
705 blks -= howmany(ufsib->ufs_fsize, TP_BSIZE) - resid;
709 for (i = 0; i < blks; i += TP_NINDIR) {
710 if (i + TP_NINDIR > blks)
711 count = blks;
721 if (last && count == blks && !writingextdata)
734 if (last && count == blks && !writingextdata) {
754 int i, blks, tbperdb, count, extsize;
770 blks = howmany(UFS_NXADDR * ufsib->ufs_bsize, TP_BSIZE);
772 blks = howmany(extsize, TP_BSIZE);
773 if (count + blks > TP_NINDIR)
781 assert(count + blks < TP_NINDIR);
782 for (i = 0; i < blks; i++)
787 spcl.c_count = iswap32(count + blks);
788 return (blks);
800 int i, frags, blks, tbperdb, last, extsize;
826 blks = howmany(UFS_NXADDR * ufsib->ufs_bsize, TP_BSIZE);
828 blks = howmany(extsize, TP_BSIZE);
830 for (i = 0; i < blks; i += tbperdb) {
833 if (i + tbperdb <= blks)
836 dumpblock(iswap64(*bp), (blks - i) * TP_BSIZE);