Home
last modified time | relevance | path

Searched refs:lfs_file_open (Results 1 – 23 of 23) sorted by relevance

/littlefs-3.7.0-3.6.0/tests/
Dtest_entries.toml22 lfs_file_open(&lfs, &file, path,
30 lfs_file_open(&lfs, &file, path,
38 lfs_file_open(&lfs, &file, path,
46 lfs_file_open(&lfs, &file, path,
55 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
62 lfs_file_open(&lfs, &file, path,
71 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
78 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
85 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
92 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
[all …]
Dtest_move.toml11 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
48 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
49 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
50 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0;
59 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
92 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
146 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
147 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
148 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0;
156 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
[all …]
Dtest_files.toml8 lfs_file_open(&lfs, &file, "hello",
18 lfs_file_open(&lfs, &file, "hello", LFS_O_RDONLY) => 0;
35 lfs_file_open(&lfs, &file, "avacado",
51 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
78 lfs_file_open(&lfs, &file, "avacado",
93 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
109 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY) => 0;
123 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
163 lfs_file_open(&lfs, &file, "avacado",
178 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
[all …]
Dtest_alloc.toml24 lfs_file_open(&lfs, &files[n], path,
46 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
77 lfs_file_open(&lfs, &file, path,
97 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
130 lfs_file_open(&lfs, &files[n], path,
149 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
192 lfs_file_open(&lfs, &file, path,
209 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
238 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
265 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY);
[all …]
Dtest_truncate.toml11 lfs_file_open(&lfs, &file, "baldynoop",
27 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDWR) => 0;
37 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDONLY) => 0;
62 lfs_file_open(&lfs, &file, "baldyread",
78 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDWR) => 0;
96 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDONLY) => 0;
118 lfs_file_open(&lfs, &file, "sequence",
177 lfs_file_open(&lfs, &file, "baldywrite",
193 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDWR) => 0;
213 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDONLY) => 0;
[all …]
Dtest_powerloss.toml14 lfs_file_open(&lfs, &file, "notebook/paper",
26 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
55 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
63 lfs_file_open(&lfs, &file, "notebook/paper",
73 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
107 lfs_file_open(&lfs, &file, "notebook/paper",
119 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
151 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
159 lfs_file_open(&lfs, &file, "notebook/paper",
169 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
Dtest_interspersed.toml14 lfs_file_open(&lfs, &files[j], path,
51 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
81 lfs_file_open(&lfs, &file, path,
92 lfs_file_open(&lfs, &file, "zzz", LFS_O_WRONLY | LFS_O_CREAT) => 0;
119 lfs_file_open(&lfs, &file, "zzz", LFS_O_RDONLY) => 0;
137 lfs_file_open(&lfs, &files[0], "e", LFS_O_WRONLY | LFS_O_CREAT) => 0;
138 lfs_file_open(&lfs, &files[1], "f", LFS_O_WRONLY | LFS_O_CREAT) => 0;
139 lfs_file_open(&lfs, &files[2], "g", LFS_O_WRONLY | LFS_O_CREAT) => 0;
179 lfs_file_open(&lfs, &files[0], "e", LFS_O_RDONLY) => 0;
180 lfs_file_open(&lfs, &files[1], "g", LFS_O_RDONLY) => 0;
[all …]
Dtest_seek.toml17 lfs_file_open(&lfs, &file, "kitty",
29 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0;
90 lfs_file_open(&lfs, &file, "kitty",
102 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0;
148 lfs_file_open(&lfs, &file, "kitty",
160 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0;
212 lfs_file_open(&lfs, &file, "kitty",
223 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDWR) => 0;
264 lfs_file_open(&lfs, &file, "tinykitty",
341 err = lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY);
[all …]
Dtest_superblocks.toml110 lfs_file_open(&lfs, &file, "dummy",
124 lfs_file_open(&lfs, &file, "dummy",
154 lfs_file_open(&lfs, &file, "dummy",
197 lfs_file_open(&lfs, &file, "dummy",
247 lfs_file_open(&lfs, &file, "test",
257 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
302 lfs_file_open(&lfs, &file, "test",
312 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
450 lfs_file_open(&lfs, &file, "test",
460 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
Dtest_exhaustion.toml32 lfs_file_open(&lfs, &file, path,
63 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
122 lfs_file_open(&lfs, &file, path,
153 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
221 lfs_file_open(&lfs, &file, path,
252 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
318 lfs_file_open(&lfs, &file, path,
349 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
411 lfs_file_open(&lfs, &file, path,
442 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
Dtest_badblocks.toml40 lfs_file_open(&lfs, &file, (char*)buffer,
69 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
120 lfs_file_open(&lfs, &file, (char*)buffer,
149 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
199 lfs_file_open(&lfs, &file, (char*)buffer,
228 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
Dtest_dirs.toml281 lfs_file_open(&lfs, &file, path,
321 lfs_file_open(&lfs, &file, path,
381 lfs_file_open(&lfs, &file, path,
454 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
535 lfs_file_open(&lfs, &file, "burito",
727 lfs_file_open(&lfs, &file, "burito",
736 lfs_file_open(&lfs, &file, "burito",
738 lfs_file_open(&lfs, &file, "potato",
743 lfs_file_open(&lfs, &file, "tomato", LFS_O_RDONLY) => LFS_ERR_NOENT;
744 lfs_file_open(&lfs, &file, "potato", LFS_O_RDONLY) => LFS_ERR_ISDIR;
[all …]
Dtest_attrs.toml8 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
75 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
89 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
155 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
169 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
265 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
279 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_paths.toml200 lfs_file_open(&lfs, &file, "dirt/ground", LFS_O_WRONLY | LFS_O_CREAT)
203 lfs_file_open(&lfs, &file, "dirt/ground/earth", LFS_O_WRONLY | LFS_O_CREAT)
221 lfs_file_open(&lfs, &file, "/", LFS_O_WRONLY | LFS_O_CREAT)
291 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT)
298 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT)
320 lfs_file_open(&lfs, &file, path,
330 lfs_file_open(&lfs, &file, path,
Dtest_evil.toml74 lfs_file_open(&lfs, &file, "dir_here/file_here",
76 lfs_file_open(&lfs, &file, "dir_here/file_here",
91 lfs_file_open(&lfs, &file, "file_here",
122 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
143 lfs_file_open(&lfs, &file, "file_here",
187 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
Dtest_relocations.toml12 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
28 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
90 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
106 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
123 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
140 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
Dtest_compat.toml49 #define lfsp_file_open lfs_file_open
224 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
341 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
486 lfs_file_open(&lfs, &file, name, LFS_O_WRONLY) => 0;
528 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
611 lfs_file_open(&lfs, &file, name, LFS_O_WRONLY) => 0;
677 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
794 lfs_file_open(&lfs, &file, name,
882 lfs_file_open(&lfs, &file, name,
1052 lfs_file_open(&lfs, &file, name,
[all …]
/littlefs-3.7.0-3.6.0/benches/
Dbench_dir.toml20 lfs_file_open(&lfs, &file, name,
44 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
85 lfs_file_open(&lfs, &file, name,
122 lfs_file_open(&lfs, &file, name,
168 lfs_file_open(&lfs, &file, name,
Dbench_file.toml17 lfs_file_open(&lfs, &file, "file",
32 lfs_file_open(&lfs, &file, "file", LFS_O_RDONLY) => 0;
71 lfs_file_open(&lfs, &file, "file",
Dbench_superblock.toml17 lfs_file_open(&lfs, &file, name,
/littlefs-3.7.0-3.6.0/
Dlfs.h554 int lfs_file_open(lfs_t *lfs, lfs_file_t *file,
DREADME.md73 lfs_file_open(&lfs, &file, "boot_count", LFS_O_RDWR | LFS_O_CREAT);
Dlfs.c5928 int lfs_file_open(lfs_t *lfs, lfs_file_t *file, const char *path, int flags) { function