Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c264 struct lfs_file_data *fdp = fp->filep; in release_file_data() local
266 if (fdp->config.buffer) { in release_file_data()
267 fc_release(fdp->cache_block); in release_file_data()
301 struct lfs_file_data *fdp = fp->filep; in littlefs_open() local
303 memset(fdp, 0, sizeof(*fdp)); in littlefs_open()
305 fdp->cache_block = fc_allocate(lfs->cfg->cache_size); in littlefs_open()
306 if (fdp->cache_block == NULL) { in littlefs_open()
311 fdp->config.buffer = fdp->cache_block; in littlefs_open()
316 ret = lfs_file_opencfg(&fs->lfs, &fdp->file, in littlefs_open()
317 path, flags, &fdp->config); in littlefs_open()