Home
last modified time | relevance | path

Searched refs:fs_stat (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_basic.c40 zassert_equal(fs_stat(path.path, &stat), in create_write_hello()
54 zassert_equal(fs_stat(path.path, &stat), in create_write_hello()
74 zassert_equal(fs_stat(path.path, &stat), in create_write_hello()
140 zassert_equal(fs_stat(path.path, &stat), in seek_within_hello()
205 zassert_equal(fs_stat(path.path, &stat), in truncate_hello()
223 zassert_equal(fs_stat(path.path, &stat), in truncate_hello()
244 zassert_equal(fs_stat(path.path, &stat), in truncate_hello()
265 zassert_equal(fs_stat(path.path, &stat), in unlink_hello()
271 zassert_equal(fs_stat(path.path, &stat), in unlink_hello()
296 zassert_equal(fs_stat(path.path, &stat), in sync_goodbye()
[all …]
Dtest_fs_dirops.c61 zassert_equal(fs_stat(fpath.path, &stat), 0, in check_mkdir()
232 zassert_equal(fs_stat(from, &stat), in check_rename()
247 zassert_equal(fs_stat(from, &stat), in check_rename()
274 zassert_equal(fs_stat(from, &stat), in check_rename()
Dtest_fs_mkfs.c81 ret = fs_stat(some_file_path, &entry); in test_fs_mkfs_ops()
83 ret = fs_stat(other_dir_path, &entry); in test_fs_mkfs_ops()
/Zephyr-latest/tests/subsys/fs/ext2/src/
Dtestfs_dirops.c40 zassert_equal(fs_stat("/sml/dir1", &stat), 0, "Stat dir1 failed"); in ZTEST()
45 zassert_equal(fs_stat("/sml/dir2", &stat), 0, "Stat dir2 failed"); in ZTEST()
59 zassert_equal(fs_stat("/sml/file1", &stat), 0, "Stat file1 failed"); in ZTEST()
64 zassert_equal(fs_stat("/sml/dir1/file2", &stat), 0, "Stat file1 failed"); in ZTEST()
69 zassert_equal(fs_stat("/sml/dir2/file3", &stat), 0, "Stat file1 failed"); in ZTEST()
Dtest_dirops.c27 if (fs_stat("/sml/lost+found", &de) == 0) { in ZTEST()
Dtestfs_ext_specific.c61 ret = fs_stat(file_path, &entry); in write_to_file()
96 ret = fs_stat(file_path, &entry); in truncate_file()
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/
Dcommon.c18 res = fs_stat(path, &entry); in check_file_dir_exists()
/Zephyr-latest/tests/subsys/settings/functional/file/
Dsettings_test_file.c22 rc = fs_stat((const char *)storage, &entry); in ZTEST()
/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_utils.c21 res = fs_stat(fpath, &entry); in check_file_dir_exists()
/Zephyr-latest/tests/subsys/logging/log_backend_fs/src/
Dlog_fs_test.c145 zassert_equal(fs_stat(fname, &entry), 0, "Can not get file info."); in ZTEST()
157 zassert_equal(fs_stat(fname, &entry), 0, "Can not get file info."); in ZTEST()
165 zassert_equal(fs_stat(fname, &entry), 0, "Can not get file info."); in ZTEST()
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_dir_file.c987 ret = fs_stat(NULL, &entry); in ZTEST()
990 ret = fs_stat(TEST_DIR, NULL); in ZTEST()
993 ret = fs_stat("/", &entry); in ZTEST()
996 ret = fs_stat("SDCARD", &entry); in ZTEST()
999 ret = fs_stat("/SDCARD", &entry); in ZTEST()
1002 ret = fs_stat(NOOP_MNTP, &entry); in ZTEST()
1005 ret = fs_stat(TEST_DIR, &entry); in ZTEST()
1008 ret = fs_stat(TEST_DIR_FILE, &entry); in ZTEST()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dcommon.c33 res = fs_stat(path, &entry); in check_file_dir_exists()
/Zephyr-latest/tests/subsys/settings/file/src/
Dsettings_test_compress_file.c94 rc = fs_stat(fname, &entry); in file_str_cmp()
Dsettings_test_file.c215 rc = fs_stat(fname, &entry); in settings_test_file_strstr()
/Zephyr-latest/subsys/fs/
Dshell.c145 err = fs_stat(path, &entry); in cmd_cd()
304 err = fs_stat(path, &dirent); in cmd_read()
386 err = fs_stat(path, &dirent); in cmd_cat()
576 err = fs_stat(path, &dirent); in cmd_read_test()
Dfuse_fs_access.c110 err = fs_stat(path, &entry); in fuse_fs_access_getattr()
/Zephyr-latest/tests/lib/gui/lvgl/src/
Dmain.c140 ret = fs_stat(IMG_FILE_PATH, &info); in setup_fs()
/Zephyr-latest/include/zephyr/fs/
Dfs.h611 int fs_stat(const char *path, struct fs_dirent *entry);
/Zephyr-latest/drivers/disk/
Dloopback_disk.c141 int ret = fs_stat(ctx->file_path, &entry); in loopback_disk_access_register()
/Zephyr-latest/subsys/settings/src/
Dsettings_file.c210 if (fs_stat(file_name, &entry) == 0) { in settings_file_create_or_replace()
519 err = fs_stat(path, &entry); in mkdir_if_not_exists()
/Zephyr-latest/subsys/llext/
Dshell.c199 res = fs_stat(argv[2], &dirent); in cmd_llext_load_fs()
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c103 rc = fs_stat(path.path, &stat); in write_read()
/Zephyr-latest/lib/posix/options/
Dfs.c391 rc = fs_stat(path, &stat_file); in stat()
/Zephyr-latest/samples/subsys/fs/littlefs/src/
Dmain.c190 rc = fs_stat(fname, &dirent); in littlefs_binary_file_adj()
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_core.c757 ret = fs_stat(fname, &dirent); in http_server_find_file()
761 ret = fs_stat(fname, &dirent); in http_server_find_file()

12