Home
last modified time | relevance | path

Searched refs:LFS_O_WRONLY (Results 1 – 17 of 17) sorted by relevance

/littlefs-3.5.0-3.4.0/tests/
Dtest_entries.toml19 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
27 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
35 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
43 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
59 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
108 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
116 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
124 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
132 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
148 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
[all …]
Dtest_alloc.toml21 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
63 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
106 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
160 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
197 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
235 lfs_file_open(&lfs, &file, "padding", LFS_O_WRONLY | LFS_O_CREAT);
244 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
286 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
303 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
314 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
[all …]
Dtest_move.toml9 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
83 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
159 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
251 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
401 LFS_O_WRONLY | LFS_O_CREAT) => 0;
926 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
989 LFS_O_WRONLY | LFS_O_CREAT) => 0;
993 LFS_O_WRONLY | LFS_O_CREAT) => 0;
998 LFS_O_WRONLY | LFS_O_CREAT) => 0;
1003 LFS_O_WRONLY | LFS_O_CREAT) => 0;
[all …]
Dtest_attrs.toml6 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
84 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
161 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
175 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
188 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
199 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
211 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
223 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1)
268 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
285 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
Dtest_files.toml7 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
31 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
70 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
100 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY) => 0;
152 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
182 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY | LFS_O_APPEND) => 0;
229 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
259 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY | LFS_O_TRUNC) => 0;
309 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY | LFS_O_CREAT) => 0;
372 LFS_O_WRONLY | LFS_O_CREAT | MODE) => 0;
[all …]
Dtest_interspersed.toml13 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
72 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
81 lfs_file_open(&lfs, &file, "zzz", LFS_O_WRONLY | LFS_O_CREAT) => 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;
192 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
Dtest_superblocks.toml37 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
49 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
74 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
112 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
Dtest_paths.toml175 lfs_file_open(&lfs, &file, "dirt/ground", LFS_O_WRONLY | LFS_O_CREAT)
178 lfs_file_open(&lfs, &file, "dirt/ground/earth", LFS_O_WRONLY | LFS_O_CREAT)
192 lfs_file_open(&lfs, &file, "/", LFS_O_WRONLY | LFS_O_CREAT)
252 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT)
259 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT)
278 LFS_O_WRONLY | LFS_O_CREAT) => 0;
288 LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_dirs.toml246 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
279 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
331 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
395 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
469 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
650 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
659 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => LFS_ERR_EXIST;
661 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => LFS_ERR_EXIST;
666 lfs_file_open(&lfs, &file, "tomato", LFS_O_WRONLY) => LFS_ERR_NOENT;
667 lfs_file_open(&lfs, &file, "potato", LFS_O_WRONLY) => LFS_ERR_ISDIR;
[all …]
Dtest_relocations.toml10 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
24 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
76 lfs_file_open(&lfs, &file, "padding", LFS_O_CREAT | LFS_O_WRONLY) => 0;
90 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
104 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
120 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY) => 0;
Dtest_seek.toml15 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
84 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
139 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
199 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
333 lfs_file_open(&lfs, &file, "kitty", LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_exhaustion.toml29 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
111 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
202 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
291 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
376 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
Dtest_badblocks.toml38 LFS_O_WRONLY | LFS_O_CREAT) => 0;
112 LFS_O_WRONLY | LFS_O_CREAT) => 0;
185 LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_truncate.toml8 LFS_O_WRONLY | LFS_O_CREAT) => 0;
52 LFS_O_WRONLY | LFS_O_CREAT) => 0;
155 LFS_O_WRONLY | LFS_O_CREAT) => 0;
228 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
321 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
Dtest_evil.toml71 LFS_O_WRONLY | LFS_O_CREAT) => LFS_ERR_CORRUPT;
84 LFS_O_WRONLY | LFS_O_CREAT) => 0;
132 LFS_O_WRONLY | LFS_O_CREAT) => 0;
/littlefs-3.5.0-3.4.0/
Dlfs.h129 LFS_O_WRONLY = 2, // Open a file as write only enumerator
Dlfs.c2846 if ((flags & LFS_O_WRONLY) == LFS_O_WRONLY) {
2948 if ((file->flags & LFS_O_WRONLY) == LFS_O_WRONLY) {
3421 LFS_ASSERT((file->flags & LFS_O_WRONLY) == LFS_O_WRONLY);
3528 LFS_ASSERT((file->flags & LFS_O_WRONLY) == LFS_O_WRONLY);