s                  58 console.c        char *s;
s                  85 console.c            if((s = (char*)*argp++) == 0)
s                  86 console.c              s = "(null)";
s                  87 console.c            for(; *s; s++)
s                  88 console.c              consputc(*s);
s                 106 console.c      panic(char *s)
s                 114 console.c        cprintf(s);
s                 116 console.c        getcallerpcs(&s, pcs);
s                  13 exec.c           char *s, *last;
s                  84 exec.c           for(last=s=path; *s; s++)
s                  85 exec.c             if(*s == '/')
s                  86 exec.c               last = s+1;
s                  11 forktest.c     printf(int fd, char *s, ...)
s                  13 forktest.c       write(fd, s, strlen(s));
s                 498 fs.c           namecmp(const char *s, const char *t)
s                 500 fs.c             return strncmp(s, t, DIRSIZ);
s                 579 fs.c             char *s;
s                 586 fs.c             s = path;
s                 589 fs.c             len = path - s;
s                 591 fs.c               memmove(name, s, DIRSIZ);
s                 593 fs.c               memmove(name, s, len);
s                  57 mmu.h            uint s : 1;          // 0 = system, 1 = application
s                 199 mmu.h            uint s : 1;           // must be 0 (system)
s                 220 mmu.h            (gate).s = 0;                                           \
s                  42 printf.c         char *s;
s                  64 printf.c               s = (char*)*ap;
s                  66 printf.c               if(s == 0)
s                  67 printf.c                 s = "(null)";
s                  68 printf.c               while(*s != 0){
s                  69 printf.c                 putc(fd, *s);
s                  70 printf.c                 s++;
s                 176 sh.c           panic(char *s)
s                 178 sh.c             printf(2, "%s\n", s);
s                 269 sh.c             char *s;
s                 272 sh.c             s = *ps;
s                 273 sh.c             while(s < es && strchr(whitespace, *s))
s                 274 sh.c               s++;
s                 276 sh.c               *q = s;
s                 277 sh.c             ret = *s;
s                 278 sh.c             switch(*s){
s                 287 sh.c               s++;
s                 290 sh.c               s++;
s                 291 sh.c               if(*s == '>'){
s                 293 sh.c                 s++;
s                 298 sh.c               while(s < es && !strchr(whitespace, *s) && !strchr(symbols, *s))
s                 299 sh.c                 s++;
s                 303 sh.c               *eq = s;
s                 305 sh.c             while(s < es && strchr(whitespace, *s))
s                 306 sh.c               s++;
s                 307 sh.c             *ps = s;
s                 314 sh.c             char *s;
s                 316 sh.c             s = *ps;
s                 317 sh.c             while(s < es && strchr(whitespace, *s))
s                 318 sh.c               s++;
s                 319 sh.c             *ps = s;
s                 320 sh.c             return *s && strchr(toks, *s);
s                 329 sh.c           parsecmd(char *s)
s                 334 sh.c             es = s + strlen(s);
s                 335 sh.c             cmd = parseline(&s, es);
s                 336 sh.c             peek(&s, es, "");
s                 337 sh.c             if(s != es){
s                 338 sh.c               printf(2, "leftovers: %s\n", s);
s                  34 string.c         const char *s;
s                  37 string.c         s = src;
s                  39 string.c         if(s < d && s + n > d){
s                  40 string.c           s += n;
s                  43 string.c             *--d = *--s;
s                  46 string.c             *d++ = *s++;
s                  69 string.c       strncpy(char *s, const char *t, int n)
s                  73 string.c         os = s;
s                  74 string.c         while(n-- > 0 && (*s++ = *t++) != 0)
s                  77 string.c           *s++ = 0;
s                  83 string.c       safestrcpy(char *s, const char *t, int n)
s                  87 string.c         os = s;
s                  90 string.c         while(--n > 0 && (*s++ = *t++) != 0)
s                  92 string.c         *s = 0;
s                  97 string.c       strlen(const char *s)
s                 101 string.c         for(n = 0; s[n]; n++)
s                  32 syscall.c        char *s, *ep;
s                  38 syscall.c        for(s = *pp; s < ep; s++)
s                  39 syscall.c          if(*s == 0)
s                  40 syscall.c            return s - *pp;
s                   8 ulib.c         strcpy(char *s, char *t)
s                  12 ulib.c           os = s;
s                  13 ulib.c           while((*s++ = *t++) != 0)
s                  27 ulib.c         strlen(char *s)
s                  31 ulib.c           for(n = 0; s[n]; n++)
s                  44 ulib.c         strchr(const char *s, char c)
s                  46 ulib.c           for(; *s; s++)
s                  47 ulib.c             if(*s == c)
s                  48 ulib.c               return (char*)s;
s                  85 ulib.c         atoi(const char *s)
s                  90 ulib.c           while('0' <= *s && *s <= '9')
s                  91 ulib.c             n = n*10 + *s++ - '0';
s                  15 umalloc.c        } s;
s                  30 umalloc.c        for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
s                  31 umalloc.c          if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
s                  33 umalloc.c        if(bp + bp->s.size == p->s.ptr){
s                  34 umalloc.c          bp->s.size += p->s.ptr->s.size;
s                  35 umalloc.c          bp->s.ptr = p->s.ptr->s.ptr;
s                  37 umalloc.c          bp->s.ptr = p->s.ptr;
s                  38 umalloc.c        if(p + p->s.size == bp){
s                  39 umalloc.c          p->s.size += bp->s.size;
s                  40 umalloc.c          p->s.ptr = bp->s.ptr;
s                  42 umalloc.c          p->s.ptr = bp;
s                  58 umalloc.c        hp->s.size = nu;
s                  71 umalloc.c          base.s.ptr = freep = prevp = &base;
s                  72 umalloc.c          base.s.size = 0;
s                  74 umalloc.c        for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
s                  75 umalloc.c          if(p->s.size >= nunits){
s                  76 umalloc.c            if(p->s.size == nunits)
s                  77 umalloc.c              prevp->s.ptr = p->s.ptr;
s                  79 umalloc.c              p->s.size -= nunits;
s                  80 umalloc.c              p += p->s.size;
s                  81 umalloc.c              p->s.size = nunits;
s                 169 vm.c             cpu->gdt[SEG_TSS].s = 0;