Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/fs/
Dfs_sys.h107 int (*opendir)(struct fs_dir_t *dirp, const char *fs_path);
115 int (*readdir)(struct fs_dir_t *dirp, struct fs_dirent *entry);
122 int (*closedir)(struct fs_dir_t *dirp);
Dfs.h253 static inline void fs_dir_t_init(struct fs_dir_t *zdp) in fs_dir_t_init()
497 int fs_opendir(struct fs_dir_t *zdp, const char *path);
518 int fs_readdir(struct fs_dir_t *zdp, struct fs_dirent *entry);
531 int fs_closedir(struct fs_dir_t *zdp);
Dfs_interface.h90 struct fs_dir_t { struct
/Zephyr-latest/modules/lvgl/
Dlvgl_fs.c179 dir = lv_malloc(sizeof(struct fs_dir_t)); in lvgl_fs_dir_open()
184 fs_dir_t_init((struct fs_dir_t *)dir); in lvgl_fs_dir_open()
185 err = fs_opendir((struct fs_dir_t *)dir, path); in lvgl_fs_dir_open()
206 err = fs_closedir((struct fs_dir_t *)dir); in lvgl_fs_dir_close()
/Zephyr-latest/lib/posix/options/
Dfs_priv.h17 struct fs_dir_t dir;
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_dir.c63 struct fs_dir_t dirp; in test_lsdir()
104 struct fs_dir_t dirp; in test_rmdir()
/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_common_dir.c74 struct fs_dir_t dirp; in test_lsdir()
115 struct fs_dir_t dirp; in test_rmdir()
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_dir.c68 struct fs_dir_t dirp; in test_lsdir()
109 struct fs_dir_t dirp; in test_rmdir()
/Zephyr-latest/tests/subsys/logging/log_backend_fs/src/
Dlog_fs_test.c54 struct fs_dir_t dir; in ZTEST()
136 struct fs_dir_t dir; in ZTEST()
193 struct fs_dir_t dir; in ZTEST()
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_basic.c191 struct fs_dir_t dirs[CONFIG_FS_LITTLEFS_NUM_DIRS]; in num_dirs()
199 struct fs_dir_t *const dir = &dirs[di]; in num_dirs()
217 struct fs_dir_t *const dir = &dirs[di]; in num_dirs()
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs.c217 static int temp_opendir(struct fs_dir_t *zdp, const char *path) in temp_opendir()
232 static int temp_readdir(struct fs_dir_t *zdp, struct fs_dirent *entry) in temp_readdir()
271 static int temp_closedir(struct fs_dir_t *zdp) in temp_closedir()
Dtest_fs_dir_file.c114 struct fs_dir_t dirp; in ZTEST()
298 struct fs_dir_t dirp, dirp2, dirp3; in test_opendir()
356 struct fs_dir_t dirp; in test_closedir()
383 struct fs_dir_t dirp; in test_opendir_closedir()
410 struct fs_dir_t dirp; in _test_lsdir()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_fs.c65 struct fs_dir_t dir; in create_log_dir()
112 struct fs_dir_t dir; in check_log_file_exist()
272 struct fs_dir_t dir; in allocate_new_file()
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_mkfs.c51 struct fs_dir_t dir; in test_fs_mkfs_ops()
Dtest_fs_util.c347 struct fs_dir_t dir; in testfs_bcmd_verify_layout()
/Zephyr-latest/subsys/fs/
Dfat_fs.c345 static int fatfs_opendir(struct fs_dir_t *zdp, const char *path) in fatfs_opendir()
367 static int fatfs_readdir(struct fs_dir_t *zdp, struct fs_dirent *entry) in fatfs_readdir()
385 static int fatfs_closedir(struct fs_dir_t *zdp) in fatfs_closedir()
Dfs.c345 int fs_opendir(struct fs_dir_t *zdp, const char *abs_path) in fs_opendir()
394 int fs_readdir(struct fs_dir_t *zdp, struct fs_dirent *entry) in fs_readdir()
475 int fs_closedir(struct fs_dir_t *zdp) in fs_closedir()
Dlittlefs_fs.c467 static int littlefs_opendir(struct fs_dir_t *dp, const char *path) in littlefs_opendir()
501 static int littlefs_readdir(struct fs_dir_t *dp, struct fs_dirent *entry) in littlefs_readdir()
522 static int littlefs_closedir(struct fs_dir_t *dp) in littlefs_closedir()
Dfuse_fs_access.c171 struct fs_dir_t dir; in fuse_fs_access_readdir()
Dshell.c165 struct fs_dir_t dir; in cmd_ls()
/Zephyr-latest/samples/subsys/fs/fs_sample/src/
Dmain.c198 struct fs_dir_t dirp; in lsdir()
/Zephyr-latest/samples/subsys/usb/mass/src/
Dmain.c139 struct fs_dir_t dir; in setup_disk()
/Zephyr-latest/subsys/fs/ext2/
Dext2_ops.c288 static int ext2_opendir(struct fs_dir_t *dirp, const char *fs_path) in ext2_opendir()
335 static int ext2_readdir(struct fs_dir_t *dirp, struct fs_dirent *entry) in ext2_readdir()
347 static int ext2_closedir(struct fs_dir_t *dirp) in ext2_closedir()
/Zephyr-latest/samples/subsys/fs/littlefs/src/
Dmain.c29 struct fs_dir_t dirp; in lsdir()
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst94 * :c:type:`fs_dir_t` objects must now be initialized by calling
824 :c:type:`fs_dir_t` objects.
1033 * :github:`31749` - fs: fs_opendir can corrupt fs_dir_t object given via zdp parameter