/Zephyr-latest/samples/subsys/usb/mass/src/ |
D | main.c | 119 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/ |
D | test_lfs_basic.c | 29 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()
|
D | testfs_open_flags.c | 18 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()
|
D | testfs_lfs.c | 26 .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()
|
D | test_util.c | 20 .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()
|
D | test_lfs_perf.c | 41 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()
|
D | testfs_mkfs.c | 26 TC_PRINT("Clean %s\n", mp->mnt_point); in cleanup() 72 ret = fs_statvfs(mnt.mnt_point, &sbuf); in ZTEST()
|
D | testfs_mount_flags.c | 21 TC_PRINT("Clean %s\n", mp->mnt_point); in cleanup()
|
/Zephyr-latest/samples/subsys/fs/littlefs/src/ |
D | main.c | 272 .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/ |
D | test_fat_mount.c | 23 .mnt_point = FATFS_MNTP, 30 .mnt_point = FATFS_MNTP1,
|
/Zephyr-latest/tests/subsys/fs/fs_api/src/ |
D | test_multi_fs.c | 17 .mnt_point = TEST_FS_NAND1, 23 .mnt_point = TEST_FS_NAND2,
|
D | test_fs.c | 70 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()
|
D | test_fs_dir_file.c | 26 .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/ |
D | test_fat_mkfs.c | 14 .mnt_point = "/"DISK_NAME":", 73 ret = fs_statvfs(mp.mnt_point, &sbuf); in ZTEST()
|
/Zephyr-latest/subsys/fs/ |
D | fs.c | 113 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()
|
D | shell.c | 776 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/ |
D | test_fat_mount.c | 22 .mnt_point = FATFS_MNTP,
|
D | test_littlefs_mount.c | 25 .mnt_point = "/littlefs"
|
/Zephyr-latest/tests/subsys/fs/ext2/src/ |
D | main.c | 25 .mnt_point = "/sml",
|
/Zephyr-latest/tests/posix/fs/src/ |
D | test_fat_mount.c | 17 .mnt_point = FATFS_MNTP,
|
/Zephyr-latest/tests/subsys/settings/file/src/ |
D | settings_setup_littlefs.c | 21 .mnt_point = TEST_FS_MPTR,
|
/Zephyr-latest/tests/lib/c_lib/stdio/src/ |
D | main.c | 23 .mnt_point = FATFS_MNTP,
|
/Zephyr-latest/samples/subsys/fs/fs_sample/src/ |
D | main.c | 51 .mnt_point = "/ext", 151 mp.mnt_point = disk_mount_pt; in main()
|
/Zephyr-latest/tests/lib/gui/lvgl/src/ |
D | main.c | 38 .mnt_point = "/"DISK_NAME":", 55 .mnt_point = "/mnt"
|
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_dirops.c | 85 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()
|