Lines Matching full:lfs

12     lfs_format(&lfs, &cfg) => 0;
13 lfs_mount(&lfs, &cfg) => 0;
14 lfs_mkdir(&lfs, "breakfast") => 0;
15 lfs_unmount(&lfs) => 0;
17 lfs_mount(&lfs, &cfg) => 0;
20 lfs_file_open(&lfs, &files[n], path,
26 lfs_file_write(&lfs, &files[n], names[n], size) => size;
30 lfs_file_close(&lfs, &files[n]) => 0;
32 lfs_unmount(&lfs) => 0;
34 lfs_mount(&lfs, &cfg) => 0;
37 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
40 lfs_file_read(&lfs, &file, buffer, size) => size;
43 lfs_file_close(&lfs, &file) => 0;
45 lfs_unmount(&lfs) => 0;
54 lfs_format(&lfs, &cfg) => 0;
55 lfs_mount(&lfs, &cfg) => 0;
56 lfs_mkdir(&lfs, "breakfast") => 0;
57 lfs_unmount(&lfs) => 0;
60 lfs_mount(&lfs, &cfg) => 0;
62 lfs_file_open(&lfs, &file, path,
67 lfs_file_write(&lfs, &file, buffer, size) => size;
69 lfs_file_close(&lfs, &file) => 0;
70 lfs_unmount(&lfs) => 0;
73 lfs_mount(&lfs, &cfg) => 0;
76 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
79 lfs_file_read(&lfs, &file, buffer, size) => size;
82 lfs_file_close(&lfs, &file) => 0;
84 lfs_unmount(&lfs) => 0;
95 lfs_format(&lfs, &cfg) => 0;
98 lfs_mount(&lfs, &cfg) => 0;
99 lfs_mkdir(&lfs, "breakfast") => 0;
100 lfs_unmount(&lfs) => 0;
102 lfs_mount(&lfs, &cfg) => 0;
105 lfs_file_open(&lfs, &files[n], path,
111 lfs_file_write(&lfs, &files[n], names[n], size) => size;
115 lfs_file_close(&lfs, &files[n]) => 0;
117 lfs_unmount(&lfs) => 0;
119 lfs_mount(&lfs, &cfg) => 0;
122 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
125 lfs_file_read(&lfs, &file, buffer, size) => size;
128 lfs_file_close(&lfs, &file) => 0;
130 lfs_unmount(&lfs) => 0;
132 lfs_mount(&lfs, &cfg) => 0;
135 lfs_remove(&lfs, path) => 0;
137 lfs_remove(&lfs, "breakfast") => 0;
138 lfs_unmount(&lfs) => 0;
149 lfs_format(&lfs, &cfg) => 0;
152 lfs_mount(&lfs, &cfg) => 0;
153 lfs_mkdir(&lfs, "breakfast") => 0;
154 lfs_unmount(&lfs) => 0;
157 lfs_mount(&lfs, &cfg) => 0;
159 lfs_file_open(&lfs, &file, path,
164 lfs_file_write(&lfs, &file, buffer, size) => size;
166 lfs_file_close(&lfs, &file) => 0;
167 lfs_unmount(&lfs) => 0;
170 lfs_mount(&lfs, &cfg) => 0;
173 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
176 lfs_file_read(&lfs, &file, buffer, size) => size;
179 lfs_file_close(&lfs, &file) => 0;
181 lfs_unmount(&lfs) => 0;
183 lfs_mount(&lfs, &cfg) => 0;
186 lfs_remove(&lfs, path) => 0;
188 lfs_remove(&lfs, "breakfast") => 0;
189 lfs_unmount(&lfs) => 0;
195 lfs_format(&lfs, &cfg) => 0;
196 lfs_mount(&lfs, &cfg) => 0;
197 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
200 lfs_file_write(&lfs, &file, buffer, size) => size;
201 lfs_file_sync(&lfs, &file) => 0;
207 res = lfs_file_write(&lfs, &file, buffer, size);
216 lfs_file_close(&lfs, &file) => 0;
217 lfs_unmount(&lfs) => 0;
219 lfs_mount(&lfs, &cfg) => 0;
220 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY);
222 lfs_file_size(&lfs, &file) => size;
223 lfs_file_read(&lfs, &file, buffer, size) => size;
225 lfs_file_close(&lfs, &file) => 0;
226 lfs_unmount(&lfs) => 0;
232 lfs_format(&lfs, &cfg) => 0;
233 lfs_mount(&lfs, &cfg) => 0;
235 lfs_file_open(&lfs, &file, "padding", LFS_O_WRONLY | LFS_O_CREAT);
239 lfs_file_write(&lfs, &file, buffer, size) => size;
241 lfs_file_close(&lfs, &file) => 0;
242 lfs_remove(&lfs, "padding") => 0;
244 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
247 lfs_file_write(&lfs, &file, buffer, size) => size;
248 lfs_file_sync(&lfs, &file) => 0;
254 res = lfs_file_write(&lfs, &file, buffer, size);
263 lfs_file_close(&lfs, &file) => 0;
264 lfs_unmount(&lfs) => 0;
266 lfs_mount(&lfs, &cfg) => 0;
267 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY);
269 lfs_file_size(&lfs, &file) => size;
270 lfs_file_read(&lfs, &file, buffer, size) => size;
272 lfs_file_close(&lfs, &file) => 0;
273 lfs_remove(&lfs, "exhaustion") => 0;
274 lfs_unmount(&lfs) => 0;
279 lfs_format(&lfs, &cfg) => 0;
280 lfs_mount(&lfs, &cfg) => 0;
283 lfs_mkdir(&lfs, "exhaustiondir") => 0;
286 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
289 err = lfs_file_write(&lfs, &file, buffer, size);
297 lfs_file_close(&lfs, &file) => 0;
299 lfs_remove(&lfs, "exhaustion") => 0;
300 lfs_remove(&lfs, "exhaustiondir") => 0;
303 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
305 lfs_file_write(&lfs, &file, buffer, size) => size;
307 lfs_file_close(&lfs, &file) => 0;
309 lfs_mkdir(&lfs, "exhaustiondir") => 0;
310 lfs_remove(&lfs, "exhaustiondir") => 0;
311 lfs_remove(&lfs, "exhaustion") => 0;
314 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
316 lfs_file_write(&lfs, &file, buffer, size) => size;
318 lfs_file_close(&lfs, &file) => 0;
320 lfs_mkdir(&lfs, "exhaustiondir") => LFS_ERR_NOSPC;
322 lfs_remove(&lfs, "exhaustion") => 0;
323 lfs_unmount(&lfs) => 0;
327 in = "lfs.c"
331 lfs_format(&lfs, &cfg) => 0;
332 lfs_mount(&lfs, &cfg) => 0;
334 lfs_file_open(&lfs, &file, "pacman", LFS_O_WRONLY | LFS_O_CREAT) => 0;
339 lfs_ssize_t res = lfs_file_write(&lfs, &file, buffer, size);
346 lfs_file_close(&lfs, &file) => 0;
349 lfs_file_open(&lfs, &file, "pacman", LFS_O_WRONLY | LFS_O_CREAT) => 0;
353 lfs_file_write(&lfs, &file, buffer, size) => size;
355 lfs_file_close(&lfs, &file) => 0;
358 lfs_unmount(&lfs) => 0;
361 lfs_mount(&lfs, &cfg) => 0;
366 lfs_file_open(&lfs, &file, "ghost", LFS_O_WRONLY | LFS_O_CREAT) => 0;
370 lfs_ssize_t res = lfs_file_write(&lfs, &file, buffer, size);
376 lfs_file_close(&lfs, &file) => 0;
381 lfs_file_open(&lfs, &file, "ghost", LFS_O_WRONLY | LFS_O_CREAT) => 0;
385 lfs_ssize_t res = lfs_file_write(&lfs, &file, buffer, size);
391 lfs_file_close(&lfs, &file) => 0;
393 lfs_unmount(&lfs) => 0;
396 lfs_mount(&lfs, &cfg) => 0;
397 lfs_file_open(&lfs, &file, "pacman", LFS_O_RDONLY) => 0;
402 lfs_file_read(&lfs, &file, rbuffer, size) => size;
405 lfs_file_close(&lfs, &file) => 0;
406 lfs_unmount(&lfs) => 0;
419 lfs_format(&lfs, &cfg) => 0;
420 lfs_mount(&lfs, &cfg) => 0;
423 lfs_mkdir(&lfs, "exhaustiondir") => 0;
426 lfs_mkdir(&lfs, path) => 0;
430 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
433 err = lfs_file_write(&lfs, &file, buffer, size);
441 lfs_file_close(&lfs, &file) => 0;
443 lfs_remove(&lfs, "exhaustion") => 0;
444 lfs_remove(&lfs, "exhaustiondir") => 0;
447 lfs_remove(&lfs, path) => 0;
451 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
453 lfs_file_write(&lfs, &file, buffer, size) => size;
455 lfs_file_sync(&lfs, &file) => 0;
459 lfs_mkdir(&lfs, path) => 0;
462 lfs_mkdir(&lfs, "exhaustiondir") => LFS_ERR_NOSPC;
466 err = lfs_mkdir(&lfs, "exhaustiondir");
471 lfs_ssize_t filesize = lfs_file_size(&lfs, &file);
474 lfs_file_truncate(&lfs, &file, filesize - size) => 0;
475 lfs_file_sync(&lfs, &file) => 0;
479 lfs_mkdir(&lfs, "exhaustiondir2") => LFS_ERR_NOSPC;
481 lfs_file_close(&lfs, &file) => 0;
482 lfs_unmount(&lfs) => 0;
490 lfs_format(&lfs, &cfg) => 0;
491 lfs_mount(&lfs, &cfg) => 0;
494 lfs_file_open(&lfs, &file, "bump", LFS_O_WRONLY | LFS_O_CREAT) => 0;
498 lfs_file_write(&lfs, &file, buffer, cfg.block_size) => cfg.block_size;
499 lfs_file_close(&lfs, &file) => 0;
501 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
507 lfs_file_write(&lfs, &file, buffer, size) => size;
509 lfs_file_close(&lfs, &file) => 0;
512 lfs_unmount(&lfs) => 0;
513 lfs_mount(&lfs, &cfg) => 0;
516 lfs_remove(&lfs, "bump") => 0;
518 lfs_mkdir(&lfs, "splitdir") => 0;
519 lfs_file_open(&lfs, &file, "splitdir/bump",
524 lfs_file_write(&lfs, &file, buffer, 2*cfg.block_size) => LFS_ERR_NOSPC;
525 lfs_file_close(&lfs, &file) => 0;
527 lfs_unmount(&lfs) => 0;
535 lfs_format(&lfs, &cfg) => 0;
536 lfs_mount(&lfs, &cfg) => 0;
539 lfs_file_open(&lfs, &file, "exhaustion1",
546 lfs_file_write(&lfs, &file, buffer, size) => size;
548 lfs_file_close(&lfs, &file) => 0;
550 lfs_file_open(&lfs, &file, "exhaustion2",
557 lfs_file_write(&lfs, &file, buffer, size) => size;
559 lfs_file_close(&lfs, &file) => 0;
562 lfs_unmount(&lfs) => 0;
563 lfs_mount(&lfs, &cfg) => 0;
566 lfs_file_open(&lfs, &file, "exhaustion1",
568 lfs_file_sync(&lfs, &file) => 0;
574 lfs_file_write(&lfs, &file, buffer, size) => size;
576 lfs_file_close(&lfs, &file) => 0;
580 lfs_file_open(&lfs, &file, "exhaustion2",
582 lfs_file_sync(&lfs, &file) => 0;
588 lfs_file_write(&lfs, &file, buffer, size) => size;
590 lfs_file_close(&lfs, &file) => 0;
592 lfs_unmount(&lfs) => 0;
600 lfs_format(&lfs, &cfg) => 0;
601 lfs_mount(&lfs, &cfg) => 0;
604 lfs_file_open(&lfs, &file, "exhaustion1",
611 lfs_file_write(&lfs, &file, buffer, size) => size;
613 lfs_file_close(&lfs, &file) => 0;
615 lfs_file_open(&lfs, &file, "exhaustion2",
622 lfs_file_write(&lfs, &file, buffer, size) => size;
624 lfs_file_close(&lfs, &file) => 0;
627 lfs_unmount(&lfs) => 0;
628 lfs_mount(&lfs, &cfg) => 0;
631 lfs_file_open(&lfs, &file, "exhaustion1",
633 lfs_file_sync(&lfs, &file) => 0;
639 lfs_file_write(&lfs, &file, buffer, size) => size;
641 lfs_file_close(&lfs, &file) => 0;
644 lfs_mkdir(&lfs, "split") => LFS_ERR_NOSPC;
647 lfs_file_open(&lfs, &file, "notasplit",
649 lfs_file_write(&lfs, &file, "hi", 2) => 2;
650 lfs_file_close(&lfs, &file) => 0;
652 lfs_unmount(&lfs) => 0;