Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/mount.h
Show First 20 Lines • Show All 367 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
#define MNT_UPDATE 0x0000000000010000ULL /* not real mount, just update */ | #define MNT_UPDATE 0x0000000000010000ULL /* not real mount, just update */ | ||||
#define MNT_DELEXPORT 0x0000000000020000ULL /* delete export host lists */ | #define MNT_DELEXPORT 0x0000000000020000ULL /* delete export host lists */ | ||||
#define MNT_RELOAD 0x0000000000040000ULL /* reload filesystem data */ | #define MNT_RELOAD 0x0000000000040000ULL /* reload filesystem data */ | ||||
#define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ | #define MNT_FORCE 0x0000000000080000ULL /* force unmount or readonly */ | ||||
#define MNT_SNAPSHOT 0x0000000001000000ULL /* snapshot the filesystem */ | #define MNT_SNAPSHOT 0x0000000001000000ULL /* snapshot the filesystem */ | ||||
#define MNT_NONBUSY 0x0000000004000000ULL /* check vnode use counts. */ | #define MNT_NONBUSY 0x0000000004000000ULL /* check vnode use counts. */ | ||||
#define MNT_BYFSID 0x0000000008000000ULL /* specify filesystem by ID. */ | #define MNT_BYFSID 0x0000000008000000ULL /* specify filesystem by ID. */ | ||||
#define MNT_NOCOVER 0x0000001000000000ULL /* Do not cover a mount point */ | |||||
#define MNT_EMPTYDIR 0x0000002000000000ULL /* Only mount on empty dir */ | |||||
#define MNT_CMDFLAGS (MNT_UPDATE | MNT_DELEXPORT | MNT_RELOAD | \ | #define MNT_CMDFLAGS (MNT_UPDATE | MNT_DELEXPORT | MNT_RELOAD | \ | ||||
MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \ | MNT_FORCE | MNT_SNAPSHOT | MNT_NONBUSY | \ | ||||
MNT_BYFSID) | MNT_BYFSID | MNT_NOCOVER | MNT_EMPTYDIR) | ||||
/* | /* | ||||
* Internal filesystem control flags stored in mnt_kern_flag. | * Internal filesystem control flags stored in mnt_kern_flag. | ||||
* | * | ||||
* MNTK_UNMOUNT locks the mount entry so that name lookup cannot | * MNTK_UNMOUNT locks the mount entry so that name lookup cannot | ||||
* proceed past the mount point. This keeps the subtree stable during | * proceed past the mount point. This keeps the subtree stable during | ||||
* mounts and unmounts. When non-forced unmount flushes all vnodes | * mounts and unmounts. When non-forced unmount flushes all vnodes | ||||
* from the mp queue, the MNTK_UNMOUNT flag prevents insmntque() from | * from the mp queue, the MNTK_UNMOUNT flag prevents insmntque() from | ||||
* queueing new vnodes. | * queueing new vnodes. | ||||
▲ Show 20 Lines • Show All 663 Lines • Show Last 20 Lines |