Home
last modified time | relevance | path

Searched refs:fs_mount_t (Results 1 – 25 of 56) sorted by relevance

123

/Zephyr-Core-3.7.0/include/zephyr/fs/
Dfs_sys.h135 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,
Dfs_interface.h64 struct fs_mount_t;
80 const struct fs_mount_t *mp;
94 const struct fs_mount_t *mp;
Dfs.h91 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/
Dtestfs_lfs.h17 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);
Dtestfs_open_flags.c16 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()
Dtest_lfs_basic.c27 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()
Dtest_lfs_dirops.c26 struct fs_mount_t *fs_dirops_test_mp = &testfs_small_mnt;
30 struct fs_mount_t *mp = &testfs_small_mnt; in ZTEST()
Dtestfs_lfs.c22 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()
Dtestfs_mount_flags.c17 struct fs_mount_t *mount_flags_mp = &testfs_small_mnt;
19 static void cleanup(struct fs_mount_t *mp) in cleanup()
Dtestfs_mkfs.c17 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()
Dtest_util.c19 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/
Dtest_fat_mount.c21 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/
Dtest_dirops.c15 struct fs_mount_t *fs_dirops_test_mp = &testfs_mnt;
19 struct fs_mount_t *mp = &testfs_mnt; in ZTEST()
Dtestfs_open_flags.c20 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()
Dtestfs_mount.c14 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()
Dtest_basic.c15 struct fs_mount_t *fs_basic_test_mp = &testfs_mnt;
Dtestfs_mount_flags.c16 struct fs_mount_t *mount_flags_mp = &testfs_mnt;
/Zephyr-Core-3.7.0/tests/subsys/fs/fs_api/src/
Dtest_fs.c23 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()
Dtest_multi_fs.c15 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/
Dfs.c82 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 …]
Dfs_impl.h29 const struct fs_mount_t *mp);
/Zephyr-Core-3.7.0/tests/subsys/fs/common/
Dtest_fs_basic.c20 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()
Dtest_fs_dirops.c16 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/
Dmain.c42 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/
Dtest_fat_mkfs.c17 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()

123