Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/tests/
Dtest_entries.toml23 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
31 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
39 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
47 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
63 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;
140 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
156 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
[all …]
Dtest_alloc.toml25 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
78 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
131 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
193 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
238 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
283 lfs_file_open(&lfs, &file, "padding", LFS_O_WRONLY | LFS_O_CREAT);
293 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
342 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
362 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
373 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_WRONLY | LFS_O_CREAT);
[all …]
Dtest_move.toml11 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
92 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
173 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
269 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
424 LFS_O_WRONLY | LFS_O_CREAT) => 0;
971 lfs_file_open(&lfs, &file, "a/hello", LFS_O_CREAT | LFS_O_WRONLY) => 0;
1040 LFS_O_WRONLY | LFS_O_CREAT) => 0;
1044 LFS_O_WRONLY | LFS_O_CREAT) => 0;
1049 LFS_O_WRONLY | LFS_O_CREAT) => 0;
1054 LFS_O_WRONLY | LFS_O_CREAT) => 0;
[all …]
Dtest_attrs.toml8 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
89 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
169 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
184 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
197 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
208 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
220 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
232 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1)
279 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_WRONLY | LFS_O_CREAT) => 0;
297 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_WRONLY, &cfg1) => 0;
Dtest_files.toml9 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
36 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
79 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
109 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY) => 0;
164 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
194 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY | LFS_O_APPEND) => 0;
244 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
274 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY | LFS_O_TRUNC) => 0;
327 lfs_file_open(&lfs, &file, "avacado", LFS_O_WRONLY | LFS_O_CREAT) => 0;
393 LFS_O_WRONLY | LFS_O_CREAT | MODE) => 0;
[all …]
Dtest_interspersed.toml15 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
82 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
92 lfs_file_open(&lfs, &file, "zzz", LFS_O_WRONLY | LFS_O_CREAT) => 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;
213 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 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)
321 LFS_O_WRONLY | LFS_O_CREAT) => 0;
331 LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_superblocks.toml111 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
125 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
155 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
198 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
248 LFS_O_CREAT | LFS_O_EXCL | LFS_O_WRONLY) => 0;
303 LFS_O_CREAT | LFS_O_EXCL | LFS_O_WRONLY) => 0;
451 LFS_O_CREAT | LFS_O_EXCL | LFS_O_WRONLY) => 0;
Dtest_dirs.toml282 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
322 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
382 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
454 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0;
536 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
728 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
737 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => LFS_ERR_EXIST;
739 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => LFS_ERR_EXIST;
745 lfs_file_open(&lfs, &file, "tomato", LFS_O_WRONLY) => LFS_ERR_NOENT;
746 lfs_file_open(&lfs, &file, "potato", LFS_O_WRONLY) => LFS_ERR_ISDIR;
[all …]
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_powerloss.toml15 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
64 LFS_O_WRONLY | LFS_O_APPEND) => 0;
108 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
160 LFS_O_WRONLY | LFS_O_APPEND) => 0;
Dtest_seek.toml18 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
91 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
149 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
213 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_APPEND) => 0;
356 lfs_file_open(&lfs, &file, "kitty", LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_exhaustion.toml33 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
123 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
222 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
319 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
412 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
Dtest_badblocks.toml41 LFS_O_WRONLY | LFS_O_CREAT) => 0;
121 LFS_O_WRONLY | LFS_O_CREAT) => 0;
200 LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_truncate.toml12 LFS_O_WRONLY | LFS_O_CREAT) => 0;
63 LFS_O_WRONLY | LFS_O_CREAT) => 0;
178 LFS_O_WRONLY | LFS_O_CREAT) => 0;
262 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
365 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
Dtest_evil.toml77 LFS_O_WRONLY | LFS_O_CREAT) => LFS_ERR_CORRUPT;
92 LFS_O_WRONLY | LFS_O_CREAT) => 0;
144 LFS_O_WRONLY | LFS_O_CREAT) => 0;
Dtest_compat.toml45 #define LFSP_O_WRONLY LFS_O_WRONLY
486 lfs_file_open(&lfs, &file, name, LFS_O_WRONLY) => 0;
611 lfs_file_open(&lfs, &file, name, LFS_O_WRONLY) => 0;
795 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
883 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
1053 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
1173 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
1375 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
1426 lfs_file_open(&lfs, &file, "test", LFS_O_WRONLY | LFS_O_TRUNC) => 0;
/littlefs-3.7.0-3.6.0/benches/
Dbench_dir.toml21 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
86 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_TRUNC) => 0;
123 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
169 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
Dbench_file.toml18 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
72 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
Dbench_superblock.toml18 LFS_O_WRONLY | LFS_O_CREAT | LFS_O_EXCL) => 0;
/littlefs-3.7.0-3.6.0/
Dlfs.h129 LFS_O_WRONLY = 2, // Open a file as write only enumerator
Dlfs.c3017 if ((flags & LFS_O_WRONLY) == LFS_O_WRONLY) {
3119 if ((file->flags & LFS_O_WRONLY) == LFS_O_WRONLY) {
3594 LFS_ASSERT((file->flags & LFS_O_WRONLY) == LFS_O_WRONLY);
3701 LFS_ASSERT((file->flags & LFS_O_WRONLY) == LFS_O_WRONLY);