Lines Matching refs:lf
82 LittleFile * lf = lv_malloc(sizeof(LittleFile)); in fs_open() local
83 LV_ASSERT_MALLOC(lf); in fs_open()
89 int err = lfs_file_open(lfs, &lf->file, buf, flags); in fs_open()
94 return (void *)lf; in fs_open()
105 LittleFile * lf = file_p; in fs_close() local
108 lfs_file_close(lfs, &lf->file); in fs_close()
109 lv_free(lf); in fs_close()
125 LittleFile * lf = file_p; in fs_read() local
128 *br = lfs_file_read(lfs, &lf->file, (uint8_t *)buf, btr); in fs_read()
144 LittleFile * lf = file_p; in fs_write() local
147 *bw = lfs_file_write(lfs, &lf->file, (uint8_t *)buf, btw); in fs_write()
170 LittleFile * lf = file_p; in fs_seek() local
173 int rc = lfs_file_seek(lfs, &lf->file, pos, mode); in fs_seek()
187 LittleFile * lf = file_p; in fs_tell() local
190 *pos_p = lfs_file_tell(lfs, &lf->file); in fs_tell()
250 LittleDirectory * lf = dir_p; in fs_dir_read() local
257 int res = lfs_dir_read(lfs, &lf->dir, &info); in fs_dir_read()