state              56 kernel/proc.c        p->state = UNUSED;
state             116 kernel/proc.c      if(p->state == UNUSED) {
state             126 kernel/proc.c    p->state = USED;
state             171 kernel/proc.c    p->state = UNUSED;
state             252 kernel/proc.c    p->state = RUNNABLE;
state             322 kernel/proc.c    np->state = RUNNABLE;
state             379 kernel/proc.c    p->state = ZOMBIE;
state             408 kernel/proc.c          if(pp->state == ZOMBIE){
state             460 kernel/proc.c        if(p->state == RUNNABLE) {
state             464 kernel/proc.c          p->state = RUNNING;
state             500 kernel/proc.c    if(p->state == RUNNING)
state             516 kernel/proc.c    p->state = RUNNABLE;
state             564 kernel/proc.c    p->state = SLEEPING;
state             586 kernel/proc.c        if(p->state == SLEEPING && p->chan == chan) {
state             587 kernel/proc.c          p->state = RUNNABLE;
state             606 kernel/proc.c        if(p->state == SLEEPING){
state             608 kernel/proc.c          p->state = RUNNABLE;
state             682 kernel/proc.c    char *state;
state             686 kernel/proc.c      if(p->state == UNUSED)
state             688 kernel/proc.c      if(p->state >= 0 && p->state < NELEM(states) && states[p->state])
state             689 kernel/proc.c        state = states[p->state];
state             691 kernel/proc.c        state = "???";
state             692 kernel/proc.c      printf("%d %s %s", p->pid, state, p->name);
state              89 kernel/proc.h    enum procstate state;        // Process state
state              55 user/printf.c    int c0, c1, c2, i, state;
state              57 user/printf.c    state = 0;
state              60 user/printf.c      if(state == 0){
state              62 user/printf.c          state = '%';
state              66 user/printf.c      } else if(state == '%'){
state             136 user/printf.c        state = 0;