• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/sys/

Lines Matching defs:mount

61  *	@(#)mount.h	8.21 (Berkeley) 5/20/95
85 #include <sys/mount.h>
97 struct mount {
98 TAILQ_ENTRY(mount) mnt_list; /* mount list */
99 int32_t mnt_count; /* reference on the mount */
100 lck_mtx_t mnt_mlock; /* mutex that protects mount point */
104 struct vnodelst mnt_vnodelist; /* list of vnodes this mount */
105 struct vnodelst mnt_workerqueue; /* list of vnodes this mount */
106 struct vnodelst mnt_newvnodes; /* list of vnodes this mount */
109 int mnt_lflag; /* mount life cycle flags */
134 struct label *mnt_mntlabel; /* MAC mount label */
138 * cache the rootvp of the last mount point
139 * in the chain in the mount struct pointed
142 * mount chain traversal and allows us
149 * on it when we mount it
154 * bumped each time a mount or unmount
163 * on this mount... if zero, no cache is maintained...
172 * hosting this mount point. Set by vfs_markdependency()
196 /* mount point to which dead vps point to */
197 extern struct mount * dead_mountp;
202 * MNTK_UNMOUNT locks the mount entry so that name lookup cannot proceed
203 * past the mount point. This keeps the subtree stable during mounts
208 * of the mount flags.
229 #define MNT_LBUSY 0x00000001 /* mount is busy */
230 #define MNT_LUNMOUNT 0x00000002 /* mount in unmount */
231 #define MNT_LFORCE 0x00000004 /* mount in forced unmount */
232 #define MNT_LDRAIN 0x00000008 /* mount in drain */
233 #define MNT_LITER 0x00000010 /* mount in iteration */
234 #define MNT_LNEWVN 0x00000020 /* mount has new vnodes created */
236 #define MNT_LITERWAIT 0x00000080 /* mount in iteration */
237 #define MNT_LDEAD 0x00000100 /* mount already unmounted*/
258 * mount time to identify the requested filesystem.
267 int (*vfc_mountroot)(mount_t, vnode_t, vfs_context_t); /* if != NULL, routine to mount root */
312 * NOTE - must be kept in sync with struct statfs in mount.h
328 user_long_t f_flags; /* copy of mount exported flags */
354 extern TAILQ_HEAD(mntlist, mount) mountlist;
373 int safedounmount(struct mount *, int, vfs_context_t);
374 int dounmount(struct mount *, int, int, vfs_context_t);