Lines Matching defs:SECTOR_SIZE
84 #define SECTOR_SIZE 512 /* physical sector size in bytes */
524 sc->bounceb = alloc_stmem(SECTOR_SIZE, &addr);
603 if (bp->b_blkno < 0 || (bp->b_bcount % SECTOR_SIZE) != 0) {
610 sz = howmany(bp->b_bcount, SECTOR_SIZE);
924 memcpy(sc->bounceb, sc->io_data, SECTOR_SIZE);
1025 memcpy(sc->io_data, sc->bounceb, SECTOR_SIZE);
1029 sc->io_data += SECTOR_SIZE;
1030 sc->io_bytes -= SECTOR_SIZE;
1211 toff = sec * SECTOR_SIZE;
1212 tsz = sc->nsectors * sc->nheads * SECTOR_SIZE;
1296 lp->d_secsize = SECTOR_SIZE;