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 112 kernel/printf.c if((s = va_arg(ap, char*)) == 0) s 113 kernel/printf.c s = "(null)"; s 114 kernel/printf.c for(; *s; s++) s 115 kernel/printf.c consputc(*s); s 138 kernel/printf.c if((s = va_arg(ap, char*)) == 0) s 139 kernel/printf.c s = "(null)"; s 140 kernel/printf.c for(; *s; s++) s 141 kernel/printf.c consputc(*s); s 163 kernel/printf.c panic(char *s) s 167 kernel/printf.c printf("%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 299 mkfs/mkfs.c die(const char *s) s 301 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 97 user/printf.c if((s = va_arg(ap, char*)) == 0) s 98 user/printf.c s = "(null)"; s 99 user/printf.c for(; *s; s++) s 100 user/printf.c putc(fd, *s); s 119 user/printf.c s = va_arg(ap, char*); s 120 user/printf.c if(s == 0) s 121 user/printf.c s = "(null)"; s 122 user/printf.c while(*s != 0){ s 123 user/printf.c putc(fd, *s); s 124 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 78 user/usertests.c copyout(char *s) s 120 user/usertests.c copyinstr1(char *s) s 140 user/usertests.c copyinstr2(char *s) s 202 user/usertests.c copyinstr3(char *s) s 293 user/usertests.c truncate1(char *s) s 305 user/usertests.c printf("%s: read %d bytes, wanted 4\n", s, n); s 315 user/usertests.c printf("%s: read %d bytes, wanted 0\n", s, n); s 322 user/usertests.c printf("%s: read %d bytes, wanted 0\n", s, n); s 330 user/usertests.c printf("%s: read %d bytes, wanted 6\n", s, n); s 336 user/usertests.c printf("%s: read %d bytes, wanted 2\n", s, n); s 352 user/usertests.c truncate2(char *s) s 363 user/usertests.c printf("%s: write returned %d, expected -1\n", s, n); s 373 user/usertests.c truncate3(char *s) s 381 user/usertests.c printf("%s: fork failed\n", s); s 390 user/usertests.c printf("%s: open failed\n", s); s 395 user/usertests.c printf("%s: write got %d, expected 10\n", s, n); s 409 user/usertests.c printf("%s: open failed\n", s); s 414 user/usertests.c printf("%s: write got %d, expected 3\n", s, n); s 428 user/usertests.c iputtest(char *s) s 431 user/usertests.c printf("%s: mkdir failed\n", s); s 435 user/usertests.c printf("%s: chdir iputdir failed\n", s); s 439 user/usertests.c printf("%s: unlink ../iputdir failed\n", s); s 443 user/usertests.c printf("%s: chdir / failed\n", s); s 450 user/usertests.c exitiputtest(char *s) s 456 user/usertests.c printf("%s: fork failed\n", s); s 461 user/usertests.c printf("%s: mkdir failed\n", s); s 465 user/usertests.c printf("%s: child chdir failed\n", s); s 469 user/usertests.c printf("%s: unlink ../iputdir failed\n", s); s 490 user/usertests.c openiputtest(char *s) s 495 user/usertests.c printf("%s: mkdir oidir failed\n", s); s 500 user/usertests.c printf("%s: fork failed\n", s); s 506 user/usertests.c printf("%s: open directory for write succeeded\n", s); s 513 user/usertests.c printf("%s: unlink failed\n", s); s 523 user/usertests.c opentest(char *s) s 529 user/usertests.c printf("%s: open echo failed!\n", s); s 535 user/usertests.c printf("%s: open doesnotexist succeeded!\n", s); s 541 user/usertests.c writetest(char *s) s 549 user/usertests.c printf("%s: error: creat small failed!\n", s); s 554 user/usertests.c printf("%s: error: write aa %d new file failed\n", s, i); s 558 user/usertests.c printf("%s: error: write bb %d new file failed\n", s, i); s 565 user/usertests.c printf("%s: error: open small failed!\n", s); s 570 user/usertests.c printf("%s: read failed\n", s); s 576 user/usertests.c printf("%s: unlink small failed\n", s); s 582 user/usertests.c writebig(char *s) s 588 user/usertests.c printf("%s: error: creat big failed!\n", s); s 595 user/usertests.c printf("%s: error: write big file failed i=%d\n", s, i); s 604 user/usertests.c printf("%s: error: open big failed!\n", s); s 613 user/usertests.c printf("%s: read only %d blocks from big", s, n); s 618 user/usertests.c printf("%s: read failed %d\n", s, i); s 622 user/usertests.c printf("%s: read content of block %d is %d\n", s, s 630 user/usertests.c printf("%s: unlink big failed\n", s); s 637 user/usertests.c createtest(char *s) s 658 user/usertests.c void dirtest(char *s) s 661 user/usertests.c printf("%s: mkdir failed\n", s); s 666 user/usertests.c printf("%s: chdir dir0 failed\n", s); s 671 user/usertests.c printf("%s: chdir .. failed\n", s); s 676 user/usertests.c printf("%s: unlink dir0 failed\n", s); s 682 user/usertests.c exectest(char *s) s 691 user/usertests.c printf("%s: fork failed\n", s); s 698 user/usertests.c printf("%s: create failed\n", s); s 702 user/usertests.c printf("%s: wrong fd\n", s); s 706 user/usertests.c printf("%s: exec echo failed\n", s); s 712 user/usertests.c printf("%s: wait failed!\n", s); s 719 user/usertests.c printf("%s: open failed\n", s); s 723 user/usertests.c printf("%s: read failed\n", s); s 730 user/usertests.c printf("%s: wrong output\n", s); s 739 user/usertests.c pipe1(char *s) s 746 user/usertests.c printf("%s: pipe() failed\n", s); s 757 user/usertests.c printf("%s: pipe1 oops 1\n", s); s 769 user/usertests.c printf("%s: pipe1 oops 2\n", s); s 779 user/usertests.c printf("%s: pipe1 oops 3 total %d\n", s, total); s 786 user/usertests.c printf("%s: fork() failed\n", s); s 794 user/usertests.c killstatus(char *s) s 801 user/usertests.c printf("%s: fork failed\n", s); s 814 user/usertests.c printf("%s: status should be -1\n", s); s 823 user/usertests.c preempt(char *s) s 830 user/usertests.c printf("%s: fork failed", s); s 839 user/usertests.c printf("%s: fork failed\n", s); s 849 user/usertests.c printf("%s: fork failed\n", s); s 855 user/usertests.c printf("%s: preempt write error", s); s 863 user/usertests.c printf("%s: preempt read error", s); s 879 user/usertests.c exitwait(char *s) s 886 user/usertests.c printf("%s: fork failed\n", s); s 892 user/usertests.c printf("%s: wait wrong pid\n", s); s 896 user/usertests.c printf("%s: wait wrong exit status\n", s); s 909 user/usertests.c reparent(char *s) s 915 user/usertests.c printf("%s: fork failed\n", s); s 920 user/usertests.c printf("%s: wait wrong pid\n", s); s 937 user/usertests.c twochildren(char *s) s 942 user/usertests.c printf("%s: fork failed\n", s); s 950 user/usertests.c printf("%s: fork failed\n", s); s 965 user/usertests.c forkfork(char *s) s 972 user/usertests.c printf("%s: fork failed", s); s 994 user/usertests.c printf("%s: fork in child failed", s); s 1001 user/usertests.c forkforkfork(char *s) s 1007 user/usertests.c printf("%s: fork failed", s); s 1036 user/usertests.c reparent2(char *s) s 1057 user/usertests.c mem(char *s) s 1075 user/usertests.c printf("%s: couldn't allocate mem?!!\n", s); s 1097 user/usertests.c sharedfd(char *s) s 1106 user/usertests.c printf("%s: cannot open sharedfd for writing", s); s 1113 user/usertests.c printf("%s: write sharedfd failed\n", s); s 1129 user/usertests.c printf("%s: cannot open sharedfd for reading\n", s); s 1146 user/usertests.c printf("%s: nc/np test fails\n", s); s 1154 user/usertests.c fourfiles(char *s) s 1167 user/usertests.c printf("%s: fork failed\n", s); s 1174 user/usertests.c printf("%s: create failed\n", s); s 1203 user/usertests.c printf("%s: wrong char\n", s); s 1220 user/usertests.c createdelete(char *s) s 1229 user/usertests.c printf("%s: fork failed\n", s); s 1240 user/usertests.c printf("%s: create failed\n", s); s 1247 user/usertests.c printf("%s: unlink failed\n", s); s 1270 user/usertests.c printf("%s: oops createdelete %s didn't exist\n", s, name); s 1273 user/usertests.c printf("%s: oops createdelete %s did exist\n", s, name); s 1292 user/usertests.c unlinkread(char *s) s 1299 user/usertests.c printf("%s: create unlinkread failed\n", s); s 1307 user/usertests.c printf("%s: open unlinkread failed\n", s); s 1311 user/usertests.c printf("%s: unlink unlinkread failed\n", s); s 1320 user/usertests.c printf("%s: unlinkread read failed", s); s 1324 user/usertests.c printf("%s: unlinkread wrong data\n", s); s 1328 user/usertests.c printf("%s: unlinkread write failed\n", s); s 1336 user/usertests.c linktest(char *s) s 1346 user/usertests.c printf("%s: create lf1 failed\n", s); s 1350 user/usertests.c printf("%s: write lf1 failed\n", s); s 1356 user/usertests.c printf("%s: link lf1 lf2 failed\n", s); s 1362 user/usertests.c printf("%s: unlinked lf1 but it is still there!\n", s); s 1368 user/usertests.c printf("%s: open lf2 failed\n", s); s 1372 user/usertests.c printf("%s: read lf2 failed\n", s); s 1378 user/usertests.c printf("%s: link lf2 lf2 succeeded! oops\n", s); s 1384 user/usertests.c printf("%s: link non-existent succeeded! oops\n", s); s 1389 user/usertests.c printf("%s: link . lf1 succeeded! oops\n", s); s 1396 user/usertests.c concreate(char *s) s 1444 user/usertests.c printf("%s: concreate weird file %s\n", s, de.name); s 1448 user/usertests.c printf("%s: concreate duplicate file %s\n", s, de.name); s 1458 user/usertests.c printf("%s: concreate not enough files in directory listing\n", s); s 1466 user/usertests.c printf("%s: fork failed\n", s); s 1495 user/usertests.c linkunlink(char *s) s 1502 user/usertests.c printf("%s: fork failed\n", s); s 1526 user/usertests.c subdir(char *s) s 1532 user/usertests.c printf("%s: mkdir dd failed\n", s); s 1538 user/usertests.c printf("%s: create dd/ff failed\n", s); s 1545 user/usertests.c printf("%s: unlink dd (non-empty dir) succeeded!\n", s); s 1550 user/usertests.c printf("%s: subdir mkdir dd/dd failed\n", s); s 1556 user/usertests.c printf("%s: create dd/dd/ff failed\n", s); s 1564 user/usertests.c printf("%s: open dd/dd/../ff failed\n", s); s 1569 user/usertests.c printf("%s: dd/dd/../ff wrong content\n", s); s 1575 user/usertests.c printf("%s: link dd/dd/ff dd/dd/ffff failed\n", s); s 1580 user/usertests.c printf("%s: unlink dd/dd/ff failed\n", s); s 1584 user/usertests.c printf("%s: open (unlinked) dd/dd/ff succeeded\n", s); s 1589 user/usertests.c printf("%s: chdir dd failed\n", s); s 1593 user/usertests.c printf("%s: chdir dd/../../dd failed\n", s); s 1597 user/usertests.c printf("%s: chdir dd/../../../dd failed\n", s); s 1601 user/usertests.c printf("%s: chdir ./.. failed\n", s); s 1607 user/usertests.c printf("%s: open dd/dd/ffff failed\n", s); s 1611 user/usertests.c printf("%s: read dd/dd/ffff wrong len\n", s); s 1617 user/usertests.c printf("%s: open (unlinked) dd/dd/ff succeeded!\n", s); s 1622 user/usertests.c printf("%s: create dd/ff/ff succeeded!\n", s); s 1626 user/usertests.c printf("%s: create dd/xx/ff succeeded!\n", s); s 1630 user/usertests.c printf("%s: create dd succeeded!\n", s); s 1634 user/usertests.c printf("%s: open dd rdwr succeeded!\n", s); s 1638 user/usertests.c printf("%s: open dd wronly succeeded!\n", s); s 1642 user/usertests.c printf("%s: link dd/ff/ff dd/dd/xx succeeded!\n", s); s 1646 user/usertests.c printf("%s: link dd/xx/ff dd/dd/xx succeeded!\n", s); s 1650 user/usertests.c printf("%s: link dd/ff dd/dd/ffff succeeded!\n", s); s 1654 user/usertests.c printf("%s: mkdir dd/ff/ff succeeded!\n", s); s 1658 user/usertests.c printf("%s: mkdir dd/xx/ff succeeded!\n", s); s 1662 user/usertests.c printf("%s: mkdir dd/dd/ffff succeeded!\n", s); s 1666 user/usertests.c printf("%s: unlink dd/xx/ff succeeded!\n", s); s 1670 user/usertests.c printf("%s: unlink dd/ff/ff succeeded!\n", s); s 1674 user/usertests.c printf("%s: chdir dd/ff succeeded!\n", s); s 1678 user/usertests.c printf("%s: chdir dd/xx succeeded!\n", s); s 1683 user/usertests.c printf("%s: unlink dd/dd/ff failed\n", s); s 1687 user/usertests.c printf("%s: unlink dd/ff failed\n", s); s 1691 user/usertests.c printf("%s: unlink non-empty dd succeeded!\n", s); s 1695 user/usertests.c printf("%s: unlink dd/dd failed\n", s); s 1699 user/usertests.c printf("%s: unlink dd failed\n", s); s 1706 user/usertests.c bigwrite(char *s) s 1714 user/usertests.c printf("%s: cannot create bigwrite\n", s); s 1721 user/usertests.c printf("%s: write(%d) ret %d\n", s, sz, cc); s 1732 user/usertests.c bigfile(char *s) s 1740 user/usertests.c printf("%s: cannot create bigfile", s); s 1746 user/usertests.c printf("%s: write bigfile failed\n", s); s 1754 user/usertests.c printf("%s: cannot open bigfile\n", s); s 1761 user/usertests.c printf("%s: read bigfile failed\n", s); s 1767 user/usertests.c printf("%s: short read bigfile\n", s); s 1771 user/usertests.c printf("%s: read bigfile wrong data\n", s); s 1778 user/usertests.c printf("%s: read bigfile wrong total\n", s); s 1785 user/usertests.c fourteen(char *s) s 1792 user/usertests.c printf("%s: mkdir 12345678901234 failed\n", s); s 1796 user/usertests.c printf("%s: mkdir 12345678901234/123456789012345 failed\n", s); s 1801 user/usertests.c printf("%s: create 123456789012345/123456789012345/123456789012345 failed\n", s); s 1807 user/usertests.c printf("%s: open 12345678901234/12345678901234/12345678901234 failed\n", s); s 1813 user/usertests.c printf("%s: mkdir 12345678901234/12345678901234 succeeded!\n", s); s 1817 user/usertests.c printf("%s: mkdir 12345678901234/123456789012345 succeeded!\n", s); s 1831 user/usertests.c rmdot(char *s) s 1834 user/usertests.c printf("%s: mkdir dots failed\n", s); s 1838 user/usertests.c printf("%s: chdir dots failed\n", s); s 1842 user/usertests.c printf("%s: rm . worked!\n", s); s 1846 user/usertests.c printf("%s: rm .. worked!\n", s); s 1850 user/usertests.c printf("%s: chdir / failed\n", s); s 1854 user/usertests.c printf("%s: unlink dots/. worked!\n", s); s 1858 user/usertests.c printf("%s: unlink dots/.. worked!\n", s); s 1862 user/usertests.c printf("%s: unlink dots failed!\n", s); s 1868 user/usertests.c dirfile(char *s) s 1874 user/usertests.c printf("%s: create dirfile failed\n", s); s 1879 user/usertests.c printf("%s: chdir dirfile succeeded!\n", s); s 1884 user/usertests.c printf("%s: create dirfile/xx succeeded!\n", s); s 1889 user/usertests.c printf("%s: create dirfile/xx succeeded!\n", s); s 1893 user/usertests.c printf("%s: mkdir dirfile/xx succeeded!\n", s); s 1897 user/usertests.c printf("%s: unlink dirfile/xx succeeded!\n", s); s 1901 user/usertests.c printf("%s: link to dirfile/xx succeeded!\n", s); s 1905 user/usertests.c printf("%s: unlink dirfile failed!\n", s); s 1911 user/usertests.c printf("%s: open . for writing succeeded!\n", s); s 1916 user/usertests.c printf("%s: write . succeeded!\n", s); s 1925 user/usertests.c iref(char *s) s 1931 user/usertests.c printf("%s: mkdir irefd failed\n", s); s 1935 user/usertests.c printf("%s: chdir irefd failed\n", s); s 1963 user/usertests.c forktest(char *s) s 1977 user/usertests.c printf("%s: no fork at all!\n", s); s 1982 user/usertests.c printf("%s: fork claimed to work 1000 times!\n", s); s 1988 user/usertests.c printf("%s: wait stopped early\n", s); s 1994 user/usertests.c printf("%s: wait got too many\n", s); s 2000 user/usertests.c sbrkbasic(char *s) s 2031 user/usertests.c printf("%s: too much memory allocated!\n", s); s 2040 user/usertests.c printf("%s: sbrk test failed %d %p %p\n", s, i, a, b); s 2048 user/usertests.c printf("%s: sbrk test fork failed\n", s); s 2054 user/usertests.c printf("%s: sbrk test failed post-fork\n", s); s 2064 user/usertests.c sbrkmuch(char *s) s 2077 user/usertests.c printf("%s: sbrk test failed to grow big address space; enough phys mem?\n", s); s 2093 user/usertests.c printf("%s: sbrk could not deallocate\n", s); s 2098 user/usertests.c printf("%s: sbrk deallocation produced wrong address, a %p c %p\n", s, a, c); s 2106 user/usertests.c printf("%s: sbrk re-allocation failed, a %p c %p\n", s, a, c); s 2111 user/usertests.c printf("%s: sbrk de-allocation didn't really deallocate\n", s); s 2118 user/usertests.c printf("%s: sbrk downsize failed, a %p c %p\n", s, a, c); s 2125 user/usertests.c kernmem(char *s) s 2133 user/usertests.c printf("%s: fork failed\n", s); s 2137 user/usertests.c printf("%s: oops could read %p = %x\n", s, a, *a); s 2149 user/usertests.c MAXVAplus(char *s) s 2156 user/usertests.c printf("%s: fork failed\n", s); s 2161 user/usertests.c printf("%s: oops wrote %p\n", s, (void*)a); s 2174 user/usertests.c sbrkfail(char *s) s 2185 user/usertests.c printf("%s: pipe() failed\n", s); s 2210 user/usertests.c printf("%s: failed sbrk leaked memory\n", s); s 2217 user/usertests.c printf("%s: fork failed\n", s); s 2232 user/usertests.c printf("%s: allocate a lot of memory succeeded %d\n", s, n); s 2243 user/usertests.c sbrkarg(char *s) s 2252 user/usertests.c printf("%s: open sbrk failed\n", s); s 2256 user/usertests.c printf("%s: write sbrk failed\n", s); s 2264 user/usertests.c printf("%s: pipe() failed\n", s); s 2270 user/usertests.c validatetest(char *s) s 2279 user/usertests.c printf("%s: link should not succeed\n", s); s 2288 user/usertests.c bsstest(char *s) s 2294 user/usertests.c printf("%s: bss test failed\n", s); s 2304 user/usertests.c bigargtest(char *s) s 2326 user/usertests.c printf("%s: bigargtest: fork failed\n", s); s 2335 user/usertests.c printf("%s: bigarg test failed!\n", s); s 2394 user/usertests.c void argptest(char *s) s 2399 user/usertests.c printf("%s: open failed\n", s); s 2409 user/usertests.c stacktest(char *s) s 2419 user/usertests.c printf("%s: stacktest: read below stack %d\n", s, *sp); s 2422 user/usertests.c printf("%s: fork failed\n", s); s 2435 user/usertests.c nowrite(char *s) s 2447 user/usertests.c printf("%s: write to %p did not fail!\n", s, addr); s 2450 user/usertests.c printf("%s: fork failed\n", s); s 2467 user/usertests.c pgbug(char *s) s 2481 user/usertests.c sbrkbugs(char *s) s 2539 user/usertests.c sbrklast(char *s) s 2565 user/usertests.c sbrk8000(char *s) s 2577 user/usertests.c badarg(char *s) s 2591 user/usertests.c char *s; s 2663 user/usertests.c bigdir(char *s) s 2673 user/usertests.c printf("%s: bigdir create failed\n", s); s 2684 user/usertests.c printf("%s: bigdir i=%d link(bd, %s) failed\n", s, i, name); s 2696 user/usertests.c printf("%s: bigdir unlink failed", s); s 2705 user/usertests.c manywrites(char *s) s 2728 user/usertests.c printf("%s: cannot create %s\n", s, name); s 2734 user/usertests.c printf("%s: write(%d) ret %d\n", s, sz, cc); s 2762 user/usertests.c badwrite(char *s) s 2797 user/usertests.c execout(char *s) s 2832 user/usertests.c diskfull(char *s) s 2850 user/usertests.c printf("%s: could not create file %s\n", s, name); s 2886 user/usertests.c printf("%s: mkdir(diskfulldir) unexpectedly succeeded!\n", s); s 2912 user/usertests.c outofinodes(char *s) s 2960 user/usertests.c run(void f(char *), char *s) { s 2964 user/usertests.c printf("test %s: ", s); s 2970 user/usertests.c f(s); s 2984 user/usertests.c for (struct test *t = tests; t->s != 0; t++) { s 2985 user/usertests.c if((justone == 0) || strcmp(t->s, justone) == 0) { s 2986 user/usertests.c if(!run(t->f, t->s)){