blkno 90 bsp/drv/dev/base/cons.c cons_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 95 bsp/drv/dev/base/cons.c return consdev->devops->read(dev, buf, nbyte, blkno); blkno 99 bsp/drv/dev/base/cons.c cons_write(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 104 bsp/drv/dev/base/cons.c return consdev->devops->write(dev, buf, nbyte, blkno); blkno 117 bsp/drv/dev/base/wscons.c wscons_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 125 bsp/drv/dev/base/wscons.c wscons_write(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 276 bsp/drv/dev/block/fdd.c head = (irp->blkno % (FDG_SECTORS * FDG_HEADS)) / FDG_SECTORS; blkno 277 bsp/drv/dev/block/fdd.c track = irp->blkno / (FDG_SECTORS * FDG_HEADS); blkno 305 bsp/drv/dev/block/fdd.c head = (irp->blkno % (FDG_SECTORS * FDG_HEADS)) / FDG_SECTORS; blkno 306 bsp/drv/dev/block/fdd.c track = irp->blkno / (FDG_SECTORS * FDG_HEADS); blkno 307 bsp/drv/dev/block/fdd.c sect = irp->blkno % FDG_SECTORS + 1; blkno 518 bsp/drv/dev/block/fdd.c fdd_rw(struct fdd_softc *sc, int cmd, char *buf, u_long blksz, int blkno) blkno 524 bsp/drv/dev/block/fdd.c cmd, buf, blksz, blkno)); blkno 528 bsp/drv/dev/block/fdd.c irp->blkno = blkno; blkno 558 bsp/drv/dev/block/fdd.c fdd_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 565 bsp/drv/dev/block/fdd.c DPRINTF(("fdd_read: buf=%x nbyte=%d blkno=%x\n", buf, *nbyte, blkno)); blkno 568 bsp/drv/dev/block/fdd.c if (blkno > FDG_HEADS * FDG_TRACKS * FDG_SECTORS) blkno 579 bsp/drv/dev/block/fdd.c track = blkno / FDG_SECTORS; blkno 580 bsp/drv/dev/block/fdd.c sect = blkno % FDG_SECTORS; blkno 597 bsp/drv/dev/block/fdd.c blkno++; blkno 614 bsp/drv/dev/block/fdd.c fdd_write(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 621 bsp/drv/dev/block/fdd.c DPRINTF(("fdd_write: buf=%x nbyte=%d blkno=%x\n", buf, *nbyte, blkno)); blkno 624 bsp/drv/dev/block/fdd.c if (blkno > FDG_HEADS * FDG_TRACKS * FDG_SECTORS) blkno 635 bsp/drv/dev/block/fdd.c track = blkno / FDG_SECTORS; blkno 636 bsp/drv/dev/block/fdd.c sect = blkno % FDG_SECTORS; blkno 648 bsp/drv/dev/block/fdd.c error = fdd_rw(sc, IO_WRITE, wbuf, 1, blkno); blkno 653 bsp/drv/dev/block/fdd.c blkno++; blkno 78 bsp/drv/dev/block/ramdisk.c ramdisk_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 81 bsp/drv/dev/block/ramdisk.c int offset = blkno * BSIZE; blkno 86 bsp/drv/dev/block/ramdisk.c buf, *nbyte, blkno)); blkno 109 bsp/drv/dev/block/ramdisk.c ramdisk_write(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 112 bsp/drv/dev/block/ramdisk.c int offset = blkno * BSIZE; blkno 117 bsp/drv/dev/block/ramdisk.c buf, *nbyte, blkno)); blkno 194 bsp/drv/dev/input/psaux.c psaux_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 63 bsp/drv/dev/misc/null.c null_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 74 bsp/drv/dev/misc/null.c null_write(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 59 bsp/drv/dev/misc/random.c random_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 63 bsp/drv/dev/misc/zero.c zero_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 79 bsp/drv/dev/misc/zero.c zero_write(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 95 bsp/drv/dev/serial/serial.c serial_read(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 103 bsp/drv/dev/serial/serial.c serial_write(device_t dev, char *buf, size_t *nbyte, int blkno) blkno 57 bsp/drv/include/ddi.h int blkno; /* block number */ blkno 128 include/sys/prex.h int device_read(device_t dev, void *buf, size_t *nbyte, int blkno); blkno 129 include/sys/prex.h int device_write(device_t dev, void *buf, size_t *nbyte, int blkno); blkno 362 sys/kern/device.c device_read(device_t dev, void *buf, size_t *nbyte, int blkno) blkno 381 sys/kern/device.c error = (*ops->read)(dev, buf, &count, blkno); blkno 395 sys/kern/device.c device_write(device_t dev, void *buf, size_t *nbyte, int blkno) blkno 414 sys/kern/device.c error = (*ops->write)(dev, buf, &count, blkno); blkno 118 usr/server/fs/arfs/arfs_vnops.c arfs_readblk(mount_t mp, int blkno) blkno 126 usr/server/fs/arfs/arfs_vnops.c if ((error = bread(mp->m_dev, blkno, &bp)) != 0) blkno 131 usr/server/fs/arfs/arfs_vnops.c if ((error = bread(mp->m_dev, blkno + 1, &bp)) != 0) blkno 147 usr/server/fs/arfs/arfs_vnops.c int blkno, error; blkno 161 usr/server/fs/arfs/arfs_vnops.c blkno = 0; blkno 165 usr/server/fs/arfs/arfs_vnops.c if (arfs_readblk(mp, blkno) != 0) blkno 189 usr/server/fs/arfs/arfs_vnops.c blkno = (int)(off / BSIZE); blkno 196 usr/server/fs/arfs/arfs_vnops.c vp->v_blkno = blkno; blkno 209 usr/server/fs/arfs/arfs_vnops.c int blkno, error; blkno 237 usr/server/fs/arfs/arfs_vnops.c blkno = (off + file_pos) / BSIZE; blkno 239 usr/server/fs/arfs/arfs_vnops.c if ((error = bread(mp->m_dev, blkno, &bp)) != 0) blkno 287 usr/server/fs/arfs/arfs_vnops.c int blkno, i, error; blkno 298 usr/server/fs/arfs/arfs_vnops.c blkno = 0; blkno 302 usr/server/fs/arfs/arfs_vnops.c if ((error = arfs_readblk(mp, blkno)) != 0) blkno 320 usr/server/fs/arfs/arfs_vnops.c blkno = off / BSIZE; blkno 134 usr/server/fs/vfs/vfs_bio.c incore(dev_t dev, int blkno) blkno 141 usr/server/fs/vfs/vfs_bio.c if (bp->b_blkno == blkno && bp->b_dev == dev && blkno 157 usr/server/fs/vfs/vfs_bio.c getblk(dev_t dev, int blkno) blkno 161 usr/server/fs/vfs/vfs_bio.c DPRINTF(VFSDB_BIO, ("getblk: dev=%x blkno=%d\n", dev, blkno)); blkno 164 usr/server/fs/vfs/vfs_bio.c bp = incore(dev, blkno); blkno 188 usr/server/fs/vfs/vfs_bio.c bp->b_blkno = blkno; blkno 226 usr/server/fs/vfs/vfs_bio.c bread(dev_t dev, int blkno, struct buf **bpp) blkno 232 usr/server/fs/vfs/vfs_bio.c DPRINTF(VFSDB_BIO, ("bread: dev=%x blkno=%d\n", dev, blkno)); blkno 233 usr/server/fs/vfs/vfs_bio.c bp = getblk(dev, blkno); blkno 237 usr/server/fs/vfs/vfs_bio.c error = device_read((device_t)dev, bp->b_data, &size, blkno);