read 95 bsp/drv/dev/base/cons.c return consdev->devops->read(dev, buf, nbyte, blkno); read 300 bsp/drv/dev/block/fdd.c int read; read 309 bsp/drv/dev/block/fdd.c read = (irp->cmd == IO_READ) ? 1 : 0; read 312 bsp/drv/dev/block/fdd.c head, track, sect, io_size, read)); read 316 bsp/drv/dev/block/fdd.c dma_setup(sc->dma, irp->buf, io_size, read); read 319 bsp/drv/dev/block/fdd.c fdc_out(read ? CMD_READ : CMD_WRITE); read 209 bsp/drv/dev/dma/i8237.c mode = read ? 0x44U : 0x48U; read 56 include/sys/device.h int (*read) (device_t, char *, size_t *, int); read 380 sys/kern/device.c ASSERT(ops->read != NULL); read 381 sys/kern/device.c error = (*ops->read)(dev, buf, &count, blkno); read 104 usr/bin/cat/cat.c while ((nr = read(rfd, stdbuf, BUFSIZ)) > 0) read 159 usr/bin/cp/cp.c while ((n = read(fold, iobuf, BUFSIZ)) > 0) { read 93 usr/bin/more/more.c read(2, &c, 1); read 416 usr/bin/sh/sh.c cnt = read(fd, p, 1); read 48 usr/lib/libc/stdio/stdio.c return (read(fp->_file, buf, n)); read 130 usr/sample/tetris/input.c if (rwait(&tv) && read(0, &c, 1) != 1) read 145 usr/sample/tetris/input.c } while (rwait(&tv) && read(0, &c, 1) == 1); read 173 usr/sample/tetris/input.c if (read(0, &c, 1) != 1) read 137 usr/sbin/install/install.c while ((n = read(fold, iobuf, BUFSIZ)) > 0) { read 254 usr/server/boot/boot.c while ((n = read(fold, iobuf, BUFSIZ)) > 0) { read 88 usr/server/exec/exec_elf.c if (read(fd, mapped, phdr->p_filesz) < 0) read 216 usr/server/exec/exec_elf.c if (read(fd, buf, shdr_size) < 0) { read 288 usr/server/exec/exec_elf.c if (read(fd, addr, shdr->sh_size) < 0) { read 467 usr/server/exec/exec_execve.c if (read(fd, hdrbuf, HEADER_SIZE) == -1) { read 72 usr/test/fifo/fifo.c len = read(fd1, buf1, sizeof(buf1) - 1); read 78 usr/test/fileio/fileio.c while ((rd = read(fd, iobuf, IOBUFSZ)) > 0) read 124 usr/test/fileio/fileio.c while ((rd = read(fd, iobuf, IOBUFSZ)) > 0) read 58 usr/test/pipe/pipe.c read(fd[0], buf, sizeof(buf)); read 82 usr/test/pipe/pipe.c read(fd[0], buf, 256);