| /components/dfs/dfs_v2/include/ |
| A D | dfs_mnt.h | 22 struct dfs_mnt; 26 struct dfs_mnt struct 53 struct dfs_mnt *dfs_mnt_create(const char *path); argument 54 int dfs_mnt_destroy(struct dfs_mnt* mnt); 55 int dfs_mnt_list(struct dfs_mnt* mnt); 56 int dfs_mnt_insert(struct dfs_mnt* mnt, struct dfs_mnt* child); 59 struct dfs_mnt *dfs_mnt_lookup(const char *path); 62 struct dfs_mnt* dfs_mnt_ref(struct dfs_mnt* mnt); 63 int dfs_mnt_unref(struct dfs_mnt* mnt); 65 int dfs_mnt_umount(struct dfs_mnt *mnt, int flags); [all …]
|
| A D | dfs_dentry.h | 22 struct dfs_mnt; 38 struct dfs_mnt *mnt; /* which mounted file system does this dentry belong to */ 43 struct dfs_dentry *dfs_dentry_create(struct dfs_mnt *mnt, char *fullpath); 44 struct dfs_dentry *dfs_dentry_create_rela(struct dfs_mnt *mnt, char *rela_path); 48 struct dfs_dentry *dfs_dentry_lookup(struct dfs_mnt *mnt, const char *path, uint32_t flags);
|
| A D | dfs_fs.h | 74 struct dfs_mnt; 88 int (*mount)(struct dfs_mnt *mnt, unsigned long rwflag, const void *data); 89 int (*umount)(struct dfs_mnt *mnt); 101 int (*statfs)(struct dfs_mnt *mnt, struct statfs *buf); 130 int dfs_is_mounted(struct dfs_mnt *mnt);
|
| A D | dfs_pcache.h | 72 struct dfs_mnt *mnt; /* Mount point this space belongs to */ 125 void dfs_pcache_unmount(struct dfs_mnt *mnt); 126 void dfs_pcache_clean(struct dfs_mnt *mnt);
|
| A D | dfs_file.h | 64 struct dfs_mnt *mnt; /* which mounted file system does this vnode belong to */ 198 char *dfs_file_realpath(struct dfs_mnt **mnt, const char *fullpath, int mode);
|
| /components/dfs/dfs_v2/src/ |
| A D | dfs_mnt.c | 54 struct dfs_mnt *mnt = rt_calloc(1, sizeof(struct dfs_mnt)); in dfs_mnt_create() 85 int dfs_mnt_insert(struct dfs_mnt* mnt, struct dfs_mnt* child) in dfs_mnt_insert() 186 static struct dfs_mnt *_dfs_mnt_dev_lookup(struct dfs_mnt *mnt, rt_device_t dev_id) in _dfs_mnt_dev_lookup() 226 struct dfs_mnt *ret = RT_NULL; in dfs_mnt_dev_lookup() 261 struct dfs_mnt *iter = RT_NULL; in dfs_mnt_lookup() 315 struct dfs_mnt* dfs_mnt_ref(struct dfs_mnt* mnt) in dfs_mnt_ref() 458 static struct dfs_mnt* _dfs_mnt_foreach(struct dfs_mnt *mnt, struct dfs_mnt* (*func)(struct dfs_mnt… in _dfs_mnt_foreach() 502 static struct dfs_mnt* _mnt_cmp_devid(struct dfs_mnt *mnt, void *device) in _mnt_cmp_devid() 531 struct dfs_mnt* mnt; in dfs_mnt_get_mounted_path() 556 static struct dfs_mnt* _mnt_dump(struct dfs_mnt *mnt, void *parameter) in _mnt_dump() [all …]
|
| A D | dfs_dentry.c | 37 static uint32_t _dentry_hash(struct dfs_mnt *mnt, const char *path) in _dentry_hash() 62 static struct dfs_dentry *_dentry_create(struct dfs_mnt *mnt, char *path, rt_bool_t is_rela_path) in _dentry_create() 108 struct dfs_dentry *dfs_dentry_create(struct dfs_mnt *mnt, char *fullpath) in dfs_dentry_create() 124 struct dfs_dentry *dfs_dentry_create_rela(struct dfs_mnt *mnt, char *rela_path) in dfs_dentry_create_rela() 229 static struct dfs_dentry *_dentry_hash_lookup(struct dfs_mnt *mnt, const char *path) in _dentry_hash_lookup() 281 struct dfs_dentry *dfs_dentry_lookup(struct dfs_mnt *mnt, const char *path, uint32_t flags) in dfs_dentry_lookup()
|
| A D | dfs_fs.c | 148 struct dfs_mnt *mnt = RT_NULL; in dfs_remount() 230 struct dfs_mnt *mnt_parent = RT_NULL, *mnt_child = RT_NULL; in dfs_mount() 450 struct dfs_mnt *mnt = RT_NULL; in dfs_umount() 515 int dfs_is_mounted(struct dfs_mnt *mnt) in dfs_is_mounted() 592 struct dfs_mnt *mnt = RT_NULL; in dfs_mkfs() 630 struct dfs_mnt *mnt; in dfs_statfs()
|
| A D | dfs_file.c | 399 struct dfs_mnt *tmp_mnt; in dfs_file_realpath() 582 struct dfs_mnt *mnt = RT_NULL; in dfs_file_open() 1253 struct dfs_mnt *mnt = RT_NULL; in dfs_file_stat() 1322 struct dfs_mnt *mnt = RT_NULL; in dfs_file_lstat() 1431 struct dfs_mnt *mnt = RT_NULL; in dfs_file_setattr() 1686 struct dfs_mnt *mnt = RT_NULL; in dfs_file_unlink() 1791 struct dfs_mnt *mnt = RT_NULL; in dfs_file_link() 1893 struct dfs_mnt *mnt = RT_NULL; in dfs_file_symlink() 2038 struct dfs_mnt *mnt = RT_NULL; in dfs_file_readlink() 2116 struct dfs_mnt *mnt = RT_NULL; in dfs_file_rename() [all …]
|
| A D | dfs_pcache.c | 201 static void _pcache_clean(struct dfs_mnt *mnt, int (*cb)(struct dfs_aspace *aspace)) in _pcache_clean() 247 void dfs_pcache_unmount(struct dfs_mnt *mnt) in dfs_pcache_unmount() 272 void dfs_pcache_clean(struct dfs_mnt *mnt) in dfs_pcache_clean() 519 static uint32_t dfs_aspace_hash(struct dfs_mnt *mnt, const char *path) in dfs_aspace_hash()
|
| /components/dfs/dfs_v2/filesystems/procfs/ |
| A D | proc_mounts.c | 33 static struct dfs_mnt* mnt_show(struct dfs_mnt *mnt, void *parameter) in mnt_show()
|
| A D | procfs.c | 238 static int dfs_procfs_mount(struct dfs_mnt *mnt, unsigned long rwflag, const void *data) in dfs_procfs_mount() 245 static int dfs_procfs_umount(struct dfs_mnt *mnt) in dfs_procfs_umount() 317 static int dfs_procfs_statfs(struct dfs_mnt *mnt, struct statfs *buf) in dfs_procfs_statfs()
|
| /components/dfs/dfs_v2/filesystems/mqueue/ |
| A D | dfs_mqueue.c | 46 int dfs_mqueue_mount(struct dfs_mnt *mnt, unsigned long rwflag, const void *data) { in dfs_mqueue_mount() 50 int dfs_mqueue_umount(struct dfs_mnt *mnt) { in dfs_mqueue_umount() 54 int dfs_mqueue_statfs(struct dfs_mnt *mnt, struct statfs *buf) { in dfs_mqueue_statfs()
|
| /components/dfs/dfs_v2/filesystems/romfs/ |
| A D | dfs_romfs.c | 37 static int dfs_romfs_mount(struct dfs_mnt *mnt, unsigned long rwflag, const void *data) in dfs_romfs_mount() 50 static int dfs_romfs_umount(struct dfs_mnt *fs) in dfs_romfs_umount() 268 struct dfs_mnt *mnt; in dfs_romfs_open()
|
| /components/dfs/dfs_v2/filesystems/ptyfs/ |
| A D | ptyfs.c | 79 struct dfs_mnt *mount; /* mount data */ 326 static int ptyfs_ops_mount(struct dfs_mnt *mnt, unsigned long rwflag, in ptyfs_ops_mount() 381 static int ptyfs_ops_umount(struct dfs_mnt *mnt) in ptyfs_ops_umount() 412 static int ptyfs_ops_statfs(struct dfs_mnt *mnt, struct statfs *buf) in ptyfs_ops_statfs()
|
| /components/dfs/dfs_v2/filesystems/devfs/ |
| A D | devtmpfs.c | 143 static int devtmpfs_mount(struct dfs_mnt *mnt, unsigned long rwflag, const void *data) in devtmpfs_mount() 171 static int devtmpfs_unmount(struct dfs_mnt *mnt) in devtmpfs_unmount() 242 static int devtmpfs_statfs(struct dfs_mnt *mnt, struct statfs *buf) in devtmpfs_statfs()
|
| /components/dfs/dfs_v2/filesystems/elmfat/ |
| A D | dfs_elm.c | 63 int dfs_elm_unmount(struct dfs_mnt *mnt); 129 static int dfs_elm_mount(struct dfs_mnt *mnt, unsigned long rwflag, const void *data) in dfs_elm_mount() 211 int dfs_elm_unmount(struct dfs_mnt *mnt) in dfs_elm_unmount() 338 int dfs_elm_statfs(struct dfs_mnt *mnt, struct statfs *buf) in dfs_elm_statfs() 379 struct dfs_mnt *mnt = file->vnode->mnt; in dfs_elm_open()
|
| /components/dfs/dfs_v2/filesystems/tmpfs/ |
| A D | dfs_tmpfs.c | 131 static int dfs_tmpfs_mount(struct dfs_mnt *mnt, in dfs_tmpfs_mount() 160 static int dfs_tmpfs_unmount(struct dfs_mnt *mnt) in dfs_tmpfs_unmount() 175 int dfs_tmpfs_statfs(struct dfs_mnt *mnt, struct statfs *buf) in dfs_tmpfs_statfs()
|
| /components/dfs/dfs_v2/filesystems/cromfs/ |
| A D | dfs_cromfs.c | 518 static int dfs_cromfs_mount(struct dfs_mnt *mnt, unsigned long rwflag, const void *data) in dfs_cromfs_mount() 584 static int dfs_cromfs_unmount(struct dfs_mnt *mnt) in dfs_cromfs_unmount()
|