Searched refs:lfs (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/littlefs/src/littlefs-v220/ |
A D | lfs.c | 194 err = lfs->cfg->sync(lfs->cfg); in lfs_bd_sync() 476 lfs->free.off = lfs->seed % lfs->cfg->block_size; in lfs_alloc_reset() 517 lfs->free.off = (lfs->free.off + lfs->free.size) in lfs_alloc() 1089 lfs_t *lfs = name->lfs; in lfs_dir_find_match() local 1870 lfs->gdisk = lfs->gstate; in lfs_dir_commit() 2649 p->lfs = lfs; in insert_into_cfg_list() 2674 if (p->lfs == lfs) { 4073 lfs->gdisk = lfs->gstate; in lfs_mount() 4265 lfs_t *lfs = find->lfs; in lfs_fs_parent_match() local 4271 &lfs->pcache, &lfs->rcache, lfs->cfg->block_size, in lfs_fs_parent_match() [all …]
|
/AliOS-Things-master/components/littlefs/src/littlefs-v220/include/ |
A D | lfs.h | 370 typedef struct lfs { struct 433 int lfs_unmount(lfs_t *lfs); 441 int lfs_remove(lfs_t *lfs, const char *path); 485 int lfs_setattr(lfs_t *lfs, const char *path, 504 int lfs_file_open(lfs_t *lfs, lfs_file_t *file, 533 int lfs_file_sync(lfs_t *lfs, lfs_file_t *file); 587 int lfs_mkdir(lfs_t *lfs, const char *path); 599 int lfs_dir_close(lfs_t *lfs, lfs_dir_t *dir); 627 int lfs_dir_rewind(lfs_t *lfs, lfs_dir_t *dir); 638 lfs_ssize_t lfs_fs_size(lfs_t *lfs); [all …]
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | vfs_lfs_mount.py.exp | 3 hello from lfs 5 hello from lfs 11 hello from lfs 13 hello from lfs
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | vfs_lfsx.c | 129 int ret = LFSx_API(mount)(&self->lfs, &self->config); in MP_VFS_LFSx() 143 int ret = LFSx_API(format)(&self.lfs, &self.config); in MP_VFS_LFSx() 170 LFSx_API(dir_close)(&self->vfs->lfs, &self->dir); 211 int ret = LFSx_API(dir_open)(&self->lfs, &iter->dir, path); 222 int ret = LFSx_API(remove)(&self->lfs, path); in MP_VFS_LFSx() 233 int ret = LFSx_API(remove)(&self->lfs, path); in MP_VFS_LFSx() 263 int ret = LFSx_API(mkdir)(&self->lfs, path); in MP_VFS_LFSx() 279 int ret = LFSx_API(stat)(&self->lfs, path, &info); in MP_VFS_LFSx() 354 int ret = LFSx_API(stat)(&self->lfs, path, &info); in MP_VFS_LFSx() 443 LFSx_API(unmount)(&self->lfs); in MP_VFS_LFSx() [all …]
|
A D | vfs_lfsx_file.c | 92 …MP_OBJ_VFS_LFSx_FILE *o = m_new_obj_var_with_finaliser(MP_OBJ_VFS_LFSx_FILE, uint8_t, self->lfs.cf… in MP_VFS_LFSx() 94 …MP_OBJ_VFS_LFSx_FILE *o = m_new_obj_var_with_finaliser(MP_OBJ_VFS_LFSx_FILE, uint8_t, self->lfs.cf… in MP_VFS_LFSx() 116 int ret = LFSx_API(file_opencfg)(&self->lfs, &o->file, path, flags, &o->cfg); in MP_VFS_LFSx() 134 LFSx_API(ssize_t) sz = LFSx_API(file_read)(&self->vfs->lfs, &self->file, buf, size); in MP_VFS_LFSx() 150 LFSx_API(ssize_t) sz = LFSx_API(file_write)(&self->vfs->lfs, &self->file, buf, size); in MP_VFS_LFSx() 167 int res = LFSx_API(file_seek)(&self->vfs->lfs, &self->file, s->offset, s->whence); in MP_VFS_LFSx() 172 res = LFSx_API(file_tell)(&self->vfs->lfs, &self->file); in MP_VFS_LFSx() 180 int res = LFSx_API(file_sync)(&self->vfs->lfs, &self->file); in MP_VFS_LFSx() 190 int res = LFSx_API(file_close)(&self->vfs->lfs, &self->file); in MP_VFS_LFSx()
|
A D | vfs_lfs.c | 63 lfs1_t lfs; member 113 lfs2_t lfs; member
|
/AliOS-Things-master/components/littlefs/src/ |
A D | littlefs_vfs.c | 63 lfs_t *lfs; member 622 if (g_lfs_manager[i]->lfs != NULL) { in _lfs_deinit() 623 lfs_free(g_lfs_manager[i]->lfs); in _lfs_deinit() 784 g_lfs_manager[i]->lfs = &native_lfs[i]; in _lfs_init() 788 if (g_lfs_manager[i]->lfs == NULL) { in _lfs_init() 955 ret = lfs_file_sync(g_lfs_manager[idx]->lfs, file); in lfs_vfs_sync() 973 ret = lfs_fstat(g_lfs_manager[idx]->lfs, file, &s); in lfs_vfs_fstat() 1052 ret = lfs_fs_size(g_lfs_manager[idx]->lfs); in lfs_vfs_statfs() 1497 ret = lfs_unmount(g_lfs_manager[i]->lfs); in lfs_vfs_unmount() 1618 ret = lfs_unmount(g_lfs_manager[i]->lfs); in littlefs_format() [all …]
|
Completed in 30 milliseconds