|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 3.2.1 ! 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 __SYS_MOUNT_H__ ! 11: #define __SYS_MOUNT_H__ ! 12: ! 13: #include <sys/types.h> ! 14: #include <sys/filsys.h> ! 15: #include <sys/ksynch.h> ! 16: ! 17: ! 18: /* ! 19: * Mount table structure. ! 20: */ ! 21: typedef struct mount { ! 22: struct mount *m_next; /* Pointer to next */ ! 23: struct inode *m_ip; /* Associated inode */ ! 24: dev_t m_dev; /* Device */ ! 25: int m_flag; /* Flags */ ! 26: GATE m_ilock; /* Inode lock */ ! 27: GATE m_flock; /* Free list lock */ ! 28: struct filsys m_super; /* Super block */ ! 29: } MOUNT; ! 30: ! 31: /* ! 32: * Flags. ! 33: */ ! 34: #define MFRON 001 /* Read only file system */ ! 35: ! 36: #ifdef KERNEL ! 37: /* ! 38: * Functions. ! 39: */ ! 40: MOUNT *fsmount(); /* fs2.c */ ! 41: MOUNT *getment(); /* fs2.c */ ! 42: ! 43: /* ! 44: * Global variables. ! 45: */ ! 46: extern MOUNT *mountp; /* Mount table */ ! 47: ! 48: #endif ! 49: ! 50: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.