s                  30 kernel/exec.c    char *s, *last;
s                 127 kernel/exec.c    for (last = s = path; *s; s++)
s                 128 kernel/exec.c      if (*s == '/')
s                 129 kernel/exec.c        last = s + 1;
s                 584 kernel/fs.c    namecmp(const char *s, const char *t)
s                 586 kernel/fs.c      return strncmp(s, t, DIRSIZ);
s                 665 kernel/fs.c      char *s;
s                 672 kernel/fs.c      s = path;
s                 675 kernel/fs.c      len = path - s;
s                 677 kernel/fs.c        memmove(name, s, DIRSIZ);
s                 679 kernel/fs.c        memmove(name, s, len);
s                  68 kernel/printk.c   char *s;
s                 115 kernel/printk.c       if ((s = va_arg(ap, char *)) == 0)
s                 116 kernel/printk.c         s = "(null)";
s                 117 kernel/printk.c       for (; *s; s++)
s                 118 kernel/printk.c         consputc(*s);
s                 138 kernel/printk.c panic(char *s)
s                 142 kernel/printk.c   printk("%s\n", s);
s                  33 kernel/string.c   const char *s;
s                  39 kernel/string.c   s = src;
s                  41 kernel/string.c   if (s < d && s + n > d) {
s                  42 kernel/string.c     s += n;
s                  45 kernel/string.c       *--d = *--s;
s                  48 kernel/string.c       *d++ = *s++;
s                  71 kernel/string.c strncpy(char *s, const char *t, int n)
s                  75 kernel/string.c   os = s;
s                  76 kernel/string.c   while (n-- > 0 && (*s++ = *t++) != 0)
s                  79 kernel/string.c     *s++ = 0;
s                  85 kernel/string.c safestrcpy(char *s, const char *t, int n)
s                  89 kernel/string.c   os = s;
s                  92 kernel/string.c   while (--n > 0 && (*s++ = *t++) != 0)
s                  94 kernel/string.c   *s = 0;
s                  99 kernel/string.c strlen(const char *s)
s                 103 kernel/string.c   for (n = 0; s[n]; n++)
s                 303 mkfs/mkfs.c    die(const char *s)
s                 305 mkfs/mkfs.c      perror(s);
s                  15 user/dorphan.c   char *s = argv[0];
s                  18 user/dorphan.c     printf("%s: mkdir dd failed\n", s);
s                  23 user/dorphan.c     printf("%s: chdir dd failed\n", s);
s                  28 user/dorphan.c     printf("%s: unlink failed\n", s);
s                  11 user/forktest.c print(const char *s)
s                  13 user/forktest.c   write(1, s, strlen(s));
s                  16 user/forphan.c   char *s = argv[0];
s                  21 user/forphan.c     printf("%s: open failed\n", s);
s                  25 user/forphan.c     fprintf(2, "%s: cannot stat %s\n", s, "ff");
s                  29 user/forphan.c     printf("%s: unlink failed\n", s);
s                  33 user/forphan.c     printf("%s: open successed\n", s);
s                  55 user/printf.c    char *s;
s                 102 user/printf.c          if ((s = va_arg(ap, char *)) == 0)
s                 103 user/printf.c            s = "(null)";
s                 104 user/printf.c          for (; *s; s++)
s                 105 user/printf.c            putc(fd, *s);
s                 181 user/sh.c      panic(char *s)
s                 183 user/sh.c        fprintf(2, "%s\n", s);
s                 274 user/sh.c        char *s;
s                 277 user/sh.c        s = *ps;
s                 278 user/sh.c        while (s < es && strchr(whitespace, *s))
s                 279 user/sh.c          s++;
s                 281 user/sh.c          *q = s;
s                 282 user/sh.c        ret = *s;
s                 283 user/sh.c        switch (*s) {
s                 292 user/sh.c          s++;
s                 295 user/sh.c          s++;
s                 296 user/sh.c          if (*s == '>') {
s                 298 user/sh.c            s++;
s                 303 user/sh.c          while (s < es && !strchr(whitespace, *s) && !strchr(symbols, *s))
s                 304 user/sh.c            s++;
s                 308 user/sh.c          *eq = s;
s                 310 user/sh.c        while (s < es && strchr(whitespace, *s))
s                 311 user/sh.c          s++;
s                 312 user/sh.c        *ps = s;
s                 319 user/sh.c        char *s;
s                 321 user/sh.c        s = *ps;
s                 322 user/sh.c        while (s < es && strchr(whitespace, *s))
s                 323 user/sh.c          s++;
s                 324 user/sh.c        *ps = s;
s                 325 user/sh.c        return *s && strchr(toks, *s);
s                 334 user/sh.c      parsecmd(char *s)
s                 339 user/sh.c        es = s + strlen(s);
s                 340 user/sh.c        cmd = parseline(&s, es);
s                 341 user/sh.c        peek(&s, es, "");
s                 342 user/sh.c        if (s != es) {
s                 343 user/sh.c          fprintf(2, "leftovers: %s\n", s);
s                  21 user/ulib.c    strcpy(char *s, const char *t)
s                  25 user/ulib.c      os = s;
s                  26 user/ulib.c      while ((*s++ = *t++) != 0)
s                  40 user/ulib.c    strlen(const char *s)
s                  44 user/ulib.c      for (n = 0; s[n]; n++)
s                  61 user/ulib.c    strchr(const char *s, char c)
s                  63 user/ulib.c      for (; *s; s++)
s                  64 user/ulib.c        if (*s == c)
s                  65 user/ulib.c          return (char *)s;
s                 102 user/ulib.c    atoi(const char *s)
s                 107 user/ulib.c      while ('0' <= *s && *s <= '9')
s                 108 user/ulib.c        n = n * 10 + *s++ - '0';
s                  15 user/umalloc.c   } s;
s                  30 user/umalloc.c   for (p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
s                  31 user/umalloc.c     if (p >= p->s.ptr && (bp > p || bp < p->s.ptr))
s                  33 user/umalloc.c   if (bp + bp->s.size == p->s.ptr) {
s                  34 user/umalloc.c     bp->s.size += p->s.ptr->s.size;
s                  35 user/umalloc.c     bp->s.ptr = p->s.ptr->s.ptr;
s                  37 user/umalloc.c     bp->s.ptr = p->s.ptr;
s                  38 user/umalloc.c   if (p + p->s.size == bp) {
s                  39 user/umalloc.c     p->s.size += bp->s.size;
s                  40 user/umalloc.c     p->s.ptr = bp->s.ptr;
s                  42 user/umalloc.c     p->s.ptr = bp;
s                  58 user/umalloc.c   hp->s.size = nu;
s                  71 user/umalloc.c     base.s.ptr = freep = prevp = &base;
s                  72 user/umalloc.c     base.s.size = 0;
s                  74 user/umalloc.c   for (p = prevp->s.ptr;; prevp = p, p = p->s.ptr) {
s                  75 user/umalloc.c     if (p->s.size >= nunits) {
s                  76 user/umalloc.c       if (p->s.size == nunits)
s                  77 user/umalloc.c         prevp->s.ptr = p->s.ptr;
s                  79 user/umalloc.c         p->s.size -= nunits;
s                  80 user/umalloc.c         p += p->s.size;
s                  81 user/umalloc.c         p->s.size = nunits;
s                  33 user/usertests.c copyin(char *s)
s                  79 user/usertests.c copyout(char *s)
s                 122 user/usertests.c copyinstr1(char *s)
s                 142 user/usertests.c copyinstr2(char *s)
s                 204 user/usertests.c copyinstr3(char *s)
s                 249 user/usertests.c rwsbrk(char *s)
s                 295 user/usertests.c truncate1(char *s)
s                 307 user/usertests.c     printf("%s: read %d bytes, wanted 4\n", s, n);
s                 317 user/usertests.c     printf("%s: read %d bytes, wanted 0\n", s, n);
s                 324 user/usertests.c     printf("%s: read %d bytes, wanted 0\n", s, n);
s                 332 user/usertests.c     printf("%s: read %d bytes, wanted 6\n", s, n);
s                 338 user/usertests.c     printf("%s: read %d bytes, wanted 2\n", s, n);
s                 354 user/usertests.c truncate2(char *s)
s                 365 user/usertests.c     printf("%s: write returned %d, expected -1\n", s, n);
s                 375 user/usertests.c truncate3(char *s)
s                 383 user/usertests.c     printf("%s: fork failed\n", s);
s                 392 user/usertests.c         printf("%s: open failed\n", s);
s                 397 user/usertests.c         printf("%s: write got %d, expected 10\n", s, n);
s                 411 user/usertests.c       printf("%s: open failed\n", s);
s                 416 user/usertests.c       printf("%s: write got %d, expected 3\n", s, n);
s                 429 user/usertests.c iputtest(char *s)
s                 432 user/usertests.c     printf("%s: mkdir failed\n", s);
s                 436 user/usertests.c     printf("%s: chdir iputdir failed\n", s);
s                 440 user/usertests.c     printf("%s: unlink ../iputdir failed\n", s);
s                 444 user/usertests.c     printf("%s: chdir / failed\n", s);
s                 451 user/usertests.c exitiputtest(char *s)
s                 457 user/usertests.c     printf("%s: fork failed\n", s);
s                 462 user/usertests.c       printf("%s: mkdir failed\n", s);
s                 466 user/usertests.c       printf("%s: child chdir failed\n", s);
s                 470 user/usertests.c       printf("%s: unlink ../iputdir failed\n", s);
s                 491 user/usertests.c openiputtest(char *s)
s                 496 user/usertests.c     printf("%s: mkdir oidir failed\n", s);
s                 501 user/usertests.c     printf("%s: fork failed\n", s);
s                 507 user/usertests.c       printf("%s: open directory for write succeeded\n", s);
s                 514 user/usertests.c     printf("%s: unlink failed\n", s);
s                 524 user/usertests.c opentest(char *s)
s                 530 user/usertests.c     printf("%s: open echo failed!\n", s);
s                 536 user/usertests.c     printf("%s: open doesnotexist succeeded!\n", s);
s                 542 user/usertests.c writetest(char *s)
s                 550 user/usertests.c     printf("%s: error: creat small failed!\n", s);
s                 555 user/usertests.c       printf("%s: error: write aa %d new file failed\n", s, i);
s                 559 user/usertests.c       printf("%s: error: write bb %d new file failed\n", s, i);
s                 566 user/usertests.c     printf("%s: error: open small failed!\n", s);
s                 571 user/usertests.c     printf("%s: read failed\n", s);
s                 577 user/usertests.c     printf("%s: unlink small failed\n", s);
s                 583 user/usertests.c writebig(char *s)
s                 589 user/usertests.c     printf("%s: error: creat big failed!\n", s);
s                 596 user/usertests.c       printf("%s: error: write big file failed i=%d\n", s, i);
s                 605 user/usertests.c     printf("%s: error: open big failed!\n", s);
s                 614 user/usertests.c         printf("%s: read only %d blocks from big", s, n);
s                 619 user/usertests.c       printf("%s: read failed %d\n", s, i);
s                 623 user/usertests.c       printf("%s: read content of block %d is %d\n", s, n, ((int *)buf)[0]);
s                 630 user/usertests.c     printf("%s: unlink big failed\n", s);
s                 637 user/usertests.c createtest(char *s)
s                 659 user/usertests.c dirtest(char *s)
s                 662 user/usertests.c     printf("%s: mkdir failed\n", s);
s                 667 user/usertests.c     printf("%s: chdir dir0 failed\n", s);
s                 672 user/usertests.c     printf("%s: chdir .. failed\n", s);
s                 677 user/usertests.c     printf("%s: unlink dir0 failed\n", s);
s                 683 user/usertests.c exectest(char *s)
s                 692 user/usertests.c     printf("%s: fork failed\n", s);
s                 698 user/usertests.c       printf("%s: dup failed\n", s);
s                 704 user/usertests.c       fprintf(errfd, "%s: create failed\n", s);
s                 708 user/usertests.c       fprintf(errfd, "%s: wrong fd\n", s);
s                 712 user/usertests.c       fprintf(errfd, "%s: exec echo failed\n", s);
s                 718 user/usertests.c     printf("%s: wait failed!\n", s);
s                 721 user/usertests.c     printf("%s: nonzero wait status %d\n", s, xstatus);
s                 727 user/usertests.c     printf("%s: open failed\n", s);
s                 731 user/usertests.c     printf("%s: read failed\n", s);
s                 738 user/usertests.c     printf("%s: wrong output\n", s);
s                 746 user/usertests.c pipe1(char *s)
s                 753 user/usertests.c     printf("%s: pipe() failed\n", s);
s                 764 user/usertests.c         printf("%s: pipe1 oops 1\n", s);
s                 776 user/usertests.c           printf("%s: pipe1 oops 2\n", s);
s                 786 user/usertests.c       printf("%s: pipe1 oops 3 total %d\n", s, total);
s                 793 user/usertests.c     printf("%s: fork() failed\n", s);
s                 800 user/usertests.c killstatus(char *s)
s                 807 user/usertests.c       printf("%s: fork failed\n", s);
s                 820 user/usertests.c       printf("%s: status should be -1\n", s);
s                 829 user/usertests.c killzero(char *s)
s                 837 user/usertests.c     printf("%s: fork failed\n", s);
s                 844 user/usertests.c     printf("%s: wait wrong pid\n", s);
s                 848 user/usertests.c     printf("%s: child exited with status %d, expected 7\n", s, xst);
s                 856 user/usertests.c preempt(char *s)
s                 863 user/usertests.c     printf("%s: fork failed", s);
s                 872 user/usertests.c     printf("%s: fork failed\n", s);
s                 882 user/usertests.c     printf("%s: fork failed\n", s);
s                 888 user/usertests.c       printf("%s: preempt write error", s);
s                 896 user/usertests.c     printf("%s: preempt read error", s);
s                 912 user/usertests.c exitwait(char *s)
s                 919 user/usertests.c       printf("%s: fork failed\n", s);
s                 925 user/usertests.c         printf("%s: wait wrong pid\n", s);
s                 929 user/usertests.c         printf("%s: wait wrong exit status\n", s);
s                 942 user/usertests.c reparent(char *s)
s                 948 user/usertests.c       printf("%s: fork failed\n", s);
s                 953 user/usertests.c         printf("%s: wait wrong pid\n", s);
s                 970 user/usertests.c twochildren(char *s)
s                 975 user/usertests.c       printf("%s: fork failed\n", s);
s                 983 user/usertests.c         printf("%s: fork failed\n", s);
s                 998 user/usertests.c forkfork(char *s)
s                1005 user/usertests.c       printf("%s: fork failed", s);
s                1027 user/usertests.c       printf("%s: fork in child failed", s);
s                1034 user/usertests.c forkforkfork(char *s)
s                1040 user/usertests.c     printf("%s: fork failed", s);
s                1069 user/usertests.c reparent2(char *s)
s                1090 user/usertests.c mem(char *s)
s                1108 user/usertests.c       printf("%s: couldn't allocate mem?!!\n", s);
s                1130 user/usertests.c sharedfd(char *s)
s                1139 user/usertests.c     printf("%s: cannot open sharedfd for writing", s);
s                1146 user/usertests.c       printf("%s: write sharedfd failed\n", s);
s                1162 user/usertests.c     printf("%s: cannot open sharedfd for reading\n", s);
s                1179 user/usertests.c     printf("%s: nc/np test fails\n", s);
s                1187 user/usertests.c fourfiles(char *s)
s                1200 user/usertests.c       printf("%s: fork failed\n", s);
s                1207 user/usertests.c         printf("%s: create failed\n", s);
s                1236 user/usertests.c           printf("%s: wrong char\n", s);
s                1253 user/usertests.c createdelete(char *s)
s                1262 user/usertests.c       printf("%s: fork failed\n", s);
s                1273 user/usertests.c           printf("%s: create failed\n", s);
s                1280 user/usertests.c             printf("%s: unlink failed\n", s);
s                1303 user/usertests.c         printf("%s: oops createdelete %s didn't exist\n", s, name);
s                1306 user/usertests.c         printf("%s: oops createdelete %s did exist\n", s, name);
s                1325 user/usertests.c unlinkread(char *s)
s                1332 user/usertests.c     printf("%s: create unlinkread failed\n", s);
s                1340 user/usertests.c     printf("%s: open unlinkread failed\n", s);
s                1344 user/usertests.c     printf("%s: unlink unlinkread failed\n", s);
s                1353 user/usertests.c     printf("%s: unlinkread read failed", s);
s                1357 user/usertests.c     printf("%s: unlinkread wrong data\n", s);
s                1361 user/usertests.c     printf("%s: unlinkread write failed\n", s);
s                1369 user/usertests.c linktest(char *s)
s                1379 user/usertests.c     printf("%s: create lf1 failed\n", s);
s                1383 user/usertests.c     printf("%s: write lf1 failed\n", s);
s                1389 user/usertests.c     printf("%s: link lf1 lf2 failed\n", s);
s                1395 user/usertests.c     printf("%s: unlinked lf1 but it is still there!\n", s);
s                1401 user/usertests.c     printf("%s: open lf2 failed\n", s);
s                1405 user/usertests.c     printf("%s: read lf2 failed\n", s);
s                1411 user/usertests.c     printf("%s: link lf2 lf2 succeeded! oops\n", s);
s                1417 user/usertests.c     printf("%s: link non-existent succeeded! oops\n", s);
s                1422 user/usertests.c     printf("%s: link . lf1 succeeded! oops\n", s);
s                1429 user/usertests.c concreate(char *s)
s                1477 user/usertests.c         printf("%s: concreate weird file %s\n", s, de.name);
s                1481 user/usertests.c         printf("%s: concreate duplicate file %s\n", s, de.name);
s                1491 user/usertests.c     printf("%s: concreate not enough files in directory listing\n", s);
s                1499 user/usertests.c       printf("%s: fork failed\n", s);
s                1527 user/usertests.c linkunlink(char *s)
s                1534 user/usertests.c     printf("%s: fork failed\n", s);
s                1557 user/usertests.c subdir(char *s)
s                1563 user/usertests.c     printf("%s: mkdir dd failed\n", s);
s                1569 user/usertests.c     printf("%s: create dd/ff failed\n", s);
s                1576 user/usertests.c     printf("%s: unlink dd (non-empty dir) succeeded!\n", s);
s                1581 user/usertests.c     printf("%s: subdir mkdir dd/dd failed\n", s);
s                1587 user/usertests.c     printf("%s: create dd/dd/ff failed\n", s);
s                1595 user/usertests.c     printf("%s: open dd/dd/../ff failed\n", s);
s                1600 user/usertests.c     printf("%s: dd/dd/../ff wrong content\n", s);
s                1606 user/usertests.c     printf("%s: link dd/dd/ff dd/dd/ffff failed\n", s);
s                1611 user/usertests.c     printf("%s: unlink dd/dd/ff failed\n", s);
s                1615 user/usertests.c     printf("%s: open (unlinked) dd/dd/ff succeeded\n", s);
s                1620 user/usertests.c     printf("%s: chdir dd failed\n", s);
s                1624 user/usertests.c     printf("%s: chdir dd/../../dd failed\n", s);
s                1628 user/usertests.c     printf("%s: chdir dd/../../../dd failed\n", s);
s                1632 user/usertests.c     printf("%s: chdir ./.. failed\n", s);
s                1638 user/usertests.c     printf("%s: open dd/dd/ffff failed\n", s);
s                1642 user/usertests.c     printf("%s: read dd/dd/ffff wrong len\n", s);
s                1648 user/usertests.c     printf("%s: open (unlinked) dd/dd/ff succeeded!\n", s);
s                1653 user/usertests.c     printf("%s: create dd/ff/ff succeeded!\n", s);
s                1657 user/usertests.c     printf("%s: create dd/xx/ff succeeded!\n", s);
s                1661 user/usertests.c     printf("%s: create dd succeeded!\n", s);
s                1665 user/usertests.c     printf("%s: open dd rdwr succeeded!\n", s);
s                1669 user/usertests.c     printf("%s: open dd wronly succeeded!\n", s);
s                1673 user/usertests.c     printf("%s: link dd/ff/ff dd/dd/xx succeeded!\n", s);
s                1677 user/usertests.c     printf("%s: link dd/xx/ff dd/dd/xx succeeded!\n", s);
s                1681 user/usertests.c     printf("%s: link dd/ff dd/dd/ffff succeeded!\n", s);
s                1685 user/usertests.c     printf("%s: mkdir dd/ff/ff succeeded!\n", s);
s                1689 user/usertests.c     printf("%s: mkdir dd/xx/ff succeeded!\n", s);
s                1693 user/usertests.c     printf("%s: mkdir dd/dd/ffff succeeded!\n", s);
s                1697 user/usertests.c     printf("%s: unlink dd/xx/ff succeeded!\n", s);
s                1701 user/usertests.c     printf("%s: unlink dd/ff/ff succeeded!\n", s);
s                1705 user/usertests.c     printf("%s: chdir dd/ff succeeded!\n", s);
s                1709 user/usertests.c     printf("%s: chdir dd/xx succeeded!\n", s);
s                1714 user/usertests.c     printf("%s: unlink dd/dd/ff failed\n", s);
s                1718 user/usertests.c     printf("%s: unlink dd/ff failed\n", s);
s                1722 user/usertests.c     printf("%s: unlink non-empty dd succeeded!\n", s);
s                1726 user/usertests.c     printf("%s: unlink dd/dd failed\n", s);
s                1730 user/usertests.c     printf("%s: unlink dd failed\n", s);
s                1737 user/usertests.c bigwrite(char *s)
s                1745 user/usertests.c       printf("%s: cannot create bigwrite\n", s);
s                1752 user/usertests.c         printf("%s: write(%d) ret %d\n", s, sz, cc);
s                1762 user/usertests.c bigfile(char *s)
s                1770 user/usertests.c     printf("%s: cannot create bigfile", s);
s                1776 user/usertests.c       printf("%s: write bigfile failed\n", s);
s                1784 user/usertests.c     printf("%s: cannot open bigfile\n", s);
s                1791 user/usertests.c       printf("%s: read bigfile failed\n", s);
s                1797 user/usertests.c       printf("%s: short read bigfile\n", s);
s                1801 user/usertests.c       printf("%s: read bigfile wrong data\n", s);
s                1808 user/usertests.c     printf("%s: read bigfile wrong total\n", s);
s                1815 user/usertests.c fourteen(char *s)
s                1822 user/usertests.c     printf("%s: mkdir 12345678901234 failed\n", s);
s                1826 user/usertests.c     printf("%s: mkdir 12345678901234/123456789012345 failed\n", s);
s                1832 user/usertests.c       "%s: create 123456789012345/123456789012345/123456789012345 failed\n", s);
s                1838 user/usertests.c     printf("%s: open 12345678901234/12345678901234/12345678901234 failed\n", s);
s                1844 user/usertests.c     printf("%s: mkdir 12345678901234/12345678901234 succeeded!\n", s);
s                1848 user/usertests.c     printf("%s: mkdir 12345678901234/123456789012345 succeeded!\n", s);
s                1862 user/usertests.c rmdot(char *s)
s                1865 user/usertests.c     printf("%s: mkdir dots failed\n", s);
s                1869 user/usertests.c     printf("%s: chdir dots failed\n", s);
s                1873 user/usertests.c     printf("%s: rm . worked!\n", s);
s                1877 user/usertests.c     printf("%s: rm .. worked!\n", s);
s                1881 user/usertests.c     printf("%s: chdir / failed\n", s);
s                1885 user/usertests.c     printf("%s: unlink dots/. worked!\n", s);
s                1889 user/usertests.c     printf("%s: unlink dots/.. worked!\n", s);
s                1893 user/usertests.c     printf("%s: unlink dots failed!\n", s);
s                1899 user/usertests.c dirfile(char *s)
s                1905 user/usertests.c     printf("%s: create dirfile failed\n", s);
s                1910 user/usertests.c     printf("%s: chdir dirfile succeeded!\n", s);
s                1915 user/usertests.c     printf("%s: create dirfile/xx succeeded!\n", s);
s                1920 user/usertests.c     printf("%s: create dirfile/xx succeeded!\n", s);
s                1924 user/usertests.c     printf("%s: mkdir dirfile/xx succeeded!\n", s);
s                1928 user/usertests.c     printf("%s: unlink dirfile/xx succeeded!\n", s);
s                1932 user/usertests.c     printf("%s: link to dirfile/xx succeeded!\n", s);
s                1936 user/usertests.c     printf("%s: unlink dirfile failed!\n", s);
s                1942 user/usertests.c     printf("%s: open . for writing succeeded!\n", s);
s                1947 user/usertests.c     printf("%s: write . succeeded!\n", s);
s                1956 user/usertests.c iref(char *s)
s                1962 user/usertests.c       printf("%s: mkdir irefd failed\n", s);
s                1966 user/usertests.c       printf("%s: chdir irefd failed\n", s);
s                1994 user/usertests.c forktest(char *s)
s                2008 user/usertests.c     printf("%s: no fork at all!\n", s);
s                2013 user/usertests.c     printf("%s: fork claimed to work 1000 times!\n", s);
s                2019 user/usertests.c       printf("%s: wait stopped early\n", s);
s                2025 user/usertests.c     printf("%s: wait got too many\n", s);
s                2031 user/usertests.c sbrkbasic(char *s)
s                2062 user/usertests.c     printf("%s: too much memory allocated!\n", s);
s                2071 user/usertests.c       printf("%s: sbrk test failed %d %p %p\n", s, i, a, b);
s                2079 user/usertests.c     printf("%s: sbrk test fork failed\n", s);
s                2085 user/usertests.c     printf("%s: sbrk test failed post-fork\n", s);
s                2095 user/usertests.c sbrkmuch(char *s)
s                2109 user/usertests.c            s);
s                2120 user/usertests.c     printf("%s: sbrk could not deallocate\n", s);
s                2125 user/usertests.c     printf("%s: sbrk deallocation produced wrong address, a %p c %p\n", s, a,
s                2134 user/usertests.c     printf("%s: sbrk re-allocation failed, a %p c %p\n", s, a, c);
s                2139 user/usertests.c     printf("%s: sbrk de-allocation didn't really deallocate\n", s);
s                2146 user/usertests.c     printf("%s: sbrk downsize failed, a %p c %p\n", s, a, c);
s                2153 user/usertests.c kernmem(char *s)
s                2161 user/usertests.c       printf("%s: fork failed\n", s);
s                2165 user/usertests.c       printf("%s: oops could read %p = %x\n", s, a, *a);
s                2177 user/usertests.c MAXVAplus(char *s)
s                2184 user/usertests.c       printf("%s: fork failed\n", s);
s                2189 user/usertests.c       printf("%s: oops wrote %p\n", s, (void *)a);
s                2202 user/usertests.c sbrkfail(char *s)
s                2215 user/usertests.c     printf("%s: pipe() failed\n", s);
s                2236 user/usertests.c     printf("%s: no allocation failed; allocate more?\n", s);
s                2249 user/usertests.c     printf("%s: failed sbrk leaked memory\n", s);
s                2256 user/usertests.c     printf("%s: fork failed\n", s);
s                2265 user/usertests.c     printf("%s: allocate a lot of memory succeeded %d\n", s, 10 * BIG);
s                2275 user/usertests.c sbrkarg(char *s)
s                2284 user/usertests.c     printf("%s: open sbrk failed\n", s);
s                2288 user/usertests.c     printf("%s: write sbrk failed\n", s);
s                2296 user/usertests.c     printf("%s: pipe() failed\n", s);
s                2302 user/usertests.c validatetest(char *s)
s                2311 user/usertests.c       printf("%s: link should not succeed\n", s);
s                2320 user/usertests.c bsstest(char *s)
s                2326 user/usertests.c       printf("%s: bss test failed\n", s);
s                2336 user/usertests.c bigargtest(char *s)
s                2358 user/usertests.c     printf("%s: bigargtest: fork failed\n", s);
s                2367 user/usertests.c     printf("%s: bigarg test failed!\n", s);
s                2427 user/usertests.c argptest(char *s)
s                2432 user/usertests.c     printf("%s: open failed\n", s);
s                2442 user/usertests.c stacktest(char *s)
s                2452 user/usertests.c     printf("%s: stacktest: read below stack %d\n", s, *sp);
s                2455 user/usertests.c     printf("%s: fork failed\n", s);
s                2468 user/usertests.c nowrite(char *s)
s                2484 user/usertests.c       printf("%s: write to %p did not fail!\n", s, addr);
s                2487 user/usertests.c       printf("%s: fork failed\n", s);
s                2504 user/usertests.c pgbug(char *s)
s                2518 user/usertests.c sbrkbugs(char *s)
s                2576 user/usertests.c sbrklast(char *s)
s                2601 user/usertests.c sbrk8000(char *s)
s                2611 user/usertests.c badarg(char *s)
s                2628 user/usertests.c lazy_alloc(char *s)
s                2656 user/usertests.c lazy_unmap(char *s)
s                2694 user/usertests.c lazy_copy(char *s)
s                2744 user/usertests.c lazy_copyinstr(char *s)
s                2751 user/usertests.c     printf("%s: sbrk did not align\n", s);
s                2779 user/usertests.c lazy_sbrk(char *s)
s                2829 user/usertests.c partial_write(char *s)
s                2841 user/usertests.c     printf("%s: cannot create testfile\n", s);
s                2847 user/usertests.c     printf("%s: could not write A\n", s);
s                2854 user/usertests.c     printf("%s: cannot re-open testfile\n", s);
s                2863 user/usertests.c     printf("%s: sbrk did not align\n", s);
s                2871 user/usertests.c     printf("%s: write succeeded, should have failed\n", s);
s                2879 user/usertests.c     printf("%s: cannot re-open testfile\n", s);
s                2886 user/usertests.c     printf("%s: cannot read testfile\n", s);
s                2893 user/usertests.c     printf("%s: read returned %c, expected X\n", s, b);
s                2903 user/usertests.c       printf("%s: could not write to bigfile\n", s);
s                2913 user/usertests.c     printf("%s: cannot re-open testfile\n", s);
s                2919 user/usertests.c     printf("%s: cannot read testfile\n", s);
s                2926 user/usertests.c     printf("%s: read returned %c, expected X\n", s, b);
s                2934 user/usertests.c unlinkcwd(char *s)
s                2937 user/usertests.c     printf("%s: mkdir /a failed\n", s);
s                2941 user/usertests.c     printf("%s: mkdir /a/b failed\n", s);
s                2945 user/usertests.c     printf("%s: chdir failed\n", s);
s                2949 user/usertests.c     printf("%s: unlink /a/b failed\n", s);
s                2953 user/usertests.c     printf("%s: unlink /a failed\n", s);
s                2957 user/usertests.c     printf("%s: open ../ non-existing directory\n", s);
s                2960 user/usertests.c     printf("%s: create ../c non-existing file\n", s);
s                2966 user/usertests.c   char *s;
s                3045 user/usertests.c bigdir(char *s)
s                3055 user/usertests.c     printf("%s: bigdir create failed\n", s);
s                3066 user/usertests.c       printf("%s: bigdir i=%d link(bd, %s) failed\n", s, i, name);
s                3078 user/usertests.c       printf("%s: bigdir unlink failed", s);
s                3087 user/usertests.c manywrites(char *s)
s                3110 user/usertests.c             printf("%s: cannot create %s\n", s, name);
s                3116 user/usertests.c             printf("%s: write(%d) ret %d\n", s, sz, cc);
s                3144 user/usertests.c badwrite(char *s)
s                3179 user/usertests.c execout(char *s)
s                3214 user/usertests.c diskfull(char *s)
s                3232 user/usertests.c       printf("%s: could not create file %s\n", s, name);
s                3268 user/usertests.c     printf("%s: mkdir(diskfulldir) unexpectedly succeeded!\n", s);
s                3294 user/usertests.c outofinodes(char *s)
s                3325 user/usertests.c linkoverflow(char *s)
s                3335 user/usertests.c     printf("%s: cannot create /lof\n", s);
s                3352 user/usertests.c       printf("%s: mkdir(%s) failed\n", s, pn);
s                3365 user/usertests.c         printf("%s: stat(/lof) failed\n", s);
s                3372 user/usertests.c       printf("%s: link failed after %d links (nlink=%d)\n", s, i, st.nlink);
s                3377 user/usertests.c       printf("%s: i=%d, pn=%s\n", s, i, pn);
s                3382 user/usertests.c     printf("%s: stat(/lof) failed\n", s);
s                3389 user/usertests.c     printf("%s: negative link count: %d\n", s, st.nlink);
s                3413 user/usertests.c run(void f(char *), char *s)
s                3418 user/usertests.c   printf("test %s: ", s);
s                3424 user/usertests.c     f(s);
s                3440 user/usertests.c   for (struct test *t = tests; t->s != 0; t++) {
s                3441 user/usertests.c     if ((justone == 0) || strcmp(t->s, justone) == 0) {
s                3443 user/usertests.c       if (!run(t->f, t->s)) {