Lines Matching refs:dir
65 struct fs_dir_t dir; in create_log_dir() local
67 fs_dir_t_init(&dir); in create_log_dir()
92 rc = fs_opendir(&dir, w_path); in create_log_dir()
100 rc = fs_closedir(&dir); in create_log_dir()
112 struct fs_dir_t dir; in check_log_file_exist() local
116 fs_dir_t_init(&dir); in check_log_file_exist()
118 rc = fs_opendir(&dir, CONFIG_LOG_BACKEND_FS_DIR); in check_log_file_exist()
124 rc = fs_readdir(&dir, &ent); in check_log_file_exist()
144 (void) fs_closedir(&dir); in check_log_file_exist()
272 struct fs_dir_t dir; in allocate_new_file() local
275 fs_dir_t_init(&dir); in allocate_new_file()
279 rc = fs_opendir(&dir, CONFIG_LOG_BACKEND_FS_DIR); in allocate_new_file()
282 rc = fs_readdir(&dir, &ent); in allocate_new_file()
309 (void)fs_closedir(&dir); in allocate_new_file()
310 rc = fs_opendir(&dir, CONFIG_LOG_BACKEND_FS_DIR); in allocate_new_file()
313 rc = fs_readdir(&dir, &ent); in allocate_new_file()
336 (void)fs_closedir(&dir); in allocate_new_file()