| plan 9 kernel history: overview | file list | diff list |
1990/1011/port/devpipe.c (diff list | history)
| 1990/1009/sys/src/9/port/devpipe.c:201,208 – 1990/1011/sys/src/9/port/devpipe.c:201,209 (short | long | prev | next) | ||
| 1990/0227 | void | |
| 1990/1009 | pipeexit(Pipe *p) { | |
| 1990/1011 | if(decref(p) < 0) panic("pipeexit"); if(p->ref == 0){ | |
| 1990/1009 | lock(&pipealloc); p->next = pipealloc.free; pipealloc.free = p; | |
| 1990/1009/sys/src/9/port/devpipe.c:220,237 – 1990/1011/sys/src/9/port/devpipe.c:221,232 | ||
| 1990/1009 | p = &pipealloc.pipe[STREAMID(c->qid)/2]; | |
| 1990/0629 | ||
| 1990/1009 | /* | |
| 1990/1011 | * take care of associated streams | |
| 1990/1009 | */ if(local = c->stream){ remote = (Stream *)c->stream->devq->ptr; | |
| 1990/0629 | } | |
| 1990/1009 | pipeexit(p); | |
| 1990/0227 | } | |