Lines Matching refs:lfs

293 	struct lfs *lfs = &fs->lfs;  in littlefs_open()  local
305 fdp->cache_block = fc_allocate(lfs->cfg->cache_size); in littlefs_open()
316 ret = lfs_file_opencfg(&fs->lfs, &fdp->file, in littlefs_open()
334 int ret = lfs_file_close(&fs->lfs, LFS_FILEP(fp)); in littlefs_close()
351 int ret = lfs_remove(&fs->lfs, path); in littlefs_unlink()
367 int ret = lfs_rename(&fs->lfs, from, to); in littlefs_rename()
379 ssize_t ret = lfs_file_read(&fs->lfs, LFS_FILEP(fp), ptr, len); in littlefs_read()
391 ssize_t ret = lfs_file_write(&fs->lfs, LFS_FILEP(fp), ptr, len); in littlefs_write()
407 off_t ret = lfs_file_seek(&fs->lfs, LFS_FILEP(fp), off, whence); in littlefs_seek()
424 off_t ret = lfs_file_tell(&fs->lfs, LFS_FILEP(fp)); in littlefs_tell()
436 int ret = lfs_file_truncate(&fs->lfs, LFS_FILEP(fp), length); in littlefs_truncate()
448 int ret = lfs_file_sync(&fs->lfs, LFS_FILEP(fp)); in littlefs_sync()
461 int ret = lfs_mkdir(&fs->lfs, path); in littlefs_mkdir()
481 int ret = lfs_dir_open(&fs->lfs, dp->dirp, path); in littlefs_opendir()
508 int ret = lfs_dir_read(&fs->lfs, dp->dirp, &info); in littlefs_readdir()
528 int ret = lfs_dir_close(&fs->lfs, dp->dirp); in littlefs_closedir()
547 int ret = lfs_stat(&fs->lfs, path, &info); in littlefs_stat()
563 struct lfs *lfs = &fs->lfs; in littlefs_statvfs() local
565 stat->f_bsize = lfs->cfg->prog_size; in littlefs_statvfs()
566 stat->f_frsize = lfs->cfg->block_size; in littlefs_statvfs()
567 stat->f_blocks = lfs->cfg->block_count; in littlefs_statvfs()
573 ssize_t ret = lfs_fs_size(lfs); in littlefs_statvfs()
945 ret = lfs_mount(&fs->lfs, &fs->cfg); in littlefs_mount()
950 ret = lfs_format(&fs->lfs, &fs->cfg); in littlefs_mount()
962 ret = lfs_mount(&fs->lfs, &fs->cfg); in littlefs_mount()
1009 ret = lfs_format(&fs->lfs, &fs->cfg); in littlefs_mkfs()
1029 lfs_unmount(&fs->lfs); in littlefs_unmount()