Lines Matching full:lfs

3     lfs_format(&lfs, &cfg) => 0;
4 lfs_mount(&lfs, &cfg) => 0;
5 lfs_mkdir(&lfs, "hello") => 0;
6 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
7 lfs_file_write(&lfs, &file, "hello", strlen("hello")) => strlen("hello");
8 lfs_file_close(&lfs, &file);
9 lfs_unmount(&lfs) => 0;
11 lfs_mount(&lfs, &cfg) => 0;
13 lfs_setattr(&lfs, "hello", 'A', "aaaa", 4) => 0;
14 lfs_setattr(&lfs, "hello", 'B', "bbbbbb", 6) => 0;
15 lfs_setattr(&lfs, "hello", 'C', "ccccc", 5) => 0;
16 lfs_getattr(&lfs, "hello", 'A', buffer, 4) => 4;
17 lfs_getattr(&lfs, "hello", 'B', buffer+4, 6) => 6;
18 lfs_getattr(&lfs, "hello", 'C', buffer+10, 5) => 5;
23 lfs_setattr(&lfs, "hello", 'B', "", 0) => 0;
24 lfs_getattr(&lfs, "hello", 'A', buffer, 4) => 4;
25 lfs_getattr(&lfs, "hello", 'B', buffer+4, 6) => 0;
26 lfs_getattr(&lfs, "hello", 'C', buffer+10, 5) => 5;
31 lfs_removeattr(&lfs, "hello", 'B') => 0;
32 lfs_getattr(&lfs, "hello", 'A', buffer, 4) => 4;
33 lfs_getattr(&lfs, "hello", 'B', buffer+4, 6) => LFS_ERR_NOATTR;
34 lfs_getattr(&lfs, "hello", 'C', buffer+10, 5) => 5;
39 lfs_setattr(&lfs, "hello", 'B', "dddddd", 6) => 0;
40 lfs_getattr(&lfs, "hello", 'A', buffer, 4) => 4;
41 lfs_getattr(&lfs, "hello", 'B', buffer+4, 6) => 6;
42 lfs_getattr(&lfs, "hello", 'C', buffer+10, 5) => 5;
47 lfs_setattr(&lfs, "hello", 'B', "eee", 3) => 0;
48 lfs_getattr(&lfs, "hello", 'A', buffer, 4) => 4;
49 lfs_getattr(&lfs, "hello", 'B', buffer+4, 6) => 3;
50 lfs_getattr(&lfs, "hello", 'C', buffer+10, 5) => 5;
55 lfs_setattr(&lfs, "hello", 'A', buffer, LFS_ATTR_MAX+1) => LFS_ERR_NOSPC;
56 lfs_setattr(&lfs, "hello", 'B', "fffffffff", 9) => 0;
57 lfs_getattr(&lfs, "hello", 'A', buffer, 4) => 4;
58 lfs_getattr(&lfs, "hello", 'B', buffer+4, 6) => 9;
59 lfs_getattr(&lfs, "hello", 'C', buffer+10, 5) => 5;
61 lfs_unmount(&lfs) => 0;
63 lfs_mount(&lfs, &cfg) => 0;
65 lfs_getattr(&lfs, "hello", 'A', buffer, 4) => 4;
66 lfs_getattr(&lfs, "hello", 'B', buffer+4, 9) => 9;
67 lfs_getattr(&lfs, "hello", 'C', buffer+13, 5) => 5;
72 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
73 lfs_file_read(&lfs, &file, buffer, sizeof(buffer)) => strlen("hello");
75 lfs_file_close(&lfs, &file);
76 lfs_unmount(&lfs) => 0;
81 lfs_format(&lfs, &cfg) => 0;
82 lfs_mount(&lfs, &cfg) => 0;
83 lfs_mkdir(&lfs, "hello") => 0;
84 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
85 lfs_file_write(&lfs, &file, "hello", strlen("hello")) => strlen("hello");
86 lfs_file_close(&lfs, &file);
87 lfs_unmount(&lfs) => 0;
89 lfs_mount(&lfs, &cfg) => 0;
91 lfs_setattr(&lfs, "/", 'A', "aaaa", 4) => 0;
92 lfs_setattr(&lfs, "/", 'B', "bbbbbb", 6) => 0;
93 lfs_setattr(&lfs, "/", 'C', "ccccc", 5) => 0;
94 lfs_getattr(&lfs, "/", 'A', buffer, 4) => 4;
95 lfs_getattr(&lfs, "/", 'B', buffer+4, 6) => 6;
96 lfs_getattr(&lfs, "/", 'C', buffer+10, 5) => 5;
101 lfs_setattr(&lfs, "/", 'B', "", 0) => 0;
102 lfs_getattr(&lfs, "/", 'A', buffer, 4) => 4;
103 lfs_getattr(&lfs, "/", 'B', buffer+4, 6) => 0;
104 lfs_getattr(&lfs, "/", 'C', buffer+10, 5) => 5;
109 lfs_removeattr(&lfs, "/", 'B') => 0;
110 lfs_getattr(&lfs, "/", 'A', buffer, 4) => 4;
111 lfs_getattr(&lfs, "/", 'B', buffer+4, 6) => LFS_ERR_NOATTR;
112 lfs_getattr(&lfs, "/", 'C', buffer+10, 5) => 5;
117 lfs_setattr(&lfs, "/", 'B', "dddddd", 6) => 0;
118 lfs_getattr(&lfs, "/", 'A', buffer, 4) => 4;
119 lfs_getattr(&lfs, "/", 'B', buffer+4, 6) => 6;
120 lfs_getattr(&lfs, "/", 'C', buffer+10, 5) => 5;
125 lfs_setattr(&lfs, "/", 'B', "eee", 3) => 0;
126 lfs_getattr(&lfs, "/", 'A', buffer, 4) => 4;
127 lfs_getattr(&lfs, "/", 'B', buffer+4, 6) => 3;
128 lfs_getattr(&lfs, "/", 'C', buffer+10, 5) => 5;
133 lfs_setattr(&lfs, "/", 'A', buffer, LFS_ATTR_MAX+1) => LFS_ERR_NOSPC;
134 lfs_setattr(&lfs, "/", 'B', "fffffffff", 9) => 0;
135 lfs_getattr(&lfs, "/", 'A', buffer, 4) => 4;
136 lfs_getattr(&lfs, "/", 'B', buffer+4, 6) => 9;
137 lfs_getattr(&lfs, "/", 'C', buffer+10, 5) => 5;
138 lfs_unmount(&lfs) => 0;
140 lfs_mount(&lfs, &cfg) => 0;
142 lfs_getattr(&lfs, "/", 'A', buffer, 4) => 4;
143 lfs_getattr(&lfs, "/", 'B', buffer+4, 9) => 9;
144 lfs_getattr(&lfs, "/", 'C', buffer+13, 5) => 5;
149 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
150 lfs_file_read(&lfs, &file, buffer, sizeof(buffer)) => strlen("hello");
152 lfs_file_close(&lfs, &file);
153 lfs_unmount(&lfs) => 0;
158 lfs_format(&lfs, &cfg) => 0;
159 lfs_mount(&lfs, &cfg) => 0;
160 lfs_mkdir(&lfs, "hello") => 0;
161 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
162 lfs_file_write(&lfs, &file, "hello", strlen("hello")) => strlen("hello");
163 lfs_file_close(&lfs, &file);
164 lfs_unmount(&lfs) => 0;
166 lfs_mount(&lfs, &cfg) => 0;
175 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
179 lfs_file_close(&lfs, &file) => 0;
181 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
182 lfs_file_close(&lfs, &file) => 0;
188 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
189 lfs_file_close(&lfs, &file) => 0;
192 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
193 lfs_file_close(&lfs, &file) => 0;
199 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
201 lfs_file_close(&lfs, &file) => 0;
204 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
205 lfs_file_close(&lfs, &file) => 0;
211 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
213 lfs_file_close(&lfs, &file) => 0;
216 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
217 lfs_file_close(&lfs, &file) => 0;
223 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1)
232 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDWR, &cfg2) => 0;
234 lfs_file_close(&lfs, &file) => 0;
236 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
237 lfs_file_close(&lfs, &file) => 0;
239 lfs_unmount(&lfs) => 0;
241 lfs_mount(&lfs, &cfg) => 0;
250 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg3) => 0;
251 lfs_file_close(&lfs, &file) => 0;
256 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
257 lfs_file_read(&lfs, &file, buffer, sizeof(buffer)) => strlen("hello");
259 lfs_file_close(&lfs, &file);
260 lfs_unmount(&lfs) => 0;
265 lfs_format(&lfs, &cfg) => 0;
266 lfs_mount(&lfs, &cfg) => 0;
267 lfs_mkdir(&lfs, "hello") => 0;
268 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
269 lfs_file_write(&lfs, &file, "hello", strlen("hello")) => strlen("hello");
270 lfs_file_close(&lfs, &file);
271 lfs_unmount(&lfs) => 0;
273 lfs_mount(&lfs, &cfg) => 0;
274 lfs_setattr(&lfs, "hello/hello", 'B', "fffffffff", 9) => 0;
275 lfs_setattr(&lfs, "hello/hello", 'C', "ccccc", 5) => 0;
285 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
287 lfs_getattr(&lfs, "hello/hello", 'B', buffer, 9) => 9;
288 lfs_getattr(&lfs, "hello/hello", 'C', buffer+9, 9) => 5;
289 lfs_getattr(&lfs, "hello/hello", 'D', buffer+18, 9) => LFS_ERR_NOATTR;
294 lfs_file_sync(&lfs, &file) => 0;
295 lfs_getattr(&lfs, "hello/hello", 'B', buffer, 9) => 4;
296 lfs_getattr(&lfs, "hello/hello", 'C', buffer+9, 9) => 0;
297 lfs_getattr(&lfs, "hello/hello", 'D', buffer+18, 9) => 4;
302 lfs_file_close(&lfs, &file) => 0;
303 lfs_unmount(&lfs) => 0;