Searched refs:dirent (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/include/zephyr/posix/ |
D | dirent.h | 22 struct dirent { struct 30 struct dirent *readdir(DIR *dirp); argument 31 int readdir_r(DIR *ZRESTRICT dirp, struct dirent *ZRESTRICT entry, 32 struct dirent **ZRESTRICT result);
|
/Zephyr-latest/tests/posix/headers/src/ |
D | dirent_h.c | 25 zassert_not_equal(-1, offsetof(struct dirent, d_ino)); in ZTEST() 26 zassert_not_equal(-1, offsetof(struct dirent, d_name)); in ZTEST()
|
/Zephyr-latest/tests/posix/fs/src/ |
D | test_fs_dir.c | 57 static struct dirent *readdir_wrap(DIR *dirp, bool thread_safe) in readdir_wrap() 60 struct dirent entry; in readdir_wrap() 61 struct dirent *result = NULL; in readdir_wrap() 75 struct dirent *entry; in test_lsdir()
|
/Zephyr-latest/lib/posix/options/ |
D | file_system_r.c | 21 int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result) in readdir_r()
|
D | fs.c | 30 static struct dirent pdirent; 304 struct dirent *readdir(DIR *dirp) in readdir()
|
/Zephyr-latest/subsys/fs/ |
D | shell.c | 281 struct fs_dirent dirent; in cmd_read() local 304 err = fs_stat(path, &dirent); in cmd_read() 311 if (dirent.type != FS_DIR_ENTRY_FILE) { in cmd_read() 316 shell_print(sh, "File size: %zd", dirent.size); in cmd_read() 376 struct fs_dirent dirent; in cmd_cat() local 386 err = fs_stat(path, &dirent); in cmd_cat() 393 if (dirent.type != FS_DIR_ENTRY_FILE) { in cmd_cat() 551 struct fs_dirent dirent; in cmd_read_test() local 576 err = fs_stat(path, &dirent); in cmd_read_test() 583 if (dirent.type != FS_DIR_ENTRY_FILE) { in cmd_read_test() [all …]
|
/Zephyr-latest/subsys/llext/ |
D | shell.c | 197 struct fs_dirent dirent; in cmd_llext_load_fs() local 199 res = fs_stat(argv[2], &dirent); in cmd_llext_load_fs() 205 if (dirent.type != FS_DIR_ENTRY_FILE) { in cmd_llext_load_fs()
|
/Zephyr-latest/samples/subsys/fs/littlefs/src/ |
D | main.c | 173 struct fs_dirent dirent; in littlefs_binary_file_adj() local 190 rc = fs_stat(fname, &dirent); in littlefs_binary_file_adj() 197 if (rc == 0 && dirent.type == FS_DIR_ENTRY_FILE && dirent.size == 0) { in littlefs_binary_file_adj()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_core.c | 753 struct fs_dirent dirent; in http_server_find_file() local 757 ret = fs_stat(fname, &dirent); in http_server_find_file() 761 ret = fs_stat(fname, &dirent); in http_server_find_file() 766 *file_size = dirent.size; in http_server_find_file()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 149 struct fs_dirent dirent; in fs_mgmt_filelen() local 152 rc = fs_stat(path, &dirent); in fs_mgmt_filelen() 162 if (dirent.type != FS_DIR_ENTRY_FILE) { in fs_mgmt_filelen() 166 *out_len = dirent.size; in fs_mgmt_filelen()
|