Searched refs:LFSx_API (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | vfs_lfsx.c | 48 …FS_LFSx(dev_read)(const struct LFSx_API (config) * c, LFSx_API(block_t) block, LFSx_API(off_t) off… in MP_VFS_LFSx() 52 …LFSx(dev_prog)(const struct LFSx_API (config) * c, LFSx_API(block_t) block, LFSx_API(off_t) off, c… in MP_VFS_LFSx() 56 STATIC int MP_VFS_LFSx(dev_erase)(const struct LFSx_API (config) * c, LFSx_API(block_t) block) { in MP_VFS_LFSx() 160 LFSx_API(dir_t) dir; 166 struct LFSx_API (info) info; 353 struct LFSx_API (info) info; in MP_VFS_LFSx() 389 STATIC int LFSx_API(traverse_cb)(void *data, LFSx_API(block_t) bl) { in LFSx_API() function 401 int ret = LFSx_API(traverse)(&self->lfs, LFSx_API(traverse_cb), &n_used_blocks); in MP_VFS_LFSx() 403 int ret = LFSx_API(fs_traverse)(&self->lfs, LFSx_API(traverse_cb), &n_used_blocks); in MP_VFS_LFSx() 443 LFSx_API(unmount)(&self->lfs); in MP_VFS_LFSx() [all …]
|
A D | vfs_lfsx_file.c | 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 | 51 #define LFSx_API(s) lfs1_##s macro 82 #undef LFSx_API 97 #define LFSx_API(s) lfs2_##s macro
|
Completed in 5 milliseconds