chan 21 proc.c static void wakeup1(void *chan); chan 418 proc.c sleep(void *chan, struct spinlock *lk) chan 439 proc.c p->chan = chan; chan 445 proc.c p->chan = 0; chan 458 proc.c wakeup1(void *chan) chan 463 proc.c if(p->state == SLEEPING && p->chan == chan) chan 469 proc.c wakeup(void *chan) chan 472 proc.c wakeup1(chan); chan 47 proc.h void *chan; // If non-zero, sleeping on chan