nbyte 90 bsp/drv/dev/base/cons.c cons_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 95 bsp/drv/dev/base/cons.c return consdev->devops->read(dev, buf, nbyte, blkno); nbyte 99 bsp/drv/dev/base/cons.c cons_write(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 104 bsp/drv/dev/base/cons.c return consdev->devops->write(dev, buf, nbyte, blkno); nbyte 453 bsp/drv/dev/base/tty.c tty_read(struct tty *tp, char *buf, size_t *nbyte) nbyte 476 bsp/drv/dev/base/tty.c while (count < *nbyte) { nbyte 489 bsp/drv/dev/base/tty.c *nbyte = count; nbyte 497 bsp/drv/dev/base/tty.c tty_write(struct tty *tp, char *buf, size_t *nbyte) nbyte 504 bsp/drv/dev/base/tty.c remain = *nbyte; nbyte 522 bsp/drv/dev/base/tty.c *nbyte = count; nbyte 117 bsp/drv/dev/base/wscons.c wscons_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 121 bsp/drv/dev/base/wscons.c return tty_read(tty, buf, nbyte); nbyte 125 bsp/drv/dev/base/wscons.c wscons_write(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 129 bsp/drv/dev/base/wscons.c return tty_write(tty, buf, nbyte); nbyte 558 bsp/drv/dev/block/fdd.c fdd_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 565 bsp/drv/dev/block/fdd.c DPRINTF(("fdd_read: buf=%x nbyte=%d blkno=%x\n", buf, *nbyte, blkno)); nbyte 572 bsp/drv/dev/block/fdd.c if ((kbuf = kmem_map(buf, *nbyte)) == NULL) nbyte 575 bsp/drv/dev/block/fdd.c nr_sect = *nbyte / SECTOR_SIZE; nbyte 600 bsp/drv/dev/block/fdd.c *nbyte = i * SECTOR_SIZE; nbyte 614 bsp/drv/dev/block/fdd.c fdd_write(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 621 bsp/drv/dev/block/fdd.c DPRINTF(("fdd_write: buf=%x nbyte=%d blkno=%x\n", buf, *nbyte, blkno)); nbyte 628 bsp/drv/dev/block/fdd.c if ((kbuf = kmem_map(buf, *nbyte)) == NULL) nbyte 631 bsp/drv/dev/block/fdd.c nr_sect = *nbyte / SECTOR_SIZE; nbyte 656 bsp/drv/dev/block/fdd.c *nbyte = i * SECTOR_SIZE; nbyte 78 bsp/drv/dev/block/ramdisk.c ramdisk_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 86 bsp/drv/dev/block/ramdisk.c buf, *nbyte, blkno)); nbyte 93 bsp/drv/dev/block/ramdisk.c nr_read = *nbyte; nbyte 104 bsp/drv/dev/block/ramdisk.c *nbyte = nr_read; nbyte 109 bsp/drv/dev/block/ramdisk.c ramdisk_write(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 117 bsp/drv/dev/block/ramdisk.c buf, *nbyte, blkno)); nbyte 122 bsp/drv/dev/block/ramdisk.c nr_write = *nbyte; nbyte 132 bsp/drv/dev/block/ramdisk.c *nbyte = nr_write; nbyte 194 bsp/drv/dev/input/psaux.c psaux_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 63 bsp/drv/dev/misc/null.c null_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 66 bsp/drv/dev/misc/null.c *nbyte = 0; nbyte 74 bsp/drv/dev/misc/null.c null_write(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 59 bsp/drv/dev/misc/random.c random_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 64 bsp/drv/dev/misc/random.c *nbyte = 0; nbyte 63 bsp/drv/dev/misc/zero.c zero_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 68 bsp/drv/dev/misc/zero.c if ((p = kmem_map(buf, *nbyte)) == NULL) nbyte 71 bsp/drv/dev/misc/zero.c memset(p, 0, *nbyte); nbyte 79 bsp/drv/dev/misc/zero.c zero_write(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 95 bsp/drv/dev/serial/serial.c serial_read(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 99 bsp/drv/dev/serial/serial.c return tty_read(&sc->tty, buf, nbyte); nbyte 103 bsp/drv/dev/serial/serial.c serial_write(device_t dev, char *buf, size_t *nbyte, int blkno) nbyte 107 bsp/drv/dev/serial/serial.c return tty_write(&sc->tty, buf, nbyte); nbyte 128 include/sys/prex.h int device_read(device_t dev, void *buf, size_t *nbyte, int blkno); nbyte 129 include/sys/prex.h int device_write(device_t dev, void *buf, size_t *nbyte, int blkno); nbyte 362 sys/kern/device.c device_read(device_t dev, void *buf, size_t *nbyte, int blkno) nbyte 374 sys/kern/device.c if (copyin(nbyte, &count, sizeof(count))) { nbyte 383 sys/kern/device.c error = copyout(&count, nbyte, sizeof(count)); nbyte 395 sys/kern/device.c device_write(device_t dev, void *buf, size_t *nbyte, int blkno) nbyte 407 sys/kern/device.c if (copyin(nbyte, &count, sizeof(count))) { nbyte 416 sys/kern/device.c error = copyout(&count, nbyte, sizeof(count));