version 1.155, 2007/03/10 16:50:01 |
version 1.155.2.2, 2007/04/10 13:26:19 |
|
|
void *mnt_data; /* private data */ |
void *mnt_data; /* private data */ |
int mnt_wcnt; /* count of vfs_busy waiters */ |
int mnt_wcnt; /* count of vfs_busy waiters */ |
struct lwp *mnt_unmounter; /* who is unmounting */ |
struct lwp *mnt_unmounter; /* who is unmounting */ |
int mnt_writeopcountupper; /* upper writeops in progress */ |
kmutex_t mnt_mutex; /* mutex for wcnt */ |
int mnt_writeopcountlower; /* lower writeops in progress */ |
|
struct simplelock mnt_slock; /* mutex for wcnt and |
|
writeops counters */ |
|
struct mount *mnt_leaf; /* leaf fs we mounted on */ |
|
specificdata_reference |
specificdata_reference |
mnt_specdataref; /* subsystem specific data */ |
mnt_specdataref; /* subsystem specific data */ |
}; |
}; |
Line 312 int vfs_mountedon(struct vnode *);/* is |
|
Line 308 int vfs_mountedon(struct vnode *);/* is |
|
int vfs_mountroot(void); |
int vfs_mountroot(void); |
void vfs_shutdown(void); /* unmount and sync file systems */ |
void vfs_shutdown(void); /* unmount and sync file systems */ |
void vfs_unmountall(struct lwp *); /* unmount file systems */ |
void vfs_unmountall(struct lwp *); /* unmount file systems */ |
int vfs_busy(struct mount *, int, struct simplelock *); |
int vfs_busy(struct mount *, int, kmutex_t *); |
int vfs_rootmountalloc(const char *, const char *, struct mount **); |
int vfs_rootmountalloc(const char *, const char *, struct mount **); |
void vfs_unbusy(struct mount *); |
void vfs_unbusy(struct mount *); |
int vfs_attach(struct vfsops *); |
int vfs_attach(struct vfsops *); |
Line 327 int vfs_stdsuspendctl(struct mount *, in |
|
Line 323 int vfs_stdsuspendctl(struct mount *, in |
|
extern CIRCLEQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */ |
extern CIRCLEQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */ |
extern struct vfsops *vfssw[]; /* filesystem type table */ |
extern struct vfsops *vfssw[]; /* filesystem type table */ |
extern int nvfssw; |
extern int nvfssw; |
extern struct simplelock mountlist_slock; |
extern kmutex_t mountlist_lock; |
extern struct simplelock spechash_slock; |
extern kmutex_t spechash_lock; |
long makefstype(const char *); |
long makefstype(const char *); |
int dounmount(struct mount *, int, struct lwp *); |
int dounmount(struct mount *, int, struct lwp *); |
void vfsinit(void); |
void vfsinit(void); |