Lines Matching full:lfs

8     lfs_format(&lfs, &cfg) => 0;
9 lfs_mount(&lfs, &cfg) => 0;
12 lfs_file_open(&lfs, &files[j], path,
18 lfs_file_write(&lfs, &files[j], &alphas[j], 1) => 1;
23 lfs_file_close(&lfs, &files[j]);
26 lfs_dir_open(&lfs, &dir, "/") => 0;
27 lfs_dir_read(&lfs, &dir, &info) => 1;
30 lfs_dir_read(&lfs, &dir, &info) => 1;
35 lfs_dir_read(&lfs, &dir, &info) => 1;
40 lfs_dir_read(&lfs, &dir, &info) => 0;
41 lfs_dir_close(&lfs, &dir) => 0;
45 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
50 lfs_file_read(&lfs, &files[j], buffer, 1) => 1;
56 lfs_file_close(&lfs, &files[j]);
59 lfs_unmount(&lfs) => 0;
67 lfs_format(&lfs, &cfg) => 0;
68 lfs_mount(&lfs, &cfg) => 0;
71 lfs_file_open(&lfs, &file, path,
74 lfs_file_write(&lfs, &file, &alphas[j], 1) => 1;
76 lfs_file_close(&lfs, &file);
78 lfs_unmount(&lfs) => 0;
80 lfs_mount(&lfs, &cfg) => 0;
81 lfs_file_open(&lfs, &file, "zzz", LFS_O_WRONLY | LFS_O_CREAT) => 0;
83 lfs_file_write(&lfs, &file, (const void*)"~", 1) => 1;
84 lfs_file_sync(&lfs, &file) => 0;
87 lfs_remove(&lfs, path) => 0;
89 lfs_file_close(&lfs, &file);
91 lfs_dir_open(&lfs, &dir, "/") => 0;
92 lfs_dir_read(&lfs, &dir, &info) => 1;
95 lfs_dir_read(&lfs, &dir, &info) => 1;
98 lfs_dir_read(&lfs, &dir, &info) => 1;
102 lfs_dir_read(&lfs, &dir, &info) => 0;
103 lfs_dir_close(&lfs, &dir) => 0;
105 lfs_file_open(&lfs, &file, "zzz", LFS_O_RDONLY) => 0;
107 lfs_file_read(&lfs, &file, buffer, 1) => 1;
110 lfs_file_close(&lfs, &file);
112 lfs_unmount(&lfs) => 0;
118 lfs_format(&lfs, &cfg) => 0;
119 lfs_mount(&lfs, &cfg) => 0;
121 lfs_file_open(&lfs, &files[0], "e", LFS_O_WRONLY | LFS_O_CREAT) => 0;
122 lfs_file_open(&lfs, &files[1], "f", LFS_O_WRONLY | LFS_O_CREAT) => 0;
123 lfs_file_open(&lfs, &files[2], "g", LFS_O_WRONLY | LFS_O_CREAT) => 0;
126 lfs_file_write(&lfs, &files[0], (const void*)"e", 1) => 1;
127 lfs_file_write(&lfs, &files[1], (const void*)"f", 1) => 1;
128 lfs_file_write(&lfs, &files[2], (const void*)"g", 1) => 1;
131 lfs_remove(&lfs, "f") => 0;
134 lfs_file_write(&lfs, &files[0], (const void*)"e", 1) => 1;
135 lfs_file_write(&lfs, &files[1], (const void*)"f", 1) => 1;
136 lfs_file_write(&lfs, &files[2], (const void*)"g", 1) => 1;
139 lfs_file_close(&lfs, &files[0]);
140 lfs_file_close(&lfs, &files[1]);
141 lfs_file_close(&lfs, &files[2]);
143 lfs_dir_open(&lfs, &dir, "/") => 0;
144 lfs_dir_read(&lfs, &dir, &info) => 1;
147 lfs_dir_read(&lfs, &dir, &info) => 1;
150 lfs_dir_read(&lfs, &dir, &info) => 1;
154 lfs_dir_read(&lfs, &dir, &info) => 1;
158 lfs_dir_read(&lfs, &dir, &info) => 0;
159 lfs_dir_close(&lfs, &dir) => 0;
161 lfs_file_open(&lfs, &files[0], "e", LFS_O_RDONLY) => 0;
162 lfs_file_open(&lfs, &files[1], "g", LFS_O_RDONLY) => 0;
164 lfs_file_read(&lfs, &files[0], buffer, 1) => 1;
166 lfs_file_read(&lfs, &files[1], buffer, 1) => 1;
169 lfs_file_close(&lfs, &files[0]);
170 lfs_file_close(&lfs, &files[1]);
172 lfs_unmount(&lfs) => 0;
183 err = lfs_mount(&lfs, &cfg);
185 lfs_format(&lfs, &cfg) => 0;
186 lfs_mount(&lfs, &cfg) => 0;
191 lfs_file_open(&lfs, &files[j], path,
197 size = lfs_file_size(&lfs, &files[j]);
200 lfs_file_write(&lfs, &files[j], &alphas[j], 1) => 1;
201 lfs_file_sync(&lfs, &files[j]) => 0;
207 lfs_file_close(&lfs, &files[j]);
210 lfs_dir_open(&lfs, &dir, "/") => 0;
211 lfs_dir_read(&lfs, &dir, &info) => 1;
214 lfs_dir_read(&lfs, &dir, &info) => 1;
219 lfs_dir_read(&lfs, &dir, &info) => 1;
224 lfs_dir_read(&lfs, &dir, &info) => 0;
225 lfs_dir_close(&lfs, &dir) => 0;
229 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
234 lfs_file_read(&lfs, &files[j], buffer, 1) => 1;
240 lfs_file_close(&lfs, &files[j]);
243 lfs_unmount(&lfs) => 0;