Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 25 of 40) sorted by relevance

12

/components/dfs/dfs_v2/filesystems/elmfat/
A Dff.c1043 if (Files[i].fs == fs) Files[i].fs = 0; in clear_share()
3740 dj.obj.fs = fs;
4285 dj.obj.fs = fs;
4356 dj.obj.fs = fs;
4612 dp->obj.fs = fs;
4996 dj.obj.fs = fs;
5015 obj.fs = fs;
5087 dj.obj.fs = fs;
5173 djo.obj.fs = fs;
5281 dj.obj.fs = fs;
[all …]
/components/dfs/dfs_v1/filesystems/elmfat/
A Dff.c1013 if (Files[i].fs == fs) Files[i].fs = 0; in clear_lock()
3676 dj.obj.fs = fs;
4221 dj.obj.fs = fs;
4292 dj.obj.fs = fs;
4546 dp->obj.fs = fs;
4926 dj.obj.fs = fs;
4945 obj.fs = fs;
5017 dj.obj.fs = fs;
5103 djo.obj.fs = fs;
5211 dj.obj.fs = fs;
[all …]
A Ddfs_elm.c36 #define SS(fs) ((fs)->ssize) /* Variable sector size */ argument
120 disk[index] = fs->dev_id; in dfs_elm_mount()
161 fs->data = fat; in dfs_elm_mount()
180 fat = (FATFS *)fs->data; in dfs_elm_unmount()
185 index = get_disk(fs->dev_id); in dfs_elm_unmount()
194 fs->data = RT_NULL; in dfs_elm_unmount()
306 RT_ASSERT(fs != RT_NULL); in dfs_elm_statfs()
309 f = (FATFS *)fs->data; in dfs_elm_statfs()
340 struct dfs_filesystem *fs = file->vnode->fs; in dfs_elm_open() local
354 if (fs == NULL) in dfs_elm_open()
[all …]
/components/dfs/dfs_v1/src/
A Ddfs_fs.c107 fs = iter; in dfs_filesystem_lookup()
113 return fs; in dfs_filesystem_lookup()
296 (fs == NULL) ? (fs = iter) : 0; in dfs_mount()
314 fs->ops = *ops; in dfs_mount()
390 fs = iter; in dfs_unmount()
395 if (fs == NULL || in dfs_unmount()
397 fs->ops->unmount(fs) < 0) in dfs_unmount()
492 if (fs != NULL) in dfs_statfs()
495 return fs->ops->statfs(fs, buffer); in dfs_statfs()
586 if (fs == NULL || in dfs_unmount_device()
[all …]
A Ddfs_file.c187 struct dfs_filesystem *fs; in dfs_file_open() local
221 if (fs == NULL) in dfs_file_open()
238 vnode->fs = fs; /* set file system */ in dfs_file_open()
488 struct dfs_filesystem *fs; in dfs_file_unlink() local
516 result = fs->ops->unlink(fs, "/"); in dfs_file_unlink()
518 result = fs->ops->unlink(fs, dfs_subdir(fs->path, fullpath)); in dfs_file_unlink()
521 result = fs->ops->unlink(fs, fullpath); in dfs_file_unlink()
611 struct dfs_filesystem *fs; in dfs_file_stat() local
627 if (fs->ops->stat == NULL) in dfs_file_stat()
637 result = fs->ops->stat(fs, fullpath, buf); in dfs_file_stat()
[all …]
A Ddfs.c495 struct dfs_filesystem *fs; in fd_is_open() local
504 fs = dfs_filesystem_lookup(fullpath); in fd_is_open()
505 if (fs == NULL) in fd_is_open()
514 if (fs->path[0] == '/' && fs->path[1] == '\0') in fd_is_open()
517 mountpath = fullpath + strlen(fs->path); in fd_is_open()
526 if (fd->vnode->fs == fs && strcmp(fd->vnode->path, mountpath) == 0) in fd_is_open()
/components/dfs/dfs_v2/filesystems/procfs/
A Dproc_filesystems.c25 struct dfs_filesystem_type *fs = dfs_filesystems(); in seq_start() local
27 if (fs) in seq_start()
31 fs = fs->next; in seq_start()
32 if (!fs) in seq_start()
39 return fs; in seq_start()
50 struct dfs_filesystem_type *fs = (struct dfs_filesystem_type *)data; in seq_next() local
54 return fs->next; in seq_next()
60 struct dfs_filesystem_type *fs = (struct dfs_filesystem_type *)data; in seq_show() local
62 …dfs_seq_printf(seq, "%-9s%s\n", (fs->fs_ops->flags == FS_NEED_DEVICE) ? "" : "nodev", fs->fs_ops->… in seq_show()
/components/dfs/dfs_v1/filesystems/ramfs/
A Ddfs_ramfs.c20 int dfs_ramfs_mount(struct dfs_filesystem *fs, in dfs_ramfs_mount() argument
30 fs->data = ramfs; in dfs_ramfs_mount()
37 fs->data = NULL; in dfs_ramfs_unmount()
46 ramfs = (struct dfs_ramfs *)fs->data; in dfs_ramfs_statfs()
125 ramfs = dirent->fs; in dfs_ramfs_write()
184 struct dfs_filesystem *fs; in dfs_ramfs_open() local
198 fs = file->vnode->fs; in dfs_ramfs_open()
200 ramfs = (struct dfs_ramfs *)fs->data; in dfs_ramfs_open()
257 dirent->fs = ramfs; in dfs_ramfs_open()
330 ramfs = dirent->fs; in dfs_ramfs_getdents()
[all …]
A Ddfs_ramfs.h24 struct dfs_ramfs *fs; /* file system ref */ member
/components/dfs/dfs_v2/filesystems/ramfs/
A Ddfs_ramfs.c20 int dfs_ramfs_mount(struct dfs_filesystem *fs, in dfs_ramfs_mount() argument
30 fs->data = ramfs; in dfs_ramfs_mount()
37 fs->data = NULL; in dfs_ramfs_unmount()
46 ramfs = (struct dfs_ramfs *)fs->data; in dfs_ramfs_statfs()
125 ramfs = dirent->fs; in dfs_ramfs_write()
184 struct dfs_filesystem *fs; in dfs_ramfs_open() local
198 fs = file->vnode->fs; in dfs_ramfs_open()
200 ramfs = (struct dfs_ramfs *)fs->data; in dfs_ramfs_open()
257 dirent->fs = ramfs; in dfs_ramfs_open()
330 ramfs = dirent->fs; in dfs_ramfs_getdents()
[all …]
A Ddfs_ramfs.h24 struct dfs_ramfs *fs; /* file system ref */ member
/components/dfs/dfs_v1/include/
A Ddfs_fs.h36 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);
/components/dfs/dfs_v1/filesystems/tmpfs/
A Ddfs_tmpfs.c116 int dfs_tmpfs_mount(struct dfs_filesystem *fs, in dfs_tmpfs_mount() argument
137 fs->data = superblock; in dfs_tmpfs_mount()
151 superblock = (struct tmpfs_sb *)fs->data; in dfs_tmpfs_unmount()
157 fs->data = NULL; in dfs_tmpfs_unmount()
166 superblock = (struct tmpfs_sb *)fs->data; in dfs_tmpfs_statfs()
370 struct dfs_filesystem *fs; in dfs_tmpfs_open() local
385 fs = file->vnode->fs; in dfs_tmpfs_open()
387 superblock = (struct tmpfs_sb *)fs->data; in dfs_tmpfs_open()
483 int dfs_tmpfs_stat(struct dfs_filesystem *fs, in dfs_tmpfs_stat() argument
491 superblock = (struct tmpfs_sb *)fs->data; in dfs_tmpfs_stat()
[all …]
/components/dfs/dfs_v1/filesystems/nfs/
A Ddfs_nfs.c478 fs->data = nfs; in nfs_mount()
507 RT_ASSERT(fs != NULL); in nfs_unmount()
508 RT_ASSERT(fs->data != NULL); in nfs_unmount()
509 nfs = (nfs_filesystem *)fs->data; in nfs_unmount()
544 fs->data = NULL; in nfs_unmount()
848 RT_ASSERT(fs != NULL); in nfs_stat()
849 RT_ASSERT(fs->data != NULL); in nfs_stat()
975 RT_ASSERT(fs != NULL); in nfs_unlink()
976 RT_ASSERT(fs->data != NULL); in nfs_unlink()
1061 RT_ASSERT(fs != NULL); in nfs_rename()
[all …]
/components/dfs/dfs_v1/filesystems/romfs/
A Ddfs_romfs.c17 int dfs_romfs_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_romfs_mount() argument
25 fs->data = root_dirent; in dfs_romfs_mount()
30 int dfs_romfs_unmount(struct dfs_filesystem *fs) in dfs_romfs_unmount() argument
203 struct dfs_filesystem *fs; in dfs_romfs_open() local
222 fs = file->vnode->fs; in dfs_romfs_open()
223 root_dirent = (struct romfs_dirent *)fs->data; in dfs_romfs_open()
267 int dfs_romfs_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_romfs_stat() argument
273 root_dirent = (struct romfs_dirent *)fs->data; in dfs_romfs_stat()
/components/dfs/dfs_v1/filesystems/skeleton/
A Dskeleton.c17 int dfs_skt_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_skt_mount() argument
22 int dfs_skt_unmount(struct dfs_filesystem *fs) in dfs_skt_unmount() argument
52 int dfs_skt_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_skt_stat() argument
/components/dfs/dfs_v2/filesystems/skeleton/
A Dskeleton.c17 int dfs_skt_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_skt_mount() argument
22 int dfs_skt_unmount(struct dfs_filesystem *fs) in dfs_skt_unmount() argument
52 int dfs_skt_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_skt_stat() argument
/components/dfs/dfs_v1/filesystems/mqueue/
A Ddfs_mqueue.c42 int dfs_mqueue_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) { in dfs_mqueue_mount() argument
46 int dfs_mqueue_unmount(struct dfs_filesystem *fs) { return RT_EOK; } in dfs_mqueue_unmount() argument
48 int dfs_mqueue_statfs(struct dfs_filesystem *fs, struct statfs *buf) { return RT_EOK; } in dfs_mqueue_statfs() argument
87 int dfs_mqueue_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) { in dfs_mqueue_stat() argument
124 int dfs_mqueue_unlink(struct dfs_filesystem *fs, const char *path) { in dfs_mqueue_unlink() argument
/components/dfs/dfs_v2/src/
A Ddfs_fs.c81 int dfs_register(struct dfs_filesystem_type *fs) in dfs_register() argument
84 struct dfs_filesystem_type **type = _find_filesystem(fs->fs_ops->name); in dfs_register()
86 LOG_D("register %s file system.", fs->fs_ops->name); in dfs_register()
94 *type = fs; in dfs_register()
108 int dfs_unregister(struct dfs_filesystem_type *fs) in dfs_unregister() argument
113 if (fs) in dfs_unregister()
115 LOG_D("unregister %s file system.", fs->fs_ops->name); in dfs_unregister()
119 if (strcmp((*type)->fs_ops->name, fs->fs_ops->name) == 0) in dfs_unregister()
/components/dfs/dfs_v1/filesystems/cromfs/
A Ddfs_cromfs.c497 ci->device = fs->dev_id; in dfs_cromfs_mount()
518 fs->data = ci; in dfs_cromfs_mount()
534 ci = (cromfs_info *)fs->data; in dfs_cromfs_unmount()
724 struct dfs_filesystem *fs = NULL; in dfs_cromfs_read() local
729 fs = (struct dfs_filesystem *)file->vnode->fs; in dfs_cromfs_read()
730 ci = (cromfs_info *)fs->data; in dfs_cromfs_read()
907 fs = (struct dfs_filesystem *)file->vnode->fs; in dfs_cromfs_close()
908 ci = (cromfs_info *)fs->data; in dfs_cromfs_close()
949 fs = file->vnode->fs; in dfs_cromfs_open()
950 ci = (cromfs_info *)fs->data; in dfs_cromfs_open()
[all …]
/components/dfs/dfs_v1/filesystems/devfs/
A Ddevfs.c27 int dfs_device_fs_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) in dfs_device_fs_mount() argument
32 int dfs_device_fs_statfs(struct dfs_filesystem *fs, struct statfs *buf) in dfs_device_fs_statfs() argument
268 int dfs_device_fs_unlink(struct dfs_filesystem *fs, const char *path) in dfs_device_fs_unlink() argument
287 int dfs_device_fs_stat(struct dfs_filesystem *fs, const char *path, struct stat *st) in dfs_device_fs_stat() argument
289 st->st_dev = (dev_t)((size_t)dfs_filesystem_lookup(fs->path)); in dfs_device_fs_stat()
/components/dfs/dfs_v1/filesystems/iso9660/
A Ddfs_iso9660.c378 struct iso9660 *iso = fd->vnode->fs->data; in dfs_iso9660_open()
531 static int dfs_iso9660_mount(struct dfs_filesystem *fs, in dfs_iso9660_mount() argument
544 iso->dev = fs->dev_id; in dfs_iso9660_mount()
631 fs->data = iso; in dfs_iso9660_mount()
641 static int dfs_iso9660_unmount(struct dfs_filesystem *fs) in dfs_iso9660_unmount() argument
643 struct iso9660 *iso = fs->data; in dfs_iso9660_unmount()
650 static int dfs_iso9660_stat(struct dfs_filesystem *fs, in dfs_iso9660_stat() argument
653 struct iso9660 *iso = fs->data; in dfs_iso9660_stat()
/components/drivers/usb/cherryusb/platform/
A DREADME.md28 - fs support with usb device msc.
29 - fs support with usb host msc.
/components/dfs/dfs_v2/include/
A Ddfs_fs.h118 int dfs_unregister(struct dfs_filesystem_type *fs);
119 int dfs_register(struct dfs_filesystem_type *fs);
/components/lwp/arch/x86/i386/
A Dlwp_gcc.S24 popl %fs

Completed in 767 milliseconds

12