Home
last modified time | relevance | path

Searched refs:mnt_point (Results 1 – 25 of 41) sorted by relevance

12

/Zephyr-latest/samples/subsys/usb/mass/src/
Dmain.c119 mnt->mnt_point = "/RAM:"; in mount_app_fs()
121 mnt->mnt_point = "/SD:"; in mount_app_fs()
123 mnt->mnt_point = "/NAND:"; in mount_app_fs()
128 mnt->mnt_point = "/lfs"; in mount_app_fs()
168 printk("Mount %s: %d\n", fs_mnt.mnt_point, rc); in setup_disk()
170 rc = fs_statvfs(mp->mnt_point, &sbuf); in setup_disk()
178 mp->mnt_point, in setup_disk()
182 rc = fs_opendir(&dir, mp->mnt_point); in setup_disk()
183 printk("%s opendir: %d\n", mp->mnt_point, rc); in setup_disk()
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_basic.c29 TC_PRINT("mounting %s\n", mp->mnt_point); in mount()
39 TC_PRINT("clearing partition %s\n", mp->mnt_point); in clear_partition()
52 TC_PRINT("checking clean statvfs of %s\n", mp->mnt_point); in clean_statvfs()
54 zassert_equal(fs_statvfs(mp->mnt_point, &stat), 0, in clean_statvfs()
58 mp->mnt_point, in clean_statvfs()
83 zassert_equal(fs_statvfs(mp->mnt_point, &stat), 0, in check_medium()
87 mp->mnt_point, in check_medium()
115 zassert_equal(fs_statvfs(mp->mnt_point, &stat), 0, in check_large()
119 mp->mnt_point, in check_large()
267 TC_PRINT("unmounting %s\n", mp->mnt_point); in ZTEST()
Dtestfs_open_flags.c18 TC_PRINT("Mount %s\n", mp->mnt_point); in mount()
25 TC_PRINT("Unmounting %s\n", mp->mnt_point); in unmount()
33 TC_PRINT("Clean %s\n", mp->mnt_point); in cleanup()
Dtestfs_lfs.c26 .mnt_point = TESTFS_MNT_POINT_SMALL,
36 .mnt_point = TESTFS_MNT_POINT_MEDIUM,
58 .mnt_point = TESTFS_MNT_POINT_LARGE,
85 TC_PRINT("Wiped flash area %u for %s\n", id, mp->mnt_point); in testfs_lfs_wipe_partition()
Dtest_util.c20 .mnt_point = MNT,
39 zassert_str_equal(path.path, mnt.mnt_point, "bad mnt init path"); in ZTEST()
43 .mnt_point = "relative", in ZTEST()
57 .mnt_point = overrun, in ZTEST()
Dtest_lfs_perf.c41 mp->mnt_point, tag); in write_read()
48 TC_PRINT("Mount %s failed: %d\n", mp->mnt_point, rc); in write_read()
52 rc = fs_statvfs(mp->mnt_point, &vfs); in write_read()
54 TC_PRINT("statvfs %s failed: %d\n", mp->mnt_point, rc); in write_read()
59 mp->mnt_point, in write_read()
173 .mnt_point = mp->mnt_point, in custom_write_test()
Dtestfs_mkfs.c26 TC_PRINT("Clean %s\n", mp->mnt_point); in cleanup()
72 ret = fs_statvfs(mnt.mnt_point, &sbuf); in ZTEST()
Dtestfs_mount_flags.c21 TC_PRINT("Clean %s\n", mp->mnt_point); in cleanup()
/Zephyr-latest/samples/subsys/fs/littlefs/src/
Dmain.c272 .mnt_point = "/lfs",
299 (uintptr_t)mp->storage_dev, mp->mnt_point, rc); in littlefs_mount()
302 LOG_PRINTK("%s mount: %d\n", mp->mnt_point, rc); in littlefs_mount()
304 LOG_PRINTK("%s automounted\n", mp->mnt_point); in littlefs_mount()
335 mp->mnt_point = disk_mount_pt; in littlefs_mount()
355 snprintf(fname1, sizeof(fname1), "%s/boot_count", mountpoint->mnt_point); in main()
356 snprintf(fname2, sizeof(fname2), "%s/pattern.bin", mountpoint->mnt_point); in main()
358 rc = fs_statvfs(mountpoint->mnt_point, &sbuf); in main()
366 mountpoint->mnt_point, in main()
370 rc = lsdir(mountpoint->mnt_point); in main()
[all …]
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_mount.c23 .mnt_point = FATFS_MNTP,
30 .mnt_point = FATFS_MNTP1,
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_multi_fs.c17 .mnt_point = TEST_FS_NAND1,
23 .mnt_point = TEST_FS_NAND2,
Dtest_fs.c70 if (strcmp(mountp->mnt_point, path) == 0) { in temp_unlink()
206 if (strcmp(mountp->mnt_point, path) == 0) { in temp_mkdir()
312 size_t len = strlen(mountp->mnt_point); in temp_mount()
314 if (mountp->mnt_point[len - 1] != ':') { in temp_mount()
Dtest_fs_dir_file.c26 .mnt_point = TEST_FS_MNTP,
32 .mnt_point = "/OTHER",
39 .mnt_point = "/MMCBLOCK:",
47 .mnt_point = "SDA:",
55 .mnt_point = "/",
63 .mnt_point = NULL,
70 .mnt_point = TEST_FS_MNTP,
78 .mnt_point = "/SDA",
86 .mnt_point = NOOP_MNTP,
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_mkfs.c14 .mnt_point = "/"DISK_NAME":",
73 ret = fs_statvfs(mp.mnt_point, &sbuf); in ZTEST()
/Zephyr-latest/subsys/fs/
Dfs.c113 if (strncmp(name, itr->mnt_point, len) == 0) { in fs_get_mnt_point()
451 strncpy(entry->name, mnt->mnt_point + 1, in fs_readdir()
677 if ((mp == NULL) || (mp->mnt_point == NULL)) { in fs_mount()
687 len = strlen(mp->mnt_point); in fs_mount()
689 if ((len <= 1) || (mp->mnt_point[0] != '/')) { in fs_mount()
710 if (strncmp(mp->mnt_point, itr->mnt_point, len) == 0) { in fs_mount()
733 mp->mnt_point); in fs_mount()
747 LOG_DBG("fs mounted at %s", mp->mnt_point); in fs_mount()
820 LOG_DBG("fs unmounted from %s", mp->mnt_point); in fs_unmount()
851 *name = itr->mnt_point; in fs_readmount()
Dshell.c776 fatfs_mnt.mnt_point = (const char *)mntpt; in cmd_mount_fat()
781 k_free((void *)fatfs_mnt.mnt_point); in cmd_mount_fat()
782 fatfs_mnt.mnt_point = NULL; in cmd_mount_fat()
787 fatfs_mnt.mnt_point); in cmd_mount_fat()
796 if (littlefs_mnt.mnt_point != NULL) { in cmd_mount_littlefs()
807 littlefs_mnt.mnt_point = mntpt; in cmd_mount_littlefs()
813 k_free((void *)littlefs_mnt.mnt_point); in cmd_mount_littlefs()
814 littlefs_mnt.mnt_point = NULL; in cmd_mount_littlefs()
/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_fat_mount.c22 .mnt_point = FATFS_MNTP,
Dtest_littlefs_mount.c25 .mnt_point = "/littlefs"
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dmain.c25 .mnt_point = "/sml",
/Zephyr-latest/tests/posix/fs/src/
Dtest_fat_mount.c17 .mnt_point = FATFS_MNTP,
/Zephyr-latest/tests/subsys/settings/file/src/
Dsettings_setup_littlefs.c21 .mnt_point = TEST_FS_MPTR,
/Zephyr-latest/tests/lib/c_lib/stdio/src/
Dmain.c23 .mnt_point = FATFS_MNTP,
/Zephyr-latest/samples/subsys/fs/fs_sample/src/
Dmain.c51 .mnt_point = "/ext",
151 mp.mnt_point = disk_mount_pt; in main()
/Zephyr-latest/tests/lib/gui/lvgl/src/
Dmain.c38 .mnt_point = "/"DISK_NAME":",
55 .mnt_point = "/mnt"
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_dirops.c85 TC_PRINT("building layout on %s\n", mp->mnt_point); in build_layout()
87 zassert_equal(fs_statvfs(mp->mnt_point, &stat), 0, in build_layout()
101 zassert_equal(fs_statvfs(mp->mnt_point, &stat), 0, in build_layout()

12