| plan 9 kernel history: overview | file list | diff list |
1990/0406/gnot/dat.h (diff list | history)
| 1990/0403/sys/src/9/gnot/dat.h:383,388 – 1990/0406/sys/src/9/gnot/dat.h:383,389 (short | long | prev | next) | ||
| 1990/03091 | Block *first; /* first data block */ Block *last; /* last data block */ long len; /* length of list in bytes */ | |
| 1990/0406 | int nb; /* number of blocks in list */ | |
| 1990/03091 | }; /* | |
| 1990/0403/sys/src/9/gnot/dat.h:390,396 – 1990/0406/sys/src/9/gnot/dat.h:391,396 | ||
| 1990/03091 | */ struct Queue { Blist; | |
| 1990/0403 |
| |
| 1990/03091 | int flag; Qinfo *info; /* line discipline definition */ Queue *other; /* opposite direction, same line discipline */ | |
| 1990/0403/sys/src/9/gnot/dat.h:428,434 – 1990/0406/sys/src/9/gnot/dat.h:428,434 | ||
| 1990/0312 | #define PUTNEXT(q,b) (*(q)->next->put)((q)->next, b) #define BLEN(b) ((b)->wptr - (b)->rptr) | |
| 1990/0403 | #define QFULL(q) ((q)->flag & QHIWAT) | |
| 1990/0406 | #define FLOWCTL(q) { if(QFULL(q->next)) flowctl(q); } | |
| 1990/03091 | /* * stream file qid's & high water mark | |