| /components/dfs/dfs_v1/include/ |
| A D | dfs_fs.h | 23 struct dfs_filesystem; 36 int (*mount) (struct dfs_filesystem *fs, unsigned long rwflag, const void *data); 37 int (*unmount) (struct dfs_filesystem *fs); 41 int (*statfs) (struct dfs_filesystem *fs, struct statfs *buf); 43 int (*unlink) (struct dfs_filesystem *fs, const char *pathname); 44 int (*stat) (struct dfs_filesystem *fs, const char *filename, struct stat *buf); 45 int (*rename) (struct dfs_filesystem *fs, const char *oldpath, const char *newpath); 49 struct dfs_filesystem struct 79 struct dfs_filesystem *dfs_filesystem_lookup(const char *path); argument
|
| A D | dfs_private.h | 23 extern struct dfs_filesystem filesystem_table[];
|
| A D | dfs_file.h | 49 struct dfs_filesystem *fs;
|
| /components/dfs/dfs_v1/src/ |
| A D | dfs_fs.c | 80 struct dfs_filesystem *iter; in dfs_filesystem_lookup() 81 struct dfs_filesystem *fs = NULL; in dfs_filesystem_lookup() 126 struct dfs_filesystem *iter; in dfs_filesystem_get_mounted_path() 221 struct dfs_filesystem *iter; in dfs_mount() 222 struct dfs_filesystem *fs = NULL; in dfs_mount() 370 struct dfs_filesystem *iter; in dfs_unmount() 371 struct dfs_filesystem *fs = NULL; in dfs_unmount() 410 rt_memset(fs, 0, sizeof(struct dfs_filesystem)); in dfs_unmount() 489 struct dfs_filesystem *fs; in dfs_statfs() 569 struct dfs_filesystem *iter; in dfs_unmount_device() [all …]
|
| A D | dfs_file.c | 187 struct dfs_filesystem *fs; in dfs_file_open() 488 struct dfs_filesystem *fs; in dfs_file_unlink() 611 struct dfs_filesystem *fs; in dfs_file_stat() 662 struct dfs_filesystem *oldfs = NULL, *newfs = NULL; in dfs_file_rename()
|
| A D | dfs.c | 27 struct dfs_filesystem filesystem_table[DFS_FILESYSTEMS_MAX]; 495 struct dfs_filesystem *fs; in fd_is_open()
|
| /components/dfs/dfs_v1/filesystems/skeleton/ |
| A D | skeleton.c | 17 int dfs_skt_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_skt_mount() 22 int dfs_skt_unmount(struct dfs_filesystem *fs) in dfs_skt_unmount() 52 int dfs_skt_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_skt_stat()
|
| /components/dfs/dfs_v2/filesystems/skeleton/ |
| A D | skeleton.c | 17 int dfs_skt_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_skt_mount() 22 int dfs_skt_unmount(struct dfs_filesystem *fs) in dfs_skt_unmount() 52 int dfs_skt_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_skt_stat()
|
| /components/dfs/dfs_v1/filesystems/mqueue/ |
| A D | dfs_mqueue.c | 42 int dfs_mqueue_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) { in dfs_mqueue_mount() 46 int dfs_mqueue_unmount(struct dfs_filesystem *fs) { return RT_EOK; } in dfs_mqueue_unmount() 48 int dfs_mqueue_statfs(struct dfs_filesystem *fs, struct statfs *buf) { return RT_EOK; } in dfs_mqueue_statfs() 87 int dfs_mqueue_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) { in dfs_mqueue_stat() 124 int dfs_mqueue_unlink(struct dfs_filesystem *fs, const char *path) { in dfs_mqueue_unlink()
|
| /components/dfs/dfs_v1/filesystems/ramfs/ |
| A D | dfs_ramfs.c | 20 int dfs_ramfs_mount(struct dfs_filesystem *fs, in dfs_ramfs_mount() 35 int dfs_ramfs_unmount(struct dfs_filesystem *fs) in dfs_ramfs_unmount() 42 int dfs_ramfs_statfs(struct dfs_filesystem *fs, struct statfs *buf) in dfs_ramfs_statfs() 184 struct dfs_filesystem *fs; in dfs_ramfs_open() 295 int dfs_ramfs_stat(struct dfs_filesystem *fs, in dfs_ramfs_stat() 365 int dfs_ramfs_unlink(struct dfs_filesystem *fs, const char *path) in dfs_ramfs_unlink() 386 int dfs_ramfs_rename(struct dfs_filesystem *fs, in dfs_ramfs_rename()
|
| /components/dfs/dfs_v2/filesystems/ramfs/ |
| A D | dfs_ramfs.c | 20 int dfs_ramfs_mount(struct dfs_filesystem *fs, in dfs_ramfs_mount() 35 int dfs_ramfs_unmount(struct dfs_filesystem *fs) in dfs_ramfs_unmount() 42 int dfs_ramfs_statfs(struct dfs_filesystem *fs, struct statfs *buf) in dfs_ramfs_statfs() 184 struct dfs_filesystem *fs; in dfs_ramfs_open() 295 int dfs_ramfs_stat(struct dfs_filesystem *fs, in dfs_ramfs_stat() 365 int dfs_ramfs_unlink(struct dfs_filesystem *fs, const char *path) in dfs_ramfs_unlink() 386 int dfs_ramfs_rename(struct dfs_filesystem *fs, in dfs_ramfs_rename()
|
| /components/dfs/dfs_v1/filesystems/nfs/ |
| A D | dfs_nfs.c | 435 int nfs_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in nfs_mount() 503 int nfs_unmount(struct dfs_filesystem *fs) in nfs_unmount() 566 struct dfs_filesystem *dfs_nfs = ((struct dfs_filesystem *)(file->vnode->fs)); in nfs_read() 635 struct dfs_filesystem *dfs_nfs = ((struct dfs_filesystem *)(file->vnode->fs)); in nfs_write() 697 struct dfs_filesystem *dfs_nfs = ((struct dfs_filesystem *)(file->vnode->fs)); in nfs_lseek() 716 struct dfs_filesystem *dfs_nfs = ((struct dfs_filesystem *)(file->vnode->fs)); in nfs_close() 753 struct dfs_filesystem *dfs_nfs = file->vnode->fs; in nfs_open() 840 int nfs_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in nfs_stat() 970 int nfs_unlink(struct dfs_filesystem *fs, const char *path) in nfs_unlink() 1052 int nfs_rename(struct dfs_filesystem *fs, const char *src, const char *dest) in nfs_rename() [all …]
|
| /components/dfs/dfs_v1/filesystems/tmpfs/ |
| A D | dfs_tmpfs.c | 116 int dfs_tmpfs_mount(struct dfs_filesystem *fs, in dfs_tmpfs_mount() 147 int dfs_tmpfs_unmount(struct dfs_filesystem *fs) in dfs_tmpfs_unmount() 162 int dfs_tmpfs_statfs(struct dfs_filesystem *fs, struct statfs *buf) in dfs_tmpfs_statfs() 370 struct dfs_filesystem *fs; in dfs_tmpfs_open() 483 int dfs_tmpfs_stat(struct dfs_filesystem *fs, in dfs_tmpfs_stat() 567 int dfs_tmpfs_unlink(struct dfs_filesystem *fs, const char *path) in dfs_tmpfs_unlink() 591 int dfs_tmpfs_rename(struct dfs_filesystem *fs, in dfs_tmpfs_rename()
|
| /components/dfs/dfs_v1/filesystems/romfs/ |
| A D | dfs_romfs.c | 17 int dfs_romfs_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_romfs_mount() 30 int dfs_romfs_unmount(struct dfs_filesystem *fs) in dfs_romfs_unmount() 203 struct dfs_filesystem *fs; in dfs_romfs_open() 267 int dfs_romfs_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_romfs_stat()
|
| /components/dfs/dfs_v1/filesystems/devfs/ |
| A D | devfs.c | 27 int dfs_device_fs_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_device_fs_mount() 32 int dfs_device_fs_statfs(struct dfs_filesystem *fs, struct statfs *buf) in dfs_device_fs_statfs() 268 int dfs_device_fs_unlink(struct dfs_filesystem *fs, const char *path) in dfs_device_fs_unlink() 287 int dfs_device_fs_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_device_fs_stat()
|
| /components/dfs/dfs_v1/filesystems/elmfat/ |
| A D | dfs_elm.c | 105 int dfs_elm_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_elm_mount() 173 int dfs_elm_unmount(struct dfs_filesystem *fs) in dfs_elm_unmount() 299 int dfs_elm_statfs(struct dfs_filesystem *fs, struct statfs *buf) in dfs_elm_statfs() 340 struct dfs_filesystem *fs = file->vnode->fs; in dfs_elm_open() 691 int dfs_elm_unlink(struct dfs_filesystem *fs, const char *path) in dfs_elm_unlink() 721 int dfs_elm_rename(struct dfs_filesystem *fs, const char *oldpath, const char *newpath) in dfs_elm_rename() 756 int dfs_elm_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_elm_stat()
|
| /components/dfs/dfs_v1/filesystems/cromfs/ |
| A D | dfs_cromfs.c | 484 static int dfs_cromfs_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_cromfs_mount() 529 static int dfs_cromfs_unmount(struct dfs_filesystem *fs) in dfs_cromfs_unmount() 724 struct dfs_filesystem *fs = NULL; in dfs_cromfs_read() 729 fs = (struct dfs_filesystem *)file->vnode->fs; in dfs_cromfs_read() 896 struct dfs_filesystem *fs = NULL; in dfs_cromfs_close() 907 fs = (struct dfs_filesystem *)file->vnode->fs; in dfs_cromfs_close() 924 struct dfs_filesystem *fs = NULL; in dfs_cromfs_open() 1015 static int dfs_cromfs_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_cromfs_stat()
|
| /components/dfs/dfs_v1/filesystems/iso9660/ |
| A D | dfs_iso9660.c | 531 static int dfs_iso9660_mount(struct dfs_filesystem *fs, in dfs_iso9660_mount() 641 static int dfs_iso9660_unmount(struct dfs_filesystem *fs) in dfs_iso9660_unmount() 650 static int dfs_iso9660_stat(struct dfs_filesystem *fs, in dfs_iso9660_stat()
|
| /components/finsh/ |
| A D | msh_file.c | 561 extern struct dfs_filesystem filesystem_table[]; in cmd_mount() 562 struct dfs_filesystem *iter; in cmd_mount()
|