/Zephyr-Core-3.7.0/include/zephyr/fs/ |
D | fs_sys.h | 135 int (*mount)(struct fs_mount_t *mountp); 142 int (*unmount)(struct fs_mount_t *mountp); 150 int (*unlink)(struct fs_mount_t *mountp, const char *name); 159 int (*rename)(struct fs_mount_t *mountp, const char *from, 168 int (*mkdir)(struct fs_mount_t *mountp, const char *name); 177 int (*stat)(struct fs_mount_t *mountp, const char *path, 187 int (*statvfs)(struct fs_mount_t *mountp, const char *path,
|
D | fs_interface.h | 64 struct fs_mount_t; 80 const struct fs_mount_t *mp; 94 const struct fs_mount_t *mp;
|
D | fs.h | 91 struct fs_mount_t { struct 226 extern struct fs_mount_t FS_FSTAB_ENTRY(node_id) 560 int fs_mount(struct fs_mount_t *mp); 576 int fs_unmount(struct fs_mount_t *mp);
|
/Zephyr-Core-3.7.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 | test_lfs_basic.c | 27 static int mount(struct fs_mount_t *mp) in mount() 37 static int clear_partition(struct fs_mount_t *mp) in clear_partition() 48 static int clean_statvfs(const struct fs_mount_t *mp) in clean_statvfs() 74 struct fs_mount_t *mp = &testfs_medium_mnt; in check_medium() 106 struct fs_mount_t *mp = &testfs_large_mnt; in check_large() 136 static int num_files(struct fs_mount_t *mp) in num_files() 186 static int num_dirs(struct fs_mount_t *mp) in num_dirs() 239 struct fs_mount_t *fs_basic_test_mp = &testfs_small_mnt; 243 struct fs_mount_t *mp = &testfs_small_mnt; in ZTEST()
|
D | test_lfs_dirops.c | 26 struct fs_mount_t *fs_dirops_test_mp = &testfs_small_mnt; 30 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 | testfs_mount_flags.c | 17 struct fs_mount_t *mount_flags_mp = &testfs_small_mnt; 19 static void cleanup(struct fs_mount_t *mp) in cleanup()
|
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() 60 struct fs_mount_t mnt = 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()
|
/Zephyr-Core-3.7.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.7.0/tests/subsys/fs/ext2/src/ |
D | test_dirops.c | 15 struct fs_mount_t *fs_dirops_test_mp = &testfs_mnt; 19 struct fs_mount_t *mp = &testfs_mnt; in ZTEST()
|
D | testfs_open_flags.c | 20 struct fs_mount_t *mp = &testfs_mnt; in ZTEST() 32 struct fs_mount_t *mp = &testfs_mnt; in ZTEST() 56 struct fs_mount_t *mp = &testfs_mnt; in ZTEST()
|
D | testfs_mount.c | 14 struct fs_mount_t *mp = &testfs_mnt; in ZTEST() 53 struct fs_mount_t *mp = &testfs_mnt; in ZTEST() 83 struct fs_mount_t *fs_mkfs_mp = &testfs_mnt; 90 struct fs_mount_t *mp = &testfs_mnt; in ZTEST() 101 struct fs_mount_t *mp = &testfs_mnt; in mkfs_custom_config()
|
D | test_basic.c | 15 struct fs_mount_t *fs_basic_test_mp = &testfs_mnt;
|
D | testfs_mount_flags.c | 16 struct fs_mount_t *mount_flags_mp = &testfs_mnt;
|
/Zephyr-Core-3.7.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.7.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() 347 struct fs_mount_t *mp; in fs_opendir() 446 struct fs_mount_t *mnt; in fs_readdir() 448 mnt = CONTAINER_OF(node, struct fs_mount_t, node); in fs_readdir() 503 struct fs_mount_t *mp; in fs_mkdir() 536 struct fs_mount_t *mp; in fs_unlink() 569 struct fs_mount_t *mp; in fs_rename() [all …]
|
D | fs_impl.h | 29 const struct fs_mount_t *mp);
|
/Zephyr-Core-3.7.0/tests/subsys/fs/common/ |
D | test_fs_basic.c | 20 extern struct fs_mount_t *fs_basic_test_mp; 22 static int create_write_hello(const struct fs_mount_t *mp) in create_write_hello() 87 static int verify_hello(const struct fs_mount_t *mp) in verify_hello() 119 static int seek_within_hello(const struct fs_mount_t *mp) in seek_within_hello() 187 static int truncate_hello(const struct fs_mount_t *mp) in truncate_hello() 253 static int unlink_hello(const struct fs_mount_t *mp) in unlink_hello() 278 static int sync_goodbye(const struct fs_mount_t *mp) in sync_goodbye() 342 static int verify_goodbye(const struct fs_mount_t *mp) in verify_goodbye()
|
D | test_fs_dirops.c | 16 extern struct fs_mount_t *fs_dirops_test_mp; 29 static int check_mkdir(struct fs_mount_t *mp) in check_mkdir() 79 static int build_layout(struct fs_mount_t *mp, in build_layout() 110 static int check_layout(struct fs_mount_t *mp, in check_layout() 146 static int check_rename(struct fs_mount_t *mp) in check_rename()
|
/Zephyr-Core-3.7.0/samples/subsys/usb/mass/src/ |
D | main.c | 42 static struct fs_mount_t fs_mnt; 81 static int setup_flash(struct fs_mount_t *mnt) in setup_flash() 109 static int mount_app_fs(struct fs_mount_t *mnt) in mount_app_fs() 138 struct fs_mount_t *mp = &fs_mnt; in setup_disk()
|
/Zephyr-Core-3.7.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()
|