Lines Matching full:lfs
9 in = "lfs.c"
12 lfs_format(&lfs, &cfg) => 0;
15 lfs_init(&lfs, &cfg) => 0;
17 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
18 lfs_dir_commit(&lfs, &mdir, LFS_MKATTRS(
23 lfs_deinit(&lfs) => 0;
26 lfs_mount(&lfs, &cfg) => LFS_ERR_CORRUPT;
31 in = "lfs.c"
34 lfs_format(&lfs, &cfg) => 0;
36 lfs_mount(&lfs, &cfg) => 0;
37 lfs_mkdir(&lfs, "dir_here") => 0;
38 lfs_unmount(&lfs) => 0;
41 lfs_init(&lfs, &cfg) => 0;
43 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
45 lfs_dir_get(&lfs, &mdir,
51 lfs_dir_commit(&lfs, &mdir, LFS_MKATTRS(
56 lfs_deinit(&lfs) => 0;
60 lfs_mount(&lfs, &cfg) => 0;
61 lfs_stat(&lfs, "dir_here", &info) => 0;
65 lfs_dir_open(&lfs, &dir, "dir_here") => LFS_ERR_CORRUPT;
66 lfs_stat(&lfs, "dir_here/file_here", &info) => LFS_ERR_CORRUPT;
67 lfs_dir_open(&lfs, &dir, "dir_here/dir_here") => LFS_ERR_CORRUPT;
68 lfs_file_open(&lfs, &file, "dir_here/file_here",
70 lfs_file_open(&lfs, &file, "dir_here/file_here",
72 lfs_unmount(&lfs) => 0;
76 in = "lfs.c"
80 lfs_format(&lfs, &cfg) => 0;
82 lfs_mount(&lfs, &cfg) => 0;
83 lfs_file_open(&lfs, &file, "file_here",
85 lfs_file_close(&lfs, &file) => 0;
86 lfs_unmount(&lfs) => 0;
89 lfs_init(&lfs, &cfg) => 0;
91 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
93 lfs_dir_get(&lfs, &mdir,
99 lfs_dir_commit(&lfs, &mdir, LFS_MKATTRS(
102 lfs_deinit(&lfs) => 0;
106 lfs_mount(&lfs, &cfg) => 0;
107 lfs_stat(&lfs, "file_here", &info) => 0;
112 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
113 lfs_file_read(&lfs, &file, buffer, SIZE) => LFS_ERR_CORRUPT;
114 lfs_file_close(&lfs, &file) => 0;
118 lfs_mkdir(&lfs, "dir_here") => LFS_ERR_CORRUPT;
120 lfs_unmount(&lfs) => 0;
125 in = "lfs.c"
128 lfs_format(&lfs, &cfg) => 0;
130 lfs_mount(&lfs, &cfg) => 0;
131 lfs_file_open(&lfs, &file, "file_here",
135 lfs_file_write(&lfs, &file, &c, 1) => 1;
137 lfs_file_close(&lfs, &file) => 0;
138 lfs_unmount(&lfs) => 0;
140 lfs_init(&lfs, &cfg) => 0;
142 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
144 lfs_dir_get(&lfs, &mdir,
150 lfs_dir_get(&lfs, &mdir,
163 lfs_deinit(&lfs) => 0;
167 lfs_mount(&lfs, &cfg) => 0;
168 lfs_stat(&lfs, "file_here", &info) => 0;
173 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
174 lfs_file_read(&lfs, &file, buffer, SIZE) => LFS_ERR_CORRUPT;
175 lfs_file_close(&lfs, &file) => 0;
179 lfs_mkdir(&lfs, "dir_here") => LFS_ERR_CORRUPT;
181 lfs_unmount(&lfs) => 0;
187 in = "lfs.c"
190 lfs_format(&lfs, &cfg) => 0;
193 lfs_init(&lfs, &cfg) => 0;
195 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
196 lfs_fs_prepmove(&lfs, 1, (lfs_block_t [2]){
199 lfs_dir_commit(&lfs, &mdir, NULL, 0) => 0;
200 lfs_deinit(&lfs) => 0;
205 lfs_mount(&lfs, &cfg) => 0;
206 lfs_mkdir(&lfs, "should_fail") => LFS_ERR_CORRUPT;
207 lfs_unmount(&lfs) => 0;
213 in = "lfs.c"
216 lfs_format(&lfs, &cfg) => 0;
219 lfs_init(&lfs, &cfg) => 0;
221 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
222 lfs_dir_commit(&lfs, &mdir, LFS_MKATTRS(
225 lfs_deinit(&lfs) => 0;
228 lfs_mount(&lfs, &cfg) => LFS_ERR_CORRUPT;
232 in = "lfs.c"
235 lfs_format(&lfs, &cfg) => 0;
236 lfs_mount(&lfs, &cfg) => 0;
237 lfs_mkdir(&lfs, "child") => 0;
238 lfs_unmount(&lfs) => 0;
241 lfs_init(&lfs, &cfg) => 0;
244 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
245 lfs_dir_get(&lfs, &mdir,
251 lfs_dir_fetch(&lfs, &mdir, pair) => 0;
252 lfs_dir_commit(&lfs, &mdir, LFS_MKATTRS(
255 lfs_deinit(&lfs) => 0;
258 lfs_mount(&lfs, &cfg) => LFS_ERR_CORRUPT;
262 in = "lfs.c"
265 lfs_format(&lfs, &cfg) => 0;
266 lfs_mount(&lfs, &cfg) => 0;
267 lfs_mkdir(&lfs, "child") => 0;
268 lfs_unmount(&lfs) => 0;
271 lfs_init(&lfs, &cfg) => 0;
274 lfs_dir_fetch(&lfs, &mdir, (lfs_block_t[2]){0, 1}) => 0;
275 lfs_dir_get(&lfs, &mdir,
281 lfs_dir_fetch(&lfs, &mdir, pair) => 0;
282 lfs_dir_commit(&lfs, &mdir, LFS_MKATTRS(
284 lfs_deinit(&lfs) => 0;
287 lfs_mount(&lfs, &cfg) => LFS_ERR_CORRUPT;