s                  25 kernel/exec.c    char *s, *last;
s                 118 kernel/exec.c    for(last=s=path; *s; s++)
s                 119 kernel/exec.c      if(*s == '/')
s                 120 kernel/exec.c        last = s+1;
s                 544 kernel/fs.c    namecmp(const char *s, const char *t)
s                 546 kernel/fs.c      return strncmp(s, t, DIRSIZ);
s                 625 kernel/fs.c      char *s;
s                 632 kernel/fs.c      s = path;
s                 635 kernel/fs.c      len = path - s;
s                 637 kernel/fs.c        memmove(name, s, DIRSIZ);
s                 639 kernel/fs.c        memmove(name, s, len);
s                  68 kernel/printf.c   char *s;
s                  97 kernel/printf.c       if((s = va_arg(ap, char*)) == 0)
s                  98 kernel/printf.c         s = "(null)";
s                  99 kernel/printf.c       for(; *s; s++)
s                 100 kernel/printf.c         consputc(*s);
s                 119 kernel/printf.c panic(char *s)
s                 123 kernel/printf.c   printf(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                 297 mkfs/mkfs.c    die(const char *s)
s                 299 mkfs/mkfs.c      perror(s);
s                  11 user/forktest.c print(const char *s)
s                  13 user/forktest.c   write(1, s, strlen(s));
s                  54 user/printf.c    char *s;
s                  76 user/printf.c          s = va_arg(ap, char*);
s                  77 user/printf.c          if(s == 0)
s                  78 user/printf.c            s = "(null)";
s                  79 user/printf.c          while(*s != 0){
s                  80 user/printf.c            putc(fd, *s);
s                  81 user/printf.c            s++;
s                 176 user/sh.c      panic(char *s)
s                 178 user/sh.c        fprintf(2, "%s\n", s);
s                 269 user/sh.c        char *s;
s                 272 user/sh.c        s = *ps;
s                 273 user/sh.c        while(s < es && strchr(whitespace, *s))
s                 274 user/sh.c          s++;
s                 276 user/sh.c          *q = s;
s                 277 user/sh.c        ret = *s;
s                 278 user/sh.c        switch(*s){
s                 287 user/sh.c          s++;
s                 290 user/sh.c          s++;
s                 291 user/sh.c          if(*s == '>'){
s                 293 user/sh.c            s++;
s                 298 user/sh.c          while(s < es && !strchr(whitespace, *s) && !strchr(symbols, *s))
s                 299 user/sh.c            s++;
s                 303 user/sh.c          *eq = s;
s                 305 user/sh.c        while(s < es && strchr(whitespace, *s))
s                 306 user/sh.c          s++;
s                 307 user/sh.c        *ps = s;
s                 314 user/sh.c        char *s;
s                 316 user/sh.c        s = *ps;
s                 317 user/sh.c        while(s < es && strchr(whitespace, *s))
s                 318 user/sh.c          s++;
s                 319 user/sh.c        *ps = s;
s                 320 user/sh.c        return *s && strchr(toks, *s);
s                 329 user/sh.c      parsecmd(char *s)
s                 334 user/sh.c        es = s + strlen(s);
s                 335 user/sh.c        cmd = parseline(&s, es);
s                 336 user/sh.c        peek(&s, es, "");
s                 337 user/sh.c        if(s != es){
s                 338 user/sh.c          fprintf(2, "leftovers: %s\n", s);
s                  18 user/ulib.c    strcpy(char *s, const char *t)
s                  22 user/ulib.c      os = s;
s                  23 user/ulib.c      while((*s++ = *t++) != 0)
s                  37 user/ulib.c    strlen(const char *s)
s                  41 user/ulib.c      for(n = 0; s[n]; n++)
s                  58 user/ulib.c    strchr(const char *s, char c)
s                  60 user/ulib.c      for(; *s; s++)
s                  61 user/ulib.c        if(*s == c)
s                  62 user/ulib.c          return (char*)s;
s                  99 user/ulib.c    atoi(const char *s)
s                 104 user/ulib.c      while('0' <= *s && *s <= '9')
s                 105 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                  77 user/usertests.c copyout(char *s)
s                 118 user/usertests.c copyinstr1(char *s)
s                 137 user/usertests.c copyinstr2(char *s)
s                 199 user/usertests.c copyinstr3(char *s)
s                 290 user/usertests.c truncate1(char *s)
s                 302 user/usertests.c     printf("%s: read %d bytes, wanted 4\n", s, n);
s                 312 user/usertests.c     printf("%s: read %d bytes, wanted 0\n", s, n);
s                 319 user/usertests.c     printf("%s: read %d bytes, wanted 0\n", s, n);
s                 327 user/usertests.c     printf("%s: read %d bytes, wanted 6\n", s, n);
s                 333 user/usertests.c     printf("%s: read %d bytes, wanted 2\n", s, n);
s                 349 user/usertests.c truncate2(char *s)
s                 360 user/usertests.c     printf("%s: write returned %d, expected -1\n", s, n);
s                 370 user/usertests.c truncate3(char *s)
s                 378 user/usertests.c     printf("%s: fork failed\n", s);
s                 387 user/usertests.c         printf("%s: open failed\n", s);
s                 392 user/usertests.c         printf("%s: write got %d, expected 10\n", s, n);
s                 406 user/usertests.c       printf("%s: open failed\n", s);
s                 411 user/usertests.c       printf("%s: write got %d, expected 3\n", s, n);
s                 425 user/usertests.c iputtest(char *s)
s                 428 user/usertests.c     printf("%s: mkdir failed\n", s);
s                 432 user/usertests.c     printf("%s: chdir iputdir failed\n", s);
s                 436 user/usertests.c     printf("%s: unlink ../iputdir failed\n", s);
s                 440 user/usertests.c     printf("%s: chdir / failed\n", s);
s                 447 user/usertests.c exitiputtest(char *s)
s                 453 user/usertests.c     printf("%s: fork failed\n", s);
s                 458 user/usertests.c       printf("%s: mkdir failed\n", s);
s                 462 user/usertests.c       printf("%s: child chdir failed\n", s);
s                 466 user/usertests.c       printf("%s: unlink ../iputdir failed\n", s);
s                 487 user/usertests.c openiputtest(char *s)
s                 492 user/usertests.c     printf("%s: mkdir oidir failed\n", s);
s                 497 user/usertests.c     printf("%s: fork failed\n", s);
s                 503 user/usertests.c       printf("%s: open directory for write succeeded\n", s);
s                 510 user/usertests.c     printf("%s: unlink failed\n", s);
s                 520 user/usertests.c opentest(char *s)
s                 526 user/usertests.c     printf("%s: open echo failed!\n", s);
s                 532 user/usertests.c     printf("%s: open doesnotexist succeeded!\n", s);
s                 538 user/usertests.c writetest(char *s)
s                 546 user/usertests.c     printf("%s: error: creat small failed!\n", s);
s                 551 user/usertests.c       printf("%s: error: write aa %d new file failed\n", s, i);
s                 555 user/usertests.c       printf("%s: error: write bb %d new file failed\n", s, i);
s                 562 user/usertests.c     printf("%s: error: open small failed!\n", s);
s                 567 user/usertests.c     printf("%s: read failed\n", s);
s                 573 user/usertests.c     printf("%s: unlink small failed\n", s);
s                 579 user/usertests.c writebig(char *s)
s                 585 user/usertests.c     printf("%s: error: creat big failed!\n", s);
s                 592 user/usertests.c       printf("%s: error: write big file failed\n", s, i);
s                 601 user/usertests.c     printf("%s: error: open big failed!\n", s);
s                 610 user/usertests.c         printf("%s: read only %d blocks from big", s, n);
s                 615 user/usertests.c       printf("%s: read failed %d\n", s, i);
s                 619 user/usertests.c       printf("%s: read content of block %d is %d\n", s,
s                 627 user/usertests.c     printf("%s: unlink big failed\n", s);
s                 634 user/usertests.c createtest(char *s)
s                 655 user/usertests.c void dirtest(char *s)
s                 658 user/usertests.c     printf("%s: mkdir failed\n", s);
s                 663 user/usertests.c     printf("%s: chdir dir0 failed\n", s);
s                 668 user/usertests.c     printf("%s: chdir .. failed\n", s);
s                 673 user/usertests.c     printf("%s: unlink dir0 failed\n", s);
s                 679 user/usertests.c exectest(char *s)
s                 688 user/usertests.c      printf("%s: fork failed\n", s);
s                 695 user/usertests.c       printf("%s: create failed\n", s);
s                 699 user/usertests.c       printf("%s: wrong fd\n", s);
s                 703 user/usertests.c       printf("%s: exec echo failed\n", s);
s                 709 user/usertests.c     printf("%s: wait failed!\n", s);
s                 716 user/usertests.c     printf("%s: open failed\n", s);
s                 720 user/usertests.c     printf("%s: read failed\n", s);
s                 727 user/usertests.c     printf("%s: wrong output\n", s);
s                 736 user/usertests.c pipe1(char *s)
s                 743 user/usertests.c     printf("%s: pipe() failed\n", s);
s                 754 user/usertests.c         printf("%s: pipe1 oops 1\n", s);
s                 766 user/usertests.c           printf("%s: pipe1 oops 2\n", s);
s                 783 user/usertests.c     printf("%s: fork() failed\n", s);
s                 791 user/usertests.c killstatus(char *s)
s                 798 user/usertests.c       printf("%s: fork failed\n", s);
s                 811 user/usertests.c        printf("%s: status should be -1\n", s);
s                 820 user/usertests.c preempt(char *s)
s                 827 user/usertests.c     printf("%s: fork failed", s);
s                 836 user/usertests.c     printf("%s: fork failed\n", s);
s                 846 user/usertests.c      printf("%s: fork failed\n", s);
s                 852 user/usertests.c       printf("%s: preempt write error", s);
s                 860 user/usertests.c     printf("%s: preempt read error", s);
s                 876 user/usertests.c exitwait(char *s)
s                 883 user/usertests.c       printf("%s: fork failed\n", s);
s                 889 user/usertests.c         printf("%s: wait wrong pid\n", s);
s                 893 user/usertests.c         printf("%s: wait wrong exit status\n", s);
s                 906 user/usertests.c reparent(char *s)
s                 912 user/usertests.c       printf("%s: fork failed\n", s);
s                 917 user/usertests.c         printf("%s: wait wrong pid\n", s);
s                 934 user/usertests.c twochildren(char *s)
s                 939 user/usertests.c       printf("%s: fork failed\n", s);
s                 947 user/usertests.c         printf("%s: fork failed\n", s);
s                 962 user/usertests.c forkfork(char *s)
s                 969 user/usertests.c       printf("%s: fork failed", s);
s                 991 user/usertests.c       printf("%s: fork in child failed", s);
s                 998 user/usertests.c forkforkfork(char *s)
s                1004 user/usertests.c     printf("%s: fork failed", s);
s                1033 user/usertests.c reparent2(char *s)
s                1054 user/usertests.c mem(char *s)
s                1072 user/usertests.c       printf("couldn't allocate mem?!!\n", s);
s                1094 user/usertests.c sharedfd(char *s)
s                1103 user/usertests.c     printf("%s: cannot open sharedfd for writing", s);
s                1110 user/usertests.c       printf("%s: write sharedfd failed\n", s);
s                1126 user/usertests.c     printf("%s: cannot open sharedfd for reading\n", s);
s                1143 user/usertests.c     printf("%s: nc/np test fails\n", s);
s                1151 user/usertests.c fourfiles(char *s)
s                1164 user/usertests.c       printf("fork failed\n", s);
s                1171 user/usertests.c         printf("create failed\n", s);
s                1200 user/usertests.c           printf("wrong char\n", s);
s                1217 user/usertests.c createdelete(char *s)
s                1226 user/usertests.c       printf("fork failed\n", s);
s                1237 user/usertests.c           printf("%s: create failed\n", s);
s                1244 user/usertests.c             printf("%s: unlink failed\n", s);
s                1267 user/usertests.c         printf("%s: oops createdelete %s didn't exist\n", s, name);
s                1270 user/usertests.c         printf("%s: oops createdelete %s did exist\n", s, name);
s                1289 user/usertests.c unlinkread(char *s)
s                1296 user/usertests.c     printf("%s: create unlinkread failed\n", s);
s                1304 user/usertests.c     printf("%s: open unlinkread failed\n", s);
s                1308 user/usertests.c     printf("%s: unlink unlinkread failed\n", s);
s                1317 user/usertests.c     printf("%s: unlinkread read failed", s);
s                1321 user/usertests.c     printf("%s: unlinkread wrong data\n", s);
s                1325 user/usertests.c     printf("%s: unlinkread write failed\n", s);
s                1333 user/usertests.c linktest(char *s)
s                1343 user/usertests.c     printf("%s: create lf1 failed\n", s);
s                1347 user/usertests.c     printf("%s: write lf1 failed\n", s);
s                1353 user/usertests.c     printf("%s: link lf1 lf2 failed\n", s);
s                1359 user/usertests.c     printf("%s: unlinked lf1 but it is still there!\n", s);
s                1365 user/usertests.c     printf("%s: open lf2 failed\n", s);
s                1369 user/usertests.c     printf("%s: read lf2 failed\n", s);
s                1375 user/usertests.c     printf("%s: link lf2 lf2 succeeded! oops\n", s);
s                1381 user/usertests.c     printf("%s: link non-existent succeeded! oops\n", s);
s                1386 user/usertests.c     printf("%s: link . lf1 succeeded! oops\n", s);
s                1393 user/usertests.c concreate(char *s)
s                1441 user/usertests.c         printf("%s: concreate weird file %s\n", s, de.name);
s                1445 user/usertests.c         printf("%s: concreate duplicate file %s\n", s, de.name);
s                1455 user/usertests.c     printf("%s: concreate not enough files in directory listing\n", s);
s                1463 user/usertests.c       printf("%s: fork failed\n", s);
s                1492 user/usertests.c linkunlink(char *s)
s                1499 user/usertests.c     printf("%s: fork failed\n", s);
s                1523 user/usertests.c subdir(char *s)
s                1529 user/usertests.c     printf("%s: mkdir dd failed\n", s);
s                1535 user/usertests.c     printf("%s: create dd/ff failed\n", s);
s                1542 user/usertests.c     printf("%s: unlink dd (non-empty dir) succeeded!\n", s);
s                1547 user/usertests.c     printf("subdir mkdir dd/dd failed\n", s);
s                1553 user/usertests.c     printf("%s: create dd/dd/ff failed\n", s);
s                1561 user/usertests.c     printf("%s: open dd/dd/../ff failed\n", s);
s                1566 user/usertests.c     printf("%s: dd/dd/../ff wrong content\n", s);
s                1572 user/usertests.c     printf("link dd/dd/ff dd/dd/ffff failed\n", s);
s                1577 user/usertests.c     printf("%s: unlink dd/dd/ff failed\n", s);
s                1581 user/usertests.c     printf("%s: open (unlinked) dd/dd/ff succeeded\n", s);
s                1586 user/usertests.c     printf("%s: chdir dd failed\n", s);
s                1590 user/usertests.c     printf("%s: chdir dd/../../dd failed\n", s);
s                1594 user/usertests.c     printf("chdir dd/../../dd failed\n", s);
s                1598 user/usertests.c     printf("%s: chdir ./.. failed\n", s);
s                1604 user/usertests.c     printf("%s: open dd/dd/ffff failed\n", s);
s                1608 user/usertests.c     printf("%s: read dd/dd/ffff wrong len\n", s);
s                1614 user/usertests.c     printf("%s: open (unlinked) dd/dd/ff succeeded!\n", s);
s                1619 user/usertests.c     printf("%s: create dd/ff/ff succeeded!\n", s);
s                1623 user/usertests.c     printf("%s: create dd/xx/ff succeeded!\n", s);
s                1627 user/usertests.c     printf("%s: create dd succeeded!\n", s);
s                1631 user/usertests.c     printf("%s: open dd rdwr succeeded!\n", s);
s                1635 user/usertests.c     printf("%s: open dd wronly succeeded!\n", s);
s                1639 user/usertests.c     printf("%s: link dd/ff/ff dd/dd/xx succeeded!\n", s);
s                1643 user/usertests.c     printf("%s: link dd/xx/ff dd/dd/xx succeeded!\n", s);
s                1647 user/usertests.c     printf("%s: link dd/ff dd/dd/ffff succeeded!\n", s);
s                1651 user/usertests.c     printf("%s: mkdir dd/ff/ff succeeded!\n", s);
s                1655 user/usertests.c     printf("%s: mkdir dd/xx/ff succeeded!\n", s);
s                1659 user/usertests.c     printf("%s: mkdir dd/dd/ffff succeeded!\n", s);
s                1663 user/usertests.c     printf("%s: unlink dd/xx/ff succeeded!\n", s);
s                1667 user/usertests.c     printf("%s: unlink dd/ff/ff succeeded!\n", s);
s                1671 user/usertests.c     printf("%s: chdir dd/ff succeeded!\n", s);
s                1675 user/usertests.c     printf("%s: chdir dd/xx succeeded!\n", s);
s                1680 user/usertests.c     printf("%s: unlink dd/dd/ff failed\n", s);
s                1684 user/usertests.c     printf("%s: unlink dd/ff failed\n", s);
s                1688 user/usertests.c     printf("%s: unlink non-empty dd succeeded!\n", s);
s                1692 user/usertests.c     printf("%s: unlink dd/dd failed\n", s);
s                1696 user/usertests.c     printf("%s: unlink dd failed\n", s);
s                1703 user/usertests.c bigwrite(char *s)
s                1711 user/usertests.c       printf("%s: cannot create bigwrite\n", s);
s                1718 user/usertests.c         printf("%s: write(%d) ret %d\n", s, sz, cc);
s                1729 user/usertests.c bigfile(char *s)
s                1737 user/usertests.c     printf("%s: cannot create bigfile", s);
s                1743 user/usertests.c       printf("%s: write bigfile failed\n", s);
s                1751 user/usertests.c     printf("%s: cannot open bigfile\n", s);
s                1758 user/usertests.c       printf("%s: read bigfile failed\n", s);
s                1764 user/usertests.c       printf("%s: short read bigfile\n", s);
s                1768 user/usertests.c       printf("%s: read bigfile wrong data\n", s);
s                1775 user/usertests.c     printf("%s: read bigfile wrong total\n", s);
s                1782 user/usertests.c fourteen(char *s)
s                1789 user/usertests.c     printf("%s: mkdir 12345678901234 failed\n", s);
s                1793 user/usertests.c     printf("%s: mkdir 12345678901234/123456789012345 failed\n", s);
s                1798 user/usertests.c     printf("%s: create 123456789012345/123456789012345/123456789012345 failed\n", s);
s                1804 user/usertests.c     printf("%s: open 12345678901234/12345678901234/12345678901234 failed\n", s);
s                1810 user/usertests.c     printf("%s: mkdir 12345678901234/12345678901234 succeeded!\n", s);
s                1814 user/usertests.c     printf("%s: mkdir 12345678901234/123456789012345 succeeded!\n", s);
s                1828 user/usertests.c rmdot(char *s)
s                1831 user/usertests.c     printf("%s: mkdir dots failed\n", s);
s                1835 user/usertests.c     printf("%s: chdir dots failed\n", s);
s                1839 user/usertests.c     printf("%s: rm . worked!\n", s);
s                1843 user/usertests.c     printf("%s: rm .. worked!\n", s);
s                1847 user/usertests.c     printf("%s: chdir / failed\n", s);
s                1851 user/usertests.c     printf("%s: unlink dots/. worked!\n", s);
s                1855 user/usertests.c     printf("%s: unlink dots/.. worked!\n", s);
s                1859 user/usertests.c     printf("%s: unlink dots failed!\n", s);
s                1865 user/usertests.c dirfile(char *s)
s                1871 user/usertests.c     printf("%s: create dirfile failed\n", s);
s                1876 user/usertests.c     printf("%s: chdir dirfile succeeded!\n", s);
s                1881 user/usertests.c     printf("%s: create dirfile/xx succeeded!\n", s);
s                1886 user/usertests.c     printf("%s: create dirfile/xx succeeded!\n", s);
s                1890 user/usertests.c     printf("%s: mkdir dirfile/xx succeeded!\n", s);
s                1894 user/usertests.c     printf("%s: unlink dirfile/xx succeeded!\n", s);
s                1898 user/usertests.c     printf("%s: link to dirfile/xx succeeded!\n", s);
s                1902 user/usertests.c     printf("%s: unlink dirfile failed!\n", s);
s                1908 user/usertests.c     printf("%s: open . for writing succeeded!\n", s);
s                1913 user/usertests.c     printf("%s: write . succeeded!\n", s);
s                1922 user/usertests.c iref(char *s)
s                1928 user/usertests.c       printf("%s: mkdir irefd failed\n", s);
s                1932 user/usertests.c       printf("%s: chdir irefd failed\n", s);
s                1960 user/usertests.c forktest(char *s)
s                1974 user/usertests.c     printf("%s: no fork at all!\n", s);
s                1979 user/usertests.c     printf("%s: fork claimed to work 1000 times!\n", s);
s                1985 user/usertests.c       printf("%s: wait stopped early\n", s);
s                1991 user/usertests.c     printf("%s: wait got too many\n", s);
s                1997 user/usertests.c sbrkbasic(char *s)
s                2028 user/usertests.c     printf("%s: too much memory allocated!\n", s);
s                2037 user/usertests.c       printf("%s: sbrk test failed %d %x %x\n", s, i, a, b);
s                2045 user/usertests.c     printf("%s: sbrk test fork failed\n", s);
s                2051 user/usertests.c     printf("%s: sbrk test failed post-fork\n", s);
s                2061 user/usertests.c sbrkmuch(char *s)
s                2074 user/usertests.c     printf("%s: sbrk test failed to grow big address space; enough phys mem?\n", s);
s                2090 user/usertests.c     printf("%s: sbrk could not deallocate\n", s);
s                2095 user/usertests.c     printf("%s: sbrk deallocation produced wrong address, a %x c %x\n", s, a, c);
s                2103 user/usertests.c     printf("%s: sbrk re-allocation failed, a %x c %x\n", s, a, c);
s                2108 user/usertests.c     printf("%s: sbrk de-allocation didn't really deallocate\n", s);
s                2115 user/usertests.c     printf("%s: sbrk downsize failed, a %x c %x\n", s, a, c);
s                2122 user/usertests.c kernmem(char *s)
s                2130 user/usertests.c       printf("%s: fork failed\n", s);
s                2134 user/usertests.c       printf("%s: oops could read %x = %x\n", s, a, *a);
s                2146 user/usertests.c MAXVAplus(char *s)
s                2153 user/usertests.c       printf("%s: fork failed\n", s);
s                2158 user/usertests.c       printf("%s: oops wrote %x\n", s, a);
s                2171 user/usertests.c sbrkfail(char *s)
s                2182 user/usertests.c     printf("%s: pipe() failed\n", s);
s                2207 user/usertests.c     printf("%s: failed sbrk leaked memory\n", s);
s                2214 user/usertests.c     printf("%s: fork failed\n", s);
s                2229 user/usertests.c     printf("%s: allocate a lot of memory succeeded %d\n", s, n);
s                2240 user/usertests.c sbrkarg(char *s)
s                2249 user/usertests.c     printf("%s: open sbrk failed\n", s);
s                2253 user/usertests.c     printf("%s: write sbrk failed\n", s);
s                2261 user/usertests.c     printf("%s: pipe() failed\n", s);
s                2267 user/usertests.c validatetest(char *s)
s                2276 user/usertests.c       printf("%s: link should not succeed\n", s);
s                2285 user/usertests.c bsstest(char *s)
s                2291 user/usertests.c       printf("%s: bss test failed\n", s);
s                2301 user/usertests.c bigargtest(char *s)
s                2318 user/usertests.c     printf("%s: bigargtest: fork failed\n", s);
s                2327 user/usertests.c     printf("%s: bigarg test failed!\n", s);
s                2386 user/usertests.c void argptest(char *s)
s                2391 user/usertests.c     printf("%s: open failed\n", s);
s                2401 user/usertests.c stacktest(char *s)
s                2411 user/usertests.c     printf("%s: stacktest: read below stack %p\n", s, *sp);
s                2414 user/usertests.c     printf("%s: fork failed\n", s);
s                2426 user/usertests.c textwrite(char *s)
s                2437 user/usertests.c     printf("%s: fork failed\n", s);
s                2452 user/usertests.c pgbug(char *s)
s                2466 user/usertests.c sbrkbugs(char *s)
s                2524 user/usertests.c sbrklast(char *s)
s                2550 user/usertests.c sbrk8000(char *s)
s                2562 user/usertests.c badarg(char *s)
s                2576 user/usertests.c   char *s;
s                2648 user/usertests.c bigdir(char *s)
s                2658 user/usertests.c     printf("%s: bigdir create failed\n", s);
s                2669 user/usertests.c       printf("%s: bigdir link(bd, %s) failed\n", s, name);
s                2681 user/usertests.c       printf("%s: bigdir unlink failed", s);
s                2690 user/usertests.c manywrites(char *s)
s                2713 user/usertests.c             printf("%s: cannot create %s\n", s, name);
s                2719 user/usertests.c             printf("%s: write(%d) ret %d\n", s, sz, cc);
s                2747 user/usertests.c badwrite(char *s)
s                2782 user/usertests.c execout(char *s)
s                2817 user/usertests.c diskfull(char *s)
s                2835 user/usertests.c       printf("%s: could not create file %s\n", s, name);
s                2897 user/usertests.c outofinodes(char *s)
s                2945 user/usertests.c run(void f(char *), char *s) {
s                2949 user/usertests.c   printf("test %s: ", s);
s                2955 user/usertests.c     f(s);
s                2969 user/usertests.c   for (struct test *t = tests; t->s != 0; t++) {
s                2970 user/usertests.c     if((justone == 0) || strcmp(t->s, justone) == 0) {
s                2971 user/usertests.c       if(!run(t->f, t->s)){