Lines Matching full:lfs
35 #include "lfs.h"
38 lfs_t lfs;
62 int err = lfs_mount(&lfs, &cfg);
67 lfs_format(&lfs, &cfg);
68 lfs_mount(&lfs, &cfg);
73 lfs_file_open(&lfs, &file, "boot_count", LFS_O_RDWR | LFS_O_CREAT);
74 lfs_file_read(&lfs, &file, &boot_count, sizeof(boot_count));
78 lfs_file_rewind(&lfs, &file);
79 lfs_file_write(&lfs, &file, &boot_count, sizeof(boot_count));
82 lfs_file_close(&lfs, &file);
85 lfs_unmount(&lfs);
95 can be found in the comments in [lfs.h](lfs.h).
123 [lfs.h](lfs.h), or an error returned by the user's block device operations.