Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.4.0/include/zephyr/fs/
Dfs_sys.h61 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,
Dfs_interface.h38 struct fs_mount_t;
55 const struct fs_mount_t *mp;
69 const struct fs_mount_t *mp;
Dfs.h92 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/
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()
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()
Dtest_lfs_basic.c30 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 …]
Dtestfs_mkfs.c17 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()
Dtest_lfs_dirops.c34 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()
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()
Dtestfs_mount_flags.c12 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/
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.4.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.4.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()
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 …]
Dfs_impl.h29 const struct fs_mount_t *mp);
Dfs_impl.c12 const struct fs_mount_t *mp) in fs_impl_strip_prefix()
Dfat_fs.c134 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/
Dmain.c34 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/
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()
/Zephyr-Core-3.4.0/samples/subsys/fs/littlefs/src/
Dmain.c268 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/
Dtest_fat_mount.c20 static struct fs_mount_t fatfs_mnt = {
Dtest_littlefs_mount.c21 struct fs_mount_t littlefs_mnt = {
/Zephyr-Core-3.4.0/tests/posix/fs/src/
Dtest_fat_mount.c15 static struct fs_mount_t fatfs_mnt = {
/Zephyr-Core-3.4.0/tests/subsys/settings/file/src/
Dsettings_setup_littlefs.c17 static struct fs_mount_t littlefs_mnt = {

12