write 191 kernel/console.c devsw[CONSOLE].write = consolewrite; write 145 kernel/file.c if(f->major < 0 || f->major >= NDEV || !devsw[f->major].write) write 147 kernel/file.c ret = devsw[f->major].write(1, addr, n); write 35 kernel/file.h int (*write)(int, uint64, int); write 216 kernel/virtio_disk.c virtio_disk_rw(struct buf *b, int write) write 240 kernel/virtio_disk.c if(write) write 254 kernel/virtio_disk.c if(write) write 182 mkfs/mkfs.c if(write(fsfd, buf, BSIZE) != BSIZE) write 13 user/cat.c if (write(1, buf, n) != n) { write 11 user/echo.c write(1, argv[i], strlen(argv[i])); write 13 user/echo.c write(1, " ", 1); write 15 user/echo.c write(1, "\n", 1); write 13 user/forktest.c write(1, s, strlen(s)); write 26 user/grep.c write(1, p, q+1 - p); write 68 user/grind.c write(1, which_child?"B":"A", 1); write 90 user/grind.c write(fd, buf, sizeof(buf)); write 167 user/grind.c if(write(fds[1], "x", 1) != 1) write 204 user/grind.c if(write(fd1, "x", 1) != 1){ write 12 user/printf.c write(fd, &c, 1); write 137 user/sh.c write(2, "$ ", 2); write 36 user/stressfs.c write(fd, data, sizeof(data)); write 8 user/user.h int write(int, const void*, int); write 46 user/usertests.c int n = write(fd, (void*)addr, 8192); write 54 user/usertests.c n = write(1, (char*)addr, 8192); write 65 user/usertests.c n = write(fds[1], (char*)addr, 8192); write 103 user/usertests.c n = write(fds[1], "x", 1); write 268 user/usertests.c n = write(fd, (void*)(a+4096), 1024); write 299 user/usertests.c write(fd1, "abcd", 4); write 326 user/usertests.c write(fd1, "abcdef", 6); write 357 user/usertests.c write(fd1, "abcd", 4); write 361 user/usertests.c int n = write(fd1, "x", 1); write 393 user/usertests.c int n = write(fd, "1234567890", 10); write 412 user/usertests.c int n = write(fd, "xxx", 3); write 553 user/usertests.c if(write(fd, "aaaaaaaaaa", SZ) != SZ){ write 557 user/usertests.c if(write(fd, "bbbbbbbbbb", SZ) != SZ){ write 594 user/usertests.c if(write(fd, buf, BSIZE) != BSIZE){ write 756 user/usertests.c if(write(fds[1], buf, SZ) != SZ){ write 854 user/usertests.c if(write(pfds[1], "x", 1) != 1) write 1112 user/usertests.c if(write(fd, buf, sizeof(buf)) != sizeof(buf)){ write 1180 user/usertests.c if((n = write(fd, buf, SZ)) != SZ){ write 1302 user/usertests.c write(fd, "hello", SZ); write 1316 user/usertests.c write(fd1, "yyy", 3); write 1327 user/usertests.c if(write(fd, buf, 10) != 10){ write 1349 user/usertests.c if(write(fd, "hello", SZ) != SZ){ write 1541 user/usertests.c write(fd, "ff", 2); write 1559 user/usertests.c write(fd, "FF", 2); write 1719 user/usertests.c int cc = write(fd, buf, sz); write 1745 user/usertests.c if(write(fd, buf, SZ) != SZ){ write 1915 user/usertests.c if(write(fd, "x", 1) > 0){ write 2192 user/usertests.c write(fds[1], "x", 1); write 2255 user/usertests.c if ((n = write(fd, a, PGSIZE)) < 0) { write 2367 user/usertests.c int cc = write(fd, buf, BSIZE); write 2552 user/usertests.c write(fd, p, 1); write 2732 user/usertests.c int cc = write(fd, buf, sz); write 2773 user/usertests.c write(fd, (char*)0xffffffffffL, 1); write 2783 user/usertests.c if(write(fd, "x", 1) != 1){ write 2856 user/usertests.c if(write(fd, buf, BSIZE) != BSIZE){ write 3034 user/usertests.c if(write(fds[1], "x", 1) != 1){