Searched refs:lfs1 (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/ |
A D | lfs1.c | 247 return lfs1->cfg->erase(lfs1->cfg, block); in lfs1_bd_erase() 251 lfs1_cache_drop(lfs1, &lfs1->rcache); in lfs1_bd_sync() 258 return lfs1->cfg->sync(lfs1->cfg); in lfs1_bd_sync() 318 lfs1->free.off = (lfs1->free.off + lfs1->free.size) in lfs1_alloc() 320 lfs1->free.size = lfs1_min(lfs1->cfg->lookahead, lfs1->free.ack); in lfs1_alloc() 333 lfs1->free.ack = lfs1->cfg->block_count; in lfs1_alloc_ack() 621 lfs1_cache_drop(lfs1, &lfs1->pcache); in lfs1_dir_commit() 1440 err = lfs1_cache_prog(lfs1, &lfs1->pcache, &lfs1->rcache, in lfs1_file_relocate() 1454 lfs1_cache_zero(lfs1, &lfs1->pcache); in lfs1_file_relocate() 2062 lfs1_cache_zero(lfs1, &lfs1->pcache); in lfs1_init() [all …]
|
A D | lfs1.h | 277 typedef struct lfs1 { struct 318 int lfs1_unmount(lfs1_t *lfs1); 326 int lfs1_remove(lfs1_t *lfs1, const char *path); 351 int lfs1_file_open(lfs1_t *lfs1, lfs1_file_t *file, 364 int lfs1_file_opencfg(lfs1_t *lfs1, lfs1_file_t *file, 374 int lfs1_file_close(lfs1_t *lfs1, lfs1_file_t *file); 380 int lfs1_file_sync(lfs1_t *lfs1, lfs1_file_t *file); 434 int lfs1_mkdir(lfs1_t *lfs1, const char *path); 446 int lfs1_dir_close(lfs1_t *lfs1, lfs1_dir_t *dir); 473 int lfs1_dir_rewind(lfs1_t *lfs1, lfs1_dir_t *dir); [all …]
|
A D | README.md | 7 To generate the separate files with lfs1 and lfs2 prefixes run the following 12 python2 ./scripts/prefix.py lfs1 13 cp lfs1*.[ch] $MPY_DIR/lib/littlefs
|
/AliOS-Things-master/components/littlefs/src/littlefs-v220/include/ |
A D | lfs.h | 401 struct lfs1 *lfs1; member
|
/AliOS-Things-master/components/littlefs/src/littlefs-v220/ |
A D | lfs.c | 1576 } else if (lfs->lfs1) { in lfs_dir_compact() 3836 lfs->lfs1 = NULL; in lfs_init() 4106 if (lfs->lfs1) { in lfs_fs_traverseraw() 4641 typedef struct lfs1 { struct 4856 if (lfs_pair_isnull(lfs->lfs1->root)) { in lfs1_traverse() 4966 static int lfs1_mount(lfs_t *lfs, struct lfs1 *lfs1, in lfs1_mount() argument 4975 lfs->lfs1 = lfs1; in lfs1_mount() 5051 struct lfs1 lfs1; in lfs_migrate() local 5052 int err = lfs1_mount(lfs, &lfs1, cfg); in lfs_migrate() 5231 dir2.tail[0] = lfs->lfs1->root[0]; in lfs_migrate() [all …]
|
Completed in 24 milliseconds