Home | History | Annotate | Download | only in dev

Lines Matching defs:nsectors

163 	int nsectors;		/* number of sectors per track */
230 * read size is (nsectors + 1) * mfm secsize + gap bytes + 2 shorts
231 * write size is nsectors * mfm secsize + gap bytes + 3 shorts
731 sc->nsectors = sc->type->msdos_nsectors;
733 sc->nsectors = sc->type->amiga_nsectors;
746 lp->d_nsectors = sc->nsectors;
792 lp->d_nsectors = sc->nsectors;
1262 trk = bp->b_blkno / sc->nsectors;
1277 if (bp->b_bcount == (sc->nsectors * FDSECSIZE) && write &&
1278 bp->b_blkno % sc->nsectors == 0) {
1317 trk = dp->b_blkno / sc->nsectors;
1319 if (trk != sc->cachetrk + 1 || dp->b_blkno % sc->nsectors != 0)
1330 if (dp->b_bcount == (sc->nsectors * FDSECSIZE) && write) {
1564 data += (dp->b_blkno % sc->nsectors) * FDSECSIZE;
1565 sz = sc->nsectors - dp->b_blkno % sc->nsectors;
1673 sec = bp->b_blkno % sc->nsectors;
1676 tsz = sc->nsectors * FDSECSIZE;
1734 info = 0xff000000 | (sc->cachetrk << 16) | sc->nsectors;
1735 for (sec = 0; sec < sc->nsectors; sec++, info += (1 << 8) - 1) {
1812 for (; cnt < sc->nsectors; cnt++) {
1880 for (sec = 0; sec < sc->nsectors; sec++) {
1959 for (ct = 0; ct < sc->nsectors; ct++) {
1985 tb[2] > sc->nsectors)