Lines Matching refs:LFSx_API

39 STATIC int MP_VFS_LFSx(dev_ioctl)(const struct LFSx_API (config) * c, int cmd, int arg, bool must_r…  in MP_VFS_LFSx()
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()
60 STATIC int MP_VFS_LFSx(dev_sync)(const struct LFSx_API (config) * c) { in MP_VFS_LFSx()
68 struct LFSx_API (config) * config = &self->config; in MP_VFS_LFSx()
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()
160 LFSx_API(dir_t) dir;
166 struct LFSx_API (info) info;
168 int ret = LFSx_API(dir_read)(&self->vfs->lfs, &self->dir, &info);
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()
251 int ret = LFSx_API(rename)(&self->lfs, path_old, vstr_null_terminated_str(&path_new)); in MP_VFS_LFSx()
263 int ret = LFSx_API(mkdir)(&self->lfs, path); in MP_VFS_LFSx()
278 struct LFSx_API (info) info; in MP_VFS_LFSx()
279 int ret = LFSx_API(stat)(&self->lfs, path, &info); in MP_VFS_LFSx()
353 struct LFSx_API (info) info; in MP_VFS_LFSx()
354 int ret = LFSx_API(stat)(&self->lfs, path, &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()
467 struct LFSx_API (info) info; in MP_VFS_LFSx()
470 int ret = LFSx_API(stat)(&self->lfs, path, &info); in MP_VFS_LFSx()