Lines Matching refs:lfs
10 lfs_t lfs;
11 lfs_format(&lfs, cfg) => 0;
12 lfs_mount(&lfs, cfg) => 0;
20 lfs_file_open(&lfs, &file, name,
28 lfs_file_write(&lfs, &file, buffer, CHUNK_SIZE) => CHUNK_SIZE;
31 lfs_file_close(&lfs, &file) => 0;
44 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
48 lfs_file_read(&lfs, &file, buffer, CHUNK_SIZE) => CHUNK_SIZE;
54 lfs_file_close(&lfs, &file) => 0;
58 lfs_unmount(&lfs) => 0;
70 lfs_t lfs;
71 lfs_format(&lfs, cfg) => 0;
72 lfs_mount(&lfs, cfg) => 0;
85 lfs_file_open(&lfs, &file, name,
93 lfs_file_write(&lfs, &file, buffer, CHUNK_SIZE) => CHUNK_SIZE;
96 lfs_file_close(&lfs, &file) => 0;
100 lfs_unmount(&lfs) => 0;
112 lfs_t lfs;
113 lfs_format(&lfs, cfg) => 0;
114 lfs_mount(&lfs, cfg) => 0;
122 lfs_file_open(&lfs, &file, name,
130 lfs_file_write(&lfs, &file, buffer, CHUNK_SIZE) => CHUNK_SIZE;
133 lfs_file_close(&lfs, &file) => 0;
145 int err = lfs_remove(&lfs, name);
150 lfs_unmount(&lfs) => 0;
158 lfs_t lfs;
159 lfs_format(&lfs, cfg) => 0;
160 lfs_mount(&lfs, cfg) => 0;
168 lfs_file_open(&lfs, &file, name,
176 lfs_file_write(&lfs, &file, buffer, CHUNK_SIZE) => CHUNK_SIZE;
179 lfs_file_close(&lfs, &file) => 0;
185 lfs_dir_open(&lfs, &dir, "/") => 0;
187 lfs_dir_read(&lfs, &dir, &info) => 1;
190 lfs_dir_read(&lfs, &dir, &info) => 1;
195 lfs_dir_read(&lfs, &dir, &info) => 1;
199 lfs_dir_read(&lfs, &dir, &info) => 0;
200 lfs_dir_close(&lfs, &dir) => 0;
203 lfs_unmount(&lfs) => 0;
213 lfs_t lfs;
214 lfs_format(&lfs, cfg) => 0;
215 lfs_mount(&lfs, cfg) => 0;
227 int err = lfs_mkdir(&lfs, name);
232 lfs_unmount(&lfs) => 0;
242 lfs_t lfs;
243 lfs_format(&lfs, cfg) => 0;
244 lfs_mount(&lfs, cfg) => 0;
250 lfs_mkdir(&lfs, name) => 0;
262 int err = lfs_remove(&lfs, name);
267 lfs_unmount(&lfs) => 0;