| plan 9 kernel history: overview | file list | diff list |
1994/0225/port/portdat.h (diff list | history)
| 1994/0222/sys/src/9/port/portdat.h:112,120 – 1994/0225/sys/src/9/port/portdat.h:112,120 (short | long | prev | next) | ||
|
reformatting
rsc Fri Mar 4 12:44:25 2005 | ||
| 1993/0501 | struct Path { Ref; | |
| 1994/0225 | Path* hash; Path* parent; Pthash* pthash; | |
| 1993/0501 | char elem[NAMELEN]; }; | |
| 1991/0428 | ||
| 1994/0222/sys/src/9/port/portdat.h:121,128 – 1994/0225/sys/src/9/port/portdat.h:121,128 | ||
| 1991/0428 | struct Chan { Ref; | |
| 1993/0501 |
| |
| 1994/0225 | Chan* next; /* allocation */ Chan* link; | |
| 1993/0501 | ulong offset; /* in file */ | |
| 1991/0428 | ushort type; ushort dev; | |
| 1994/0222/sys/src/9/port/portdat.h:130,149 – 1994/0225/sys/src/9/port/portdat.h:130,149 | ||
| 1991/0428 | ushort flag; Qid qid; int fid; /* for devmnt */ | |
| 1993/0501 |
| |
| 1994/0225 | Path* path; Mount* mnt; /* mount point that derived Chan */ Mount* xmnt; /* Last mount point crossed */ | |
| 1993/0501 | ulong mountid; | |
| 1993/1013 | Mntcache *mcp; /* Mount cache pointer */ | |
| 1991/0428 | union { | |
| 1994/0225 | void* aux; | |
| 1991/0428 | Qid pgrpid; /* for #p/notepg */ | |
| 1992/0620 |
| |
| 1994/0225 | Mnt* mntptr; /* for devmnt */ | |
| 1993/0501 | ulong mid; /* for ns in devproc */ | |
| 1991/0428 | }; | |
| 1994/0225 | Chan* mchan; /* channel to mounted server */ | |
| 1991/0428 | Qid mqid; /* qid of root of mount point */ | |
| 1993/0501 |
| |
| 1994/0225 | Session*session; | |
| 1991/0428 | }; struct Dev | |
| 1994/0222/sys/src/9/port/portdat.h:182,204 – 1994/0225/sys/src/9/port/portdat.h:182,204 | ||
| 1993/0501 | { QLock; int npt; | |
| 1994/0225 | Path* root; Path* hash[NSCACHE]; | |
| 1993/0501 | }; | |
| 1994/0225 | struct Mntwalk /* state for /proc/#/ns */ | |
| 1993/0501 | { ulong id; | |
| 1994/0225 | Mhead* mh; Mount* cm; | |
| 1993/0501 | }; | |
| 1991/0428 | struct Mount { ulong mountid; | |
| 1991/1011 |
| |
| 1993/0501 |
| |
| 1994/0225 | Mount* next; Mhead* head; Chan* to; /* channel replacing channel */ | |
| 1993/0501 | int flag; char spec[NAMELEN]; | |
| 1991/0428 | }; | |
| 1994/0222/sys/src/9/port/portdat.h:205,213 – 1994/0225/sys/src/9/port/portdat.h:205,213 | ||
| 1991/0428 | ||
| 1991/1011 | struct Mhead | |
| 1991/0428 | { | |
| 1991/1011 |
| |
| 1994/0225 | Chan* from; /* channel mounted upon */ Mount* mount; /* what's mounted upon it */ Mhead* hash; /* Hash chain */ | |
| 1991/0428 | }; | |
| 1993/0501 | struct Mnt | |