27#define MS_SYNCHRONOUS 16
31#define MS_NOATIME 1024
32#define MS_NODIRATIME 2048
36#define MS_SILENT 32768
37#define MS_POSIXACL (1<<16)
38#define MS_UNBINDABLE (1<<17)
39#define MS_PRIVATE (1<<18)
40#define MS_SLAVE (1<<19)
41#define MS_SHARED (1<<20)
42#define MS_RELATIME (1<<21)
43#define MS_KERNMOUNT (1<<22)
44#define MS_I_VERSION (1<<23)
45#define MS_STRICTATIME (1<<24)
46#define MS_LAZYTIME (1<<25)
47#define MS_NOREMOTELOCK (1<<27)
48#define MS_NOSEC (1<<28)
49#define MS_BORN (1<<29)
50#define MS_ACTIVE (1<<30)
51#define MS_NOUSER (1U<<31)
53#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME)
84#define FS_NEED_DEVICE 0x1
88 int (*
mount)(
struct dfs_mnt *mnt,
unsigned long rwflag,
const void *data);
125 const char *filesystemtype,
126 unsigned long rwflag,
128int dfs_umount(
const char *specialfile,
int flags);
131int dfs_mkfs(
const char *fs_name,
const char *device_name);
int dfs_statfs(const char *path, struct statfs *buffer)
int dfs_unregister(struct dfs_filesystem_type *fs)
int dfs_mkfs(const char *fs_name, const char *device_name)
int dfs_is_mounted(struct dfs_mnt *mnt)
int dfs_mount(const char *device_name, const char *path, const char *filesystemtype, unsigned long rwflag, const void *data)
const char * dfs_filesystem_get_mounted_path(struct rt_device *device)
int dfs_unmount(const char *specialfile)
int dfs_umount(const char *specialfile, int flags)
int dfs_register(struct dfs_filesystem_type *fs)
int dfs_filesystem_get_partition(struct dfs_partition *part, uint8_t *buf, uint32_t pindex)
struct dfs_filesystem_type * dfs_filesystems(void)
int dfs_remount(const char *path, rt_ubase_t flags, void *data)
struct rt_device * rt_device_t
int statfs(const char *path, struct statfs *buf)
struct rt_semaphore * rt_sem_t
int(* unlink)(struct dfs_dentry *dentry)
int(* mkfs)(rt_device_t devid, const char *fs_name)
int(* statfs)(struct dfs_mnt *mnt, struct statfs *buf)
int(* setattr)(struct dfs_dentry *dentry, struct dfs_attr *attr)
int(* umount)(struct dfs_mnt *mnt)
int(* rename)(struct dfs_dentry *old_dentry, struct dfs_dentry *new_dentry)
int(* stat)(struct dfs_dentry *dentry, struct stat *buf)
int(* symlink)(struct dfs_dentry *parent_dentry, const char *target, const char *newpath)
int(* link)(struct dfs_dentry *src_dentry, struct dfs_dentry *dst_dentry)
const struct dfs_file_ops * default_fops
int(* free_vnode)(struct dfs_vnode *vnode)
int(* mount)(struct dfs_mnt *mnt, unsigned long rwflag, const void *data)
int(* readlink)(struct dfs_dentry *dentry, char *buf, int len)
const struct dfs_filesystem_ops * fs_ops
struct dfs_filesystem_type * next