/Zephyr-Core-3.4.0/include/zephyr/fs/ |
D | fs_sys.h | 61 int (*mount)(struct fs_mount_t *mountp); 62 int (*unmount)(struct fs_mount_t *mountp); 63 int (*unlink)(struct fs_mount_t *mountp, const char *name); 64 int (*rename)(struct fs_mount_t *mountp, const char *from, 66 int (*mkdir)(struct fs_mount_t *mountp, const char *name); 67 int (*stat)(struct fs_mount_t *mountp, const char *path, 69 int (*statvfs)(struct fs_mount_t *mountp, const char *path,
|
D | fs_interface.h | 38 struct fs_mount_t; 55 const struct fs_mount_t *mp; 69 const struct fs_mount_t *mp;
|
D | fs.h | 92 struct fs_mount_t { struct 214 extern struct fs_mount_t FS_FSTAB_ENTRY(node_id) 541 int fs_mount(struct fs_mount_t *mp); 557 int fs_unmount(struct fs_mount_t *mp);
|
/Zephyr-Core-3.4.0/tests/subsys/fs/littlefs/src/ |
D | testfs_lfs.h | 17 extern struct fs_mount_t testfs_small_mnt; 18 extern struct fs_mount_t testfs_medium_mnt; 19 extern struct fs_mount_t testfs_large_mnt; 39 int testfs_lfs_wipe_partition(const struct fs_mount_t *mp);
|
D | testfs_open_flags.c | 16 static void mount(struct fs_mount_t *mp) in mount() 23 static void unmount(struct fs_mount_t *mp) in unmount() 31 static void cleanup(struct fs_mount_t *mp) in cleanup() 45 struct fs_mount_t *mp = &testfs_small_mnt; in ZTEST()
|
D | testfs_lfs.c | 22 struct fs_mount_t testfs_small_mnt = { 32 struct fs_mount_t testfs_medium_mnt = { 54 struct fs_mount_t testfs_large_mnt = { 63 int testfs_lfs_wipe_partition(const struct fs_mount_t *mp) in testfs_lfs_wipe_partition()
|
D | test_lfs_basic.c | 30 static int mount(struct fs_mount_t *mp) in mount() 40 static int clear_partition(struct fs_mount_t *mp) in clear_partition() 51 static int clean_statvfs(const struct fs_mount_t *mp) in clean_statvfs() 75 static int create_write_hello(const struct fs_mount_t *mp) in create_write_hello() 143 static int verify_hello(const struct fs_mount_t *mp) in verify_hello() 175 static int seek_within_hello(const struct fs_mount_t *mp) in seek_within_hello() 243 static int truncate_hello(const struct fs_mount_t *mp) in truncate_hello() 309 static int unlink_hello(const struct fs_mount_t *mp) in unlink_hello() 334 static int sync_goodbye(const struct fs_mount_t *mp) in sync_goodbye() 398 static int verify_goodbye(const struct fs_mount_t *mp) in verify_goodbye() [all …]
|
D | testfs_mkfs.c | 17 struct fs_mount_t *fs_mkfs_mp = &testfs_small_mnt; 24 static void cleanup(struct fs_mount_t *mp) in cleanup() 59 struct fs_mount_t mnt = testfs_small_mnt; in ZTEST()
|
D | test_lfs_dirops.c | 34 static int clean_mount(struct fs_mount_t *mp) in clean_mount() 47 static int check_mkdir(struct fs_mount_t *mp) in check_mkdir() 97 static int build_layout(struct fs_mount_t *mp, in build_layout() 128 static int check_layout(struct fs_mount_t *mp, in check_layout() 164 static int check_rename(struct fs_mount_t *mp) in check_rename() 314 struct fs_mount_t *mp = &testfs_small_mnt; in ZTEST()
|
D | test_util.c | 19 static const struct fs_mount_t mnt = { 42 struct fs_mount_t invalid = { in ZTEST() 56 struct fs_mount_t overrun_mnt = { in ZTEST()
|
D | testfs_mount_flags.c | 12 static void cleanup(struct fs_mount_t *mp) in cleanup() 25 struct fs_mount_t *mp = &testfs_small_mnt; in ZTEST()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | test_fat_mount.c | 21 static struct fs_mount_t fatfs_mnt = { 28 static struct fs_mount_t fatfs_mnt1 = { 34 static int test_mount(struct fs_mount_t *mnt) in test_mount()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/fs_api/src/ |
D | test_fs.c | 23 static struct fs_mount_t *mp[FS_TYPE_EXTERNAL_BASE]; 64 static int temp_unlink(struct fs_mount_t *mountp, const char *path) in temp_unlink() 76 static int temp_rename(struct fs_mount_t *mountp, const char *from, in temp_rename() 200 static int temp_mkdir(struct fs_mount_t *mountp, const char *path) in temp_mkdir() 284 static int temp_stat(struct fs_mount_t *mountp, in temp_stat() 294 static int temp_statvfs(struct fs_mount_t *mountp, in temp_statvfs() 306 static int temp_mount(struct fs_mount_t *mountp) in temp_mount() 321 static int temp_unmount(struct fs_mount_t *mountp) in temp_unmount()
|
D | test_multi_fs.c | 15 static struct fs_mount_t test_fs_mnt_1 = { 21 static struct fs_mount_t test_fs_mnt_2 = {
|
/Zephyr-Core-3.4.0/subsys/fs/ |
D | fs.c | 82 static int fs_get_mnt_point(struct fs_mount_t **mnt_pntp, in fs_get_mnt_point() 85 struct fs_mount_t *mnt_p = NULL, *itr; in fs_get_mnt_point() 92 itr = CONTAINER_OF(node, struct fs_mount_t, node); in fs_get_mnt_point() 135 struct fs_mount_t *mp; in fs_open() 323 struct fs_mount_t *mp; in fs_opendir() 422 struct fs_mount_t *mnt; in fs_readdir() 424 mnt = CONTAINER_OF(node, struct fs_mount_t, node); in fs_readdir() 479 struct fs_mount_t *mp; in fs_mkdir() 512 struct fs_mount_t *mp; in fs_unlink() 545 struct fs_mount_t *mp; in fs_rename() [all …]
|
D | fs_impl.h | 29 const struct fs_mount_t *mp);
|
D | fs_impl.c | 12 const struct fs_mount_t *mp) in fs_impl_strip_prefix()
|
D | fat_fs.c | 134 static int fatfs_unlink(struct fs_mount_t *mountp, const char *path) in fatfs_unlink() 147 static int fatfs_rename(struct fs_mount_t *mountp, const char *from, in fatfs_rename() 310 static int fatfs_mkdir(struct fs_mount_t *mountp, const char *path) in fatfs_mkdir() 374 static int fatfs_stat(struct fs_mount_t *mountp, in fatfs_stat() 391 static int fatfs_statvfs(struct fs_mount_t *mountp, in fatfs_statvfs() 424 static int fatfs_mount(struct fs_mount_t *mountp) in fatfs_mount() 463 static int fatfs_unmount(struct fs_mount_t *mountp) in fatfs_unmount()
|
/Zephyr-Core-3.4.0/samples/subsys/usb/mass/src/ |
D | main.c | 34 static struct fs_mount_t fs_mnt; 121 static int setup_flash(struct fs_mount_t *mnt) in setup_flash() 149 static int mount_app_fs(struct fs_mount_t *mnt) in mount_app_fs() 178 struct fs_mount_t *mp = &fs_mnt; in setup_disk()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_mkfs.c | 17 static struct fs_mount_t fatfs_mnt = { 26 struct fs_mount_t *fs_mkfs_mp = &fatfs_mnt; 135 struct fs_mount_t mp = fatfs_mnt; in ZTEST()
|
/Zephyr-Core-3.4.0/samples/subsys/fs/littlefs/src/ |
D | main.c | 268 static struct fs_mount_t lfs_storage_mnt = { 276 struct fs_mount_t *mp = 284 static int littlefs_mount(struct fs_mount_t *mp) in littlefs_mount() 313 static struct fs_mount_t __mp = { 318 struct fs_mount_t *mp = &__mp; 320 static int littlefs_mount(struct fs_mount_t *mp) in littlefs_mount()
|
/Zephyr-Core-3.4.0/tests/subsys/fs/multi-fs/src/ |
D | test_fat_mount.c | 20 static struct fs_mount_t fatfs_mnt = {
|
D | test_littlefs_mount.c | 21 struct fs_mount_t littlefs_mnt = {
|
/Zephyr-Core-3.4.0/tests/posix/fs/src/ |
D | test_fat_mount.c | 15 static struct fs_mount_t fatfs_mnt = {
|
/Zephyr-Core-3.4.0/tests/subsys/settings/file/src/ |
D | settings_setup_littlefs.c | 17 static struct fs_mount_t littlefs_mnt = {
|