Lines Matching refs:lfs_t

470 } lfs_t;  typedef
483 int lfs_format(lfs_t *lfs, const struct lfs_config *config);
494 int lfs_mount(lfs_t *lfs, const struct lfs_config *config);
500 int lfs_unmount(lfs_t *lfs);
509 int lfs_remove(lfs_t *lfs, const char *path);
519 int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath);
526 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
540 lfs_ssize_t lfs_getattr(lfs_t *lfs, const char *path,
551 int lfs_setattr(lfs_t *lfs, const char *path,
561 int lfs_removeattr(lfs_t *lfs, const char *path, uint8_t type);
574 int lfs_file_open(lfs_t *lfs, lfs_file_t *file,
591 int lfs_file_opencfg(lfs_t *lfs, lfs_file_t *file,
601 int lfs_file_close(lfs_t *lfs, lfs_file_t *file);
607 int lfs_file_sync(lfs_t *lfs, lfs_file_t *file);
613 lfs_ssize_t lfs_file_read(lfs_t *lfs, lfs_file_t *file,
623 lfs_ssize_t lfs_file_write(lfs_t *lfs, lfs_file_t *file,
631 lfs_soff_t lfs_file_seek(lfs_t *lfs, lfs_file_t *file,
638 int lfs_file_truncate(lfs_t *lfs, lfs_file_t *file, lfs_off_t size);
645 lfs_soff_t lfs_file_tell(lfs_t *lfs, lfs_file_t *file);
651 int lfs_file_rewind(lfs_t *lfs, lfs_file_t *file);
657 lfs_soff_t lfs_file_size(lfs_t *lfs, lfs_file_t *file);
666 int lfs_mkdir(lfs_t *lfs, const char *path);
673 int lfs_dir_open(lfs_t *lfs, lfs_dir_t *dir, const char *path);
679 int lfs_dir_close(lfs_t *lfs, lfs_dir_t *dir);
686 int lfs_dir_read(lfs_t *lfs, lfs_dir_t *dir, struct lfs_info *info);
694 int lfs_dir_seek(lfs_t *lfs, lfs_dir_t *dir, lfs_off_t off);
702 lfs_soff_t lfs_dir_tell(lfs_t *lfs, lfs_dir_t *dir);
707 int lfs_dir_rewind(lfs_t *lfs, lfs_dir_t *dir);
716 int lfs_fs_stat(lfs_t *lfs, struct lfs_fsinfo *fsinfo);
724 lfs_ssize_t lfs_fs_size(lfs_t *lfs);
733 int lfs_fs_traverse(lfs_t *lfs, int (*cb)(void*, lfs_block_t), void *data);
744 int lfs_fs_mkconsistent(lfs_t *lfs);
762 int lfs_fs_gc(lfs_t *lfs);
772 int lfs_fs_grow(lfs_t *lfs, lfs_size_t block_count);
788 int lfs_migrate(lfs_t *lfs, const struct lfs_config *cfg);