Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/mount.h
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | |||||
* MNTK_UNMOUNTF permits filesystems to detect a forced unmount while | * MNTK_UNMOUNTF permits filesystems to detect a forced unmount while | ||||
* dounmount() is still waiting to lock the mountpoint. This allows | * dounmount() is still waiting to lock the mountpoint. This allows | ||||
* the filesystem to cancel operations that might otherwise deadlock | * the filesystem to cancel operations that might otherwise deadlock | ||||
* with the unmount attempt (used by NFS). | * with the unmount attempt (used by NFS). | ||||
*/ | */ | ||||
#define MNTK_UNMOUNTF 0x00000001 /* forced unmount in progress */ | #define MNTK_UNMOUNTF 0x00000001 /* forced unmount in progress */ | ||||
#define MNTK_ASYNC 0x00000002 /* filtered async flag */ | #define MNTK_ASYNC 0x00000002 /* filtered async flag */ | ||||
#define MNTK_SOFTDEP 0x00000004 /* async disabled by softdep */ | #define MNTK_SOFTDEP 0x00000004 /* async disabled by softdep */ | ||||
#define MNTK_NOMSYNC 0x00000008 /* don't do vfs_msync */ | #define MNTK_NOMSYNC 0x00000008 /* don't do msync */ | ||||
#define MNTK_DRAINING 0x00000010 /* lock draining is happening */ | #define MNTK_DRAINING 0x00000010 /* lock draining is happening */ | ||||
#define MNTK_REFEXPIRE 0x00000020 /* refcount expiring is happening */ | #define MNTK_REFEXPIRE 0x00000020 /* refcount expiring is happening */ | ||||
#define MNTK_EXTENDED_SHARED 0x00000040 /* Allow shared locking for more ops */ | #define MNTK_EXTENDED_SHARED 0x00000040 /* Allow shared locking for more ops */ | ||||
#define MNTK_SHARED_WRITES 0x00000080 /* Allow shared locking for writes */ | #define MNTK_SHARED_WRITES 0x00000080 /* Allow shared locking for writes */ | ||||
#define MNTK_NO_IOPF 0x00000100 /* Disallow page faults during reads | #define MNTK_NO_IOPF 0x00000100 /* Disallow page faults during reads | ||||
and writes. Filesystem shall properly | and writes. Filesystem shall properly | ||||
handle i/o state on EFAULT. */ | handle i/o state on EFAULT. */ | ||||
#define MNTK_VGONE_UPPER 0x00000200 | #define MNTK_VGONE_UPPER 0x00000200 | ||||
▲ Show 20 Lines • Show All 490 Lines • ▼ Show 20 Lines | |||||
int vfs_setopt(struct vfsoptlist *opts, const char *name, void *value, | int vfs_setopt(struct vfsoptlist *opts, const char *name, void *value, | ||||
int len); | int len); | ||||
int vfs_setopt_part(struct vfsoptlist *opts, const char *name, void *value, | int vfs_setopt_part(struct vfsoptlist *opts, const char *name, void *value, | ||||
int len); | int len); | ||||
int vfs_setopts(struct vfsoptlist *opts, const char *name, | int vfs_setopts(struct vfsoptlist *opts, const char *name, | ||||
const char *value); | const char *value); | ||||
int vfs_setpublicfs /* set publicly exported fs */ | int vfs_setpublicfs /* set publicly exported fs */ | ||||
(struct mount *, struct netexport *, struct export_args *); | (struct mount *, struct netexport *, struct export_args *); | ||||
void vfs_msync(struct mount *, int); | void vfs_periodic(struct mount *, int); | ||||
int vfs_busy(struct mount *, int); | int vfs_busy(struct mount *, int); | ||||
int vfs_export /* process mount export info */ | int vfs_export /* process mount export info */ | ||||
(struct mount *, struct export_args *); | (struct mount *, struct export_args *); | ||||
void vfs_allocate_syncvnode(struct mount *); | void vfs_allocate_syncvnode(struct mount *); | ||||
void vfs_deallocate_syncvnode(struct mount *); | void vfs_deallocate_syncvnode(struct mount *); | ||||
int vfs_donmount(struct thread *td, uint64_t fsflags, | int vfs_donmount(struct thread *td, uint64_t fsflags, | ||||
struct uio *fsoptions); | struct uio *fsoptions); | ||||
void vfs_getnewfsid(struct mount *); | void vfs_getnewfsid(struct mount *); | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |