chan 21 proc.c static void wakeup1(void *chan); chan 352 proc.c sleep(void *chan, struct spinlock *lk) chan 372 proc.c proc->chan = chan; chan 377 proc.c proc->chan = 0; chan 390 proc.c wakeup1(void *chan) chan 395 proc.c if(p->state == SLEEPING && p->chan == chan) chan 401 proc.c wakeup(void *chan) chan 404 proc.c wakeup1(chan); chan 64 proc.h void *chan; // If non-zero, sleeping on chan