Searched refs:lfs_t (Results 1 – 3 of 3) sorted by relevance
/littlefs-3.5.0-3.4.0/ |
D | lfs.h | 420 } lfs_t; typedef 433 int lfs_format(lfs_t *lfs, const struct lfs_config *config); 444 int lfs_mount(lfs_t *lfs, const struct lfs_config *config); 450 int lfs_unmount(lfs_t *lfs); 459 int lfs_remove(lfs_t *lfs, const char *path); 469 int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath); 476 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info); 490 lfs_ssize_t lfs_getattr(lfs_t *lfs, const char *path, 501 int lfs_setattr(lfs_t *lfs, const char *path, 511 int lfs_removeattr(lfs_t *lfs, const char *path, uint8_t type); [all …]
|
D | lfs.c | 35 static inline void lfs_cache_drop(lfs_t *lfs, lfs_cache_t *rcache) { in lfs_cache_drop() 42 static inline void lfs_cache_zero(lfs_t *lfs, lfs_cache_t *pcache) { in lfs_cache_zero() 48 static int lfs_bd_read(lfs_t *lfs, in lfs_bd_read() 131 static int lfs_bd_cmp(lfs_t *lfs, in lfs_bd_cmp() 159 static int lfs_bd_flush(lfs_t *lfs, in lfs_bd_flush() 194 static int lfs_bd_sync(lfs_t *lfs, in lfs_bd_sync() 210 static int lfs_bd_prog(lfs_t *lfs, in lfs_bd_prog() 258 static int lfs_bd_erase(lfs_t *lfs, lfs_block_t block) { in lfs_bd_erase() 468 static void lfs_mlist_remove(lfs_t *lfs, struct lfs_mlist *mlist) { in lfs_mlist_remove() 477 static void lfs_mlist_append(lfs_t *lfs, struct lfs_mlist *mlist) { in lfs_mlist_append() [all …]
|
D | README.md | 38 lfs_t lfs; 103 The state of the littlefs is stored in the `lfs_t` type which is left up 105 simultaneously. With the `lfs_t` and configuration struct, a user can
|