Lines Matching full:lfs

5     lfs_format(&lfs, &cfg) => 0;
6 lfs_mount(&lfs, &cfg) => 0;
7 lfs_file_open(&lfs, &file, "baldynoop",
13 lfs_file_write(&lfs, &file, buffer, size) => size;
15 lfs_file_size(&lfs, &file) => LARGESIZE;
17 lfs_file_close(&lfs, &file) => 0;
18 lfs_unmount(&lfs) => 0;
20 lfs_mount(&lfs, &cfg) => 0;
21 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDWR) => 0;
22 lfs_file_size(&lfs, &file) => LARGESIZE;
24 lfs_file_truncate(&lfs, &file, MEDIUMSIZE) => 0;
25 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
27 lfs_file_close(&lfs, &file) => 0;
28 lfs_unmount(&lfs) => 0;
30 lfs_mount(&lfs, &cfg) => 0;
31 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDONLY) => 0;
32 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
36 lfs_file_read(&lfs, &file, buffer, size) => size;
39 lfs_file_read(&lfs, &file, buffer, size) => 0;
41 lfs_file_close(&lfs, &file) => 0;
42 lfs_unmount(&lfs) => 0;
49 lfs_format(&lfs, &cfg) => 0;
50 lfs_mount(&lfs, &cfg) => 0;
51 lfs_file_open(&lfs, &file, "baldyread",
57 lfs_file_write(&lfs, &file, buffer, size) => size;
59 lfs_file_size(&lfs, &file) => LARGESIZE;
61 lfs_file_close(&lfs, &file) => 0;
62 lfs_unmount(&lfs) => 0;
64 lfs_mount(&lfs, &cfg) => 0;
65 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDWR) => 0;
66 lfs_file_size(&lfs, &file) => LARGESIZE;
68 lfs_file_truncate(&lfs, &file, MEDIUMSIZE) => 0;
69 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
73 lfs_file_read(&lfs, &file, buffer, size) => size;
76 lfs_file_read(&lfs, &file, buffer, size) => 0;
78 lfs_file_close(&lfs, &file) => 0;
79 lfs_unmount(&lfs) => 0;
81 lfs_mount(&lfs, &cfg) => 0;
82 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDONLY) => 0;
83 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
87 lfs_file_read(&lfs, &file, buffer, size) => size;
90 lfs_file_read(&lfs, &file, buffer, size) => 0;
92 lfs_file_close(&lfs, &file) => 0;
93 lfs_unmount(&lfs) => 0;
98 lfs_format(&lfs, &cfg) => 0;
99 lfs_mount(&lfs, &cfg) => 0;
100 lfs_file_open(&lfs, &file, "sequence",
103 size = lfs_min(lfs.cfg->cache_size, sizeof(buffer)/2);
112 lfs_file_write(&lfs, &file, wb, size) => size;
113 lfs_file_size(&lfs, &file) => size;
114 lfs_file_tell(&lfs, &file) => size;
116 lfs_file_seek(&lfs, &file, 0, LFS_SEEK_SET) => 0;
117 lfs_file_tell(&lfs, &file) => 0;
121 lfs_file_truncate(&lfs, &file, trunc) => 0;
122 lfs_file_tell(&lfs, &file) => 0;
123 lfs_file_size(&lfs, &file) => trunc;
126 lfs_file_read(&lfs, &file, rb, size) => trunc;
130 lfs_file_size(&lfs, &file) => trunc;
131 lfs_file_seek(&lfs, &file, qsize, LFS_SEEK_SET) => qsize;
132 lfs_file_tell(&lfs, &file) => qsize;
136 lfs_file_truncate(&lfs, &file, trunc) => 0;
137 lfs_file_tell(&lfs, &file) => qsize;
138 lfs_file_size(&lfs, &file) => trunc;
141 lfs_file_read(&lfs, &file, rb, size) => trunc - qsize;
144 lfs_file_close(&lfs, &file) => 0;
145 lfs_unmount(&lfs) => 0;
152 lfs_format(&lfs, &cfg) => 0;
153 lfs_mount(&lfs, &cfg) => 0;
154 lfs_file_open(&lfs, &file, "baldywrite",
160 lfs_file_write(&lfs, &file, buffer, size) => size;
162 lfs_file_size(&lfs, &file) => LARGESIZE;
164 lfs_file_close(&lfs, &file) => 0;
165 lfs_unmount(&lfs) => 0;
167 lfs_mount(&lfs, &cfg) => 0;
168 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDWR) => 0;
169 lfs_file_size(&lfs, &file) => LARGESIZE;
171 lfs_file_truncate(&lfs, &file, MEDIUMSIZE) => 0;
172 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
177 lfs_file_write(&lfs, &file, buffer, size) => size;
179 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
181 lfs_file_close(&lfs, &file) => 0;
182 lfs_unmount(&lfs) => 0;
184 lfs_mount(&lfs, &cfg) => 0;
185 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDONLY) => 0;
186 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
190 lfs_file_read(&lfs, &file, buffer, size) => size;
193 lfs_file_read(&lfs, &file, buffer, size) => 0;
195 lfs_file_close(&lfs, &file) => 0;
196 lfs_unmount(&lfs) => 0;
205 err = lfs_mount(&lfs, &cfg);
207 lfs_format(&lfs, &cfg) => 0;
208 lfs_mount(&lfs, &cfg) => 0;
210 err = lfs_file_open(&lfs, &file, "baldy", LFS_O_RDONLY);
213 size = lfs_file_size(&lfs, &file);
219 lfs_file_read(&lfs, &file, buffer, 4) => 4;
224 lfs_file_close(&lfs, &file) => 0;
227 lfs_file_open(&lfs, &file, "baldy",
229 lfs_file_size(&lfs, &file) => 0;
233 lfs_file_write(&lfs, &file, buffer, size) => size;
235 lfs_file_size(&lfs, &file) => LARGESIZE;
236 lfs_file_close(&lfs, &file) => 0;
238 lfs_file_open(&lfs, &file, "baldy", LFS_O_RDWR) => 0;
239 lfs_file_size(&lfs, &file) => LARGESIZE;
240 lfs_file_truncate(&lfs, &file, MEDIUMSIZE) => 0;
241 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
245 lfs_file_write(&lfs, &file, buffer, size) => size;
247 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
248 lfs_file_close(&lfs, &file) => 0;
250 lfs_file_open(&lfs, &file, "baldy", LFS_O_RDWR) => 0;
251 lfs_file_size(&lfs, &file) => MEDIUMSIZE;
252 lfs_file_truncate(&lfs, &file, SMALLSIZE) => 0;
253 lfs_file_size(&lfs, &file) => SMALLSIZE;
257 lfs_file_write(&lfs, &file, buffer, size) => size;
259 lfs_file_size(&lfs, &file) => SMALLSIZE;
260 lfs_file_close(&lfs, &file) => 0;
262 lfs_unmount(&lfs) => 0;
315 lfs_format(&lfs, &cfg) => 0;
316 lfs_mount(&lfs, &cfg) => 0;
320 lfs_file_open(&lfs, &file, path,
326 lfs_file_write(&lfs, &file, buffer, size) => size;
328 lfs_file_size(&lfs, &file) => startsizes[i];
331 lfs_file_seek(&lfs, &file,
335 lfs_file_truncate(&lfs, &file, hotsizes[i]) => 0;
336 lfs_file_size(&lfs, &file) => hotsizes[i];
338 lfs_file_close(&lfs, &file) => 0;
341 lfs_unmount(&lfs) => 0;
343 lfs_mount(&lfs, &cfg) => 0;
347 lfs_file_open(&lfs, &file, path, LFS_O_RDWR) => 0;
348 lfs_file_size(&lfs, &file) => hotsizes[i];
353 lfs_file_read(&lfs, &file, buffer, size) => size;
358 lfs_file_read(&lfs, &file, buffer, size) => size;
362 lfs_file_truncate(&lfs, &file, coldsizes[i]) => 0;
363 lfs_file_size(&lfs, &file) => coldsizes[i];
365 lfs_file_close(&lfs, &file) => 0;
368 lfs_unmount(&lfs) => 0;
370 lfs_mount(&lfs, &cfg) => 0;
374 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
375 lfs_file_size(&lfs, &file) => coldsizes[i];
381 lfs_file_read(&lfs, &file, buffer, size) => size;
386 lfs_file_read(&lfs, &file, buffer, size) => size;
390 lfs_file_close(&lfs, &file) => 0;
393 lfs_unmount(&lfs) => 0;