nread 15 pipe.c uint nread; // number of bytes read nread 35 pipe.c p->nread = 0; nread 64 pipe.c wakeup(&p->nread); nread 84 pipe.c while(p->nwrite == p->nread + PIPESIZE){ //DOC: pipewrite-full nread 89 pipe.c wakeup(&p->nread); nread 94 pipe.c wakeup(&p->nread); //DOC: pipewrite-wakeup1 nread 105 pipe.c while(p->nread == p->nwrite && p->writeopen){ //DOC: pipe-empty nread 110 pipe.c sleep(&p->nread, &p->lock); //DOC: piperead-sleep nread 113 pipe.c if(p->nread == p->nwrite) nread 115 pipe.c addr[i] = p->data[p->nread++ % PIPESIZE];