read 190 kernel/console.c devsw[CONSOLE].read = consoleread; read 117 kernel/file.c if(f->major < 0 || f->major >= NDEV || !devsw[f->major].read) read 119 kernel/file.c r = devsw[f->major].read(1, addr, n); read 34 kernel/file.h int (*read)(int, uint64, int); read 159 mkfs/mkfs.c while((cc = read(fd, buf, sizeof(buf))) > 0) read 218 mkfs/mkfs.c if(read(fsfd, buf, BSIZE) != BSIZE) read 12 user/cat.c while((n = read(fd, buf, sizeof(buf))) > 0) { read 18 user/grep.c while((n = read(fd, buf+m, sizeof(buf)-m-1)) > 0){ read 92 user/grind.c read(fd, buf, sizeof(buf)); read 170 user/grind.c if(read(fds[0], &c, 1) != 1) read 281 user/grind.c read(bb[0], buf+0, 1); read 282 user/grind.c read(bb[0], buf+1, 1); read 283 user/grind.c read(bb[0], buf+2, 1); read 59 user/ls.c while(read(fd, &de, sizeof(de)) == sizeof(de)){ read 43 user/stressfs.c read(fd, data, sizeof(data)); read 73 user/ulib.c cc = read(0, &c, 1); read 9 user/user.h int read(int, void*, int); read 91 user/usertests.c int n = read(fd, (void*)addr, 8192); read 108 user/usertests.c n = read(fds[0], (void*)addr, 8192); read 281 user/usertests.c n = read(fd, (void*)(a+4096), 10); read 303 user/usertests.c int n = read(fd2, buf, sizeof(buf)); read 312 user/usertests.c n = read(fd3, buf, sizeof(buf)); read 319 user/usertests.c n = read(fd2, buf, sizeof(buf)); read 328 user/usertests.c n = read(fd3, buf, sizeof(buf)); read 334 user/usertests.c n = read(fd2, buf, sizeof(buf)); read 400 user/usertests.c read(fd, buf, sizeof(buf)); read 568 user/usertests.c i = read(fd, buf, N*SZ*2); read 610 user/usertests.c i = read(fd, buf, BSIZE); read 722 user/usertests.c if (read(fd, buf, 2) != 2) { read 766 user/usertests.c while((n = read(fds[0], buf, cc)) > 0){ read 862 user/usertests.c if(read(pfds[0], buf, sizeof(buf)) != 1){ read 1133 user/usertests.c while((n = read(fd, buf, sizeof(buf))) > 0){ read 1200 user/usertests.c while((n = read(fd, buf, sizeof(buf))) > 0){ read 1319 user/usertests.c if(read(fd, buf, sizeof(buf)) != SZ){ read 1371 user/usertests.c if(read(fd, buf, sizeof(buf)) != SZ){ read 1438 user/usertests.c while(read(fd, &de, sizeof(de)) > 0){ read 1567 user/usertests.c cc = read(fd, buf, sizeof(buf)); read 1610 user/usertests.c if(read(fd, buf, sizeof(buf)) != 2){ read 1759 user/usertests.c cc = read(fd, buf, SZ/2); read 2197 user/usertests.c read(fds[0], &scratch, 1); read 2402 user/usertests.c read(fd, sbrk(0) - 1, -1); read 2556 user/usertests.c read(fd, p, 1); read 3048 user/usertests.c int cc = read(fds[0], &c, 1); read 16 user/wc.c while((n = read(fd, buf, sizeof(buf))) > 0){