|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 4.0 ! 3: * Copyright (c) 1982, 1992 by Mark Williams Company. ! 4: * All rights reserved. May not be copied without permission. ! 5: -lgl) */ ! 6: /* ! 7: * Mount table. ! 8: */ ! 9: ! 10: #ifndef MOUNT_H ! 11: #define MOUNT_H ! 12: ! 13: #include <sys/types.h> ! 14: #include <sys/filsys.h> ! 15: ! 16: /* ! 17: * Mount table structure. ! 18: */ ! 19: typedef struct mount { ! 20: struct mount *m_next; /* Pointer to next */ ! 21: struct inode *m_ip; /* Associated inode */ ! 22: dev_t m_dev; /* Device */ ! 23: int m_flag; /* Flags */ ! 24: GATE m_ilock; /* Inode lock */ ! 25: GATE m_flock; /* Free list lock */ ! 26: struct filsys m_super; /* Super block */ ! 27: } MOUNT; ! 28: ! 29: /* ! 30: * Flags. ! 31: */ ! 32: #define MFRON 001 /* Read only file system */ ! 33: ! 34: #ifdef KERNEL ! 35: /* ! 36: * Functions. ! 37: */ ! 38: MOUNT *fsmount(); /* fs2.c */ ! 39: MOUNT *getment(); /* fs2.c */ ! 40: ! 41: /* ! 42: * Global variables. ! 43: */ ! 44: extern MOUNT *mountp; /* Mount table */ ! 45: ! 46: #endif ! 47: ! 48: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.