Lines Matching defs:vfs
85 typedef struct vfs {
86 struct vfs *vfs_next; /* next VFS in VFS list */
102 #define VFS_RDONLY 0x01 /* read-only vfs */
103 #define VFS_MLOCK 0x02 /* lock vfs so that subtree is stable */
133 int (*vfs_mount)(struct vfs *, struct vnode *, struct mounta *,
135 int (*vfs_unmount)(struct vfs *, struct cred *);
136 int (*vfs_root)(struct vfs *, struct vnode **);
137 int (*vfs_statvfs)(struct vfs *, struct statvfs64 *);
138 int (*vfs_sync)(struct vfs *, short, struct cred *);
139 int (*vfs_vget)(struct vfs *, struct vnode **, struct fid *);
140 int (*vfs_mountroot)(struct vfs *, enum whymountroot);
141 int (*vfs_swapvp)(struct vfs *, struct vnode **, char *);
188 void vfs_add(vnode_t *, struct vfs *, int);
189 void vfs_remove(struct vfs *);
190 int vfs_lock(struct vfs *);
191 void vfs_unlock(struct vfs *);
192 struct vfs *getvfs(fsid_t *);
193 struct vfs *vfs_devsearch(dev_t);
198 extern void vfs_add(); /* add a new vfs to mounted vfs list */
199 extern void vfs_remove(); /* remove a vfs from mounted vfs list */
200 extern int vfs_lock(); /* lock a vfs */
201 extern void vfs_unlock(); /* unlock a vfs */
202 extern vfs_t *getvfs(); /* return vfs given fsid */
203 extern vfs_t *vfs_devsearch(); /* find vfs given device */
209 (vfsp)->vfs_next = (struct vfs *)0; \
219 extern struct vfs *rootvfs; /* ptr to root vfs structure */